Skip to content

Commit d5940b4

Browse files
authored
NOTE on using a custom web.config
1 parent 03d5ee7 commit d5940b4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

aspnetcore/blazor/hosting-model-configuration.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn about Blazor hosting model configuration, including how to in
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
8-
ms.date: 04/02/2020
8+
ms.date: 04/07/2020
99
no-loc: [Blazor, SignalR]
1010
uid: blazor/hosting-model-configuration
1111
---
@@ -45,6 +45,9 @@ In the following example for IIS, add the custom header to the published *web.co
4545
</configuration>
4646
```
4747

48+
> [!NOTE]
49+
> To use a custom *web.config* file for IIS that isn't overwritten when the app is published to the *publish* folder, see <xref:host-and-deploy/blazor/webassembly#use-a-custom-webconfig>.
50+
4851
Obtain the app's environment in a component by injecting `IWebAssemblyHostEnvironment` and reading the `Environment` property:
4952

5053
```razor

0 commit comments

Comments
 (0)