dotnet / dotnet/AspNetCore.Docs

"Publish an ASP.NET Core app to IIS" is missing configuration information

Open
#31,923 3 comments 0 reactions 0 assignees View on GitHub
aspnet-core/svc Source - Docs.ms tutorials/subsvc
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

### Description

The tutorial on below mentioned page implies that there is no configuration necessary in the `web.config` configuration file in order to run an ASP.NET Core app in IIS.

Moreover, the following pages also don't give any information on the mandatory configuration settings required to run an ASP.NET Core app in IIS:

- [https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/iis/index.md)
- [https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/advanced](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/iis/advanced.md)

AFAIK, setting some configuration keys is mandatory to successfully run an ASP.NET Core app in IIS. But these are not documented yet.

Please add the missing information, including explanation of the necessary keys and their values, to any of these pages.

### Page URL

https://learn.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-8.0&tabs=visual-studio#additional-resources

### Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/publish-to-iis.md

### Document ID

51273790-5178-875b-010e-15d7725da535

### Article author

@Rick-Anderson

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.