Skip to content

Commit

Permalink
Hosting on IIS update (Stage 3B) (#5394)
Browse files Browse the repository at this point in the history
* Hosting on IIS update (Stage 3B)

Updates

Updates

* React to feedback

* React to feedback

* Add info on WebSockets and Win Auth

Update

Update

* React to feedback
  • Loading branch information
guardrex authored and Rick-Anderson committed Feb 15, 2018
1 parent a4505e8 commit 0a7424c
Show file tree
Hide file tree
Showing 5 changed files with 182 additions and 130 deletions.
4 changes: 2 additions & 2 deletions aspnetcore/fundamentals/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,9 @@ MachineName: ChadPC
Left: 1988
```

## The web.config file
## web.config file

A *web.config* file is required when hosting the app in IIS or IIS Express. Settings in *web.config* enable the [ASP.NET Core Module](xref:fundamentals/servers/aspnet-core-module) to launch the app and configure other IIS settings and modules. If the *web.config* file isn't present and the project file includes `<Project Sdk="Microsoft.NET.Sdk.Web">`, publishing the project creates a *web.config* file in the published output (the *publish* folder). For more information, see [Host ASP.NET Core on Windows with IIS](xref:host-and-deploy/iis/index#webconfig).
A *web.config* file is required when hosting the app in IIS or IIS Express. Settings in *web.config* enable the [ASP.NET Core Module](xref:fundamentals/servers/aspnet-core-module) to launch the app and configure other IIS settings and modules. If the *web.config* file isn't present and the project file includes `<Project Sdk="Microsoft.NET.Sdk.Web">`, publishing the project creates a *web.config* file in the published output (the *publish* folder). For more information, see [Host ASP.NET Core on Windows with IIS](xref:host-and-deploy/iis/index#webconfig-file).

## Accessing configuration during startup

Expand Down
2 changes: 1 addition & 1 deletion aspnetcore/host-and-deploy/aspnet-core-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The ASP.NET Core Module is configured via a site or application *web.config* fil
</configuration>
```

The *web.config* example below is for a [self-contained deployment](https://docs.microsoft.com/dotnet/articles/core/deploying/#self-contained-deployments-scd) to the [Azure App Service](https://azure.microsoft.com/services/app-service/). For more information, see [Host on Windows with IIS](xref:host-and-deploy/iis/index). See [Configuration of sub-applications](xref:host-and-deploy/iis/index#configuration-of-sub-applications) for an important note pertaining to the configuration of *web.config* files in sub-applications.
The *web.config* example below is for a [self-contained deployment](https://docs.microsoft.com/dotnet/articles/core/deploying/#self-contained-deployments-scd) to the [Azure App Service](https://azure.microsoft.com/services/app-service/). For more information, see [Host on Windows with IIS](xref:host-and-deploy/iis/index). See [Configuration of sub-applications](xref:host-and-deploy/iis/index#sub-application-configuration) for an important note pertaining to the configuration of *web.config* files in sub-applications.

```xml
<configuration>
Expand Down
Loading

0 comments on commit 0a7424c

Please sign in to comment.