dotnet / dotnet/aspnetcore

Samples do not work due to IIS InProcess

Open
#7,765 6 comments 0 reactions 0 assignees View on GitHub
affected-few area-networking severity-minor task
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

Since InProcess became the default mode many of the samples in this repo have stopped working with `500.0 - ANCM In-Process Handler Load Failure`. Adding `OutOfProcess` to their csproj makes them work again.

Some of these projects don't have a reference to `Microsoft.AspNetCore.Server.IIS` nor call `UseIIS()`, but adding those is not enough.

The NativeIISSample is the only one I've seen that still works and that's because it heavily customized the launch settings.

Ideally any customizations needed to make InProcess work in this repo would be consolidated to some shared source dependency we could reference from all of the samples.

@pakrym @jkotalik

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.