Skip to content

Change default server for samples from IIS Express to Kestrel #27630

Closed
@captainsafia

Description

@captainsafia

Samples that use IIS Express in the repo don't work because they rely on a native component that hasn't been built. For example, MVC and Blazor samples don't work when run with IIS Express. There's no guidance we currently can give to users to get samples working with IIS Express.

Although we can invest time in addressing the build process for the samples so we ensure the native component is always built before the samples are run, a quick fix is to edit the launchSettings.json files for the samples so they all use Kestrel for the server.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedaffected-fewThis issue impacts only small number of customersarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsbugThis issue describes a behavior which is not expected - a bug.feature-platformDeprecated: Cross-cutting issues related to ASP.NET Core as a platformgood first issueGood for newcomers.help wantedUp for grabs. We would accept a PR to help resolve this issueseverity-nice-to-haveThis label is used by an internal tool

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions