dotnet / dotnet/AspNetCore.Docs
ASP.NET Core 6.0 Documentation For IIS Out Of Date.
- Dominant language
- C#
- Stars
- 13.1k
- Forks
- 24.6k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 97
Description
Documentation for running [.NET 6 on IIS](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/?view=aspnetcore-6.0) is incomplete and out of date.
1. The documentation to install the hosting bundle points to the .NET 5 hosting bundle. Example: For example: https://docs.microsoft.com/en-us/aspnet/core/tutorials/publish-to-iis?view=aspnetcore-6.0&tabs=visual-studio
2. None of the documentation mentions web.config or how to wire up IIS to server the .NET Core module.
3. Separately finding the [web.config](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/iis/web-config?view=aspnetcore-6.0) documentation and using the configurations shown for previous versions of Dot Net Core after installing the correct .NET 6 hosting bundle does not appear to work.
Without a handler, the error `HTTP Error 403.14 - Forbidden The Web server is configured to not list the contents of this directory.` is shown
```xml
```
With a v2 handler specified the `HTTP Error 500.31 - Failed to load ASP.NET Core runtime` is shown

```xml
```
With a AspNetCoreModule handler specified the `HTTP Error 502.5 - Process Failure` is shown

```xml
```
---
#### Document Details
⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*
* ID: fe69b3a9-896f-e189-0c2c-f87ff735df9c
* Version Independent ID: 97c8549b-66ad-0a23-1971-784fb923042a
* Content: [ASP.NET Core Module](https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/aspnet-core-module?view=aspnetcore-6.0)
* Content Source: [aspnetcore/host-and-deploy/aspnet-core-module.md](https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/aspnet-core-module.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-hostdeploy**
* GitHub Login: @Rick-Anderson
* Microsoft Alias: **riande**
Contributor guide
Assessment
This issue has not been assessed yet.