Skip to content

Commit b958d26

Browse files
authored
Blazor app pool guidance (#24235)
1 parent 6b78458 commit b958d26

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

aspnetcore/blazor/host-and-deploy/index.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ Publish locations:
5252

5353
The assets in the folder are deployed to the web server. Deployment might be a manual or automated process depending on the development tools in use.
5454

55+
## IIS Application Pools
56+
57+
Sharing an app pool among ASP.NET Core apps isn't supported, including for Blazor apps. Use one app pool per app when hosting with IIS, and avoid the use of IIS's [virtual directories](/iis/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis#virtual-directories) for hosting multiple apps.
58+
59+
One or more Blazor WebAssembly apps hosted by an ASP.NET Core app, known as a [hosted Blazor WebAssembly solution](xref:blazor/hosting-models#blazor-webassembly), are supported for ***one*** app pool. However, we don't recommend or support assigning a single app pool to multiple hosted Blazor WebAssembly solutions or in sub-app hosting scenarios. For more information, see <xref:host-and-deploy/iis/advanced#sub-applications>.
60+
5561
## App base path
5662

5763
The *app base path* is the app's root URL path. Consider the following ASP.NET Core app and Blazor sub-app:
@@ -211,6 +217,12 @@ Publish locations:
211217

212218
The assets in the folder are deployed to the web server. Deployment might be a manual or automated process depending on the development tools in use.
213219

220+
## IIS Application Pools
221+
222+
Sharing an app pool among ASP.NET Core apps isn't supported, including for Blazor apps. Use one app pool per app when hosting with IIS, and avoid the use of IIS's [virtual directories](/iis/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis#virtual-directories) for hosting multiple apps.
223+
224+
One or more Blazor WebAssembly apps hosted by an ASP.NET Core app, known as a [hosted Blazor WebAssembly solution](xref:blazor/hosting-models#blazor-webassembly), are supported for ***one*** app pool. However, we don't recommend or support assigning a single app pool to multiple hosted Blazor WebAssembly solutions or in sub-app hosting scenarios. For more information, see <xref:host-and-deploy/iis/advanced#sub-applications>.
225+
214226
## App base path
215227

216228
The *app base path* is the app's root URL path. Consider the following ASP.NET Core app and Blazor sub-app:
@@ -350,6 +362,12 @@ Publish locations:
350362

351363
The assets in the folder are deployed to the web server. Deployment might be a manual or automated process depending on the development tools in use.
352364

365+
## IIS Application Pools
366+
367+
Sharing an app pool among ASP.NET Core apps isn't supported, including for Blazor apps. Use one app pool per app when hosting with IIS, and avoid the use of IIS's [virtual directories](/iis/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis#virtual-directories) for hosting multiple apps.
368+
369+
One or more Blazor WebAssembly apps hosted by an ASP.NET Core app, known as a [hosted Blazor WebAssembly solution](xref:blazor/hosting-models#blazor-webassembly), are supported for ***one*** app pool. However, we don't recommend or support assigning a single app pool to multiple hosted Blazor WebAssembly solutions or in sub-app hosting scenarios. For more information, see <xref:host-and-deploy/iis/advanced#sub-applications>.
370+
353371
## App base path
354372

355373
The *app base path* is the app's root URL path. Consider the following ASP.NET Core app and Blazor sub-app:

aspnetcore/host-and-deploy/iis/web-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ The <xref:System.Configuration.SectionInformation.InheritInChildApplications%2A>
9090

9191
When an app is deployed to [Azure App Service](https://azure.microsoft.com/services/app-service/), the `stdoutLogFile` path is set to `\\?\%home%\LogFiles\stdout`. The path saves stdout logs to the `LogFiles` folder, which is a location automatically created by the service.
9292

93-
For information on IIS sub-application configuration, see <xref:host-and-deploy/iis/index#sub-applications>.
93+
For information on IIS sub-application configuration, see <xref:host-and-deploy/iis/advanced#sub-applications>.
9494

9595
### Attributes of the `aspNetCore` element
9696

0 commit comments

Comments
 (0)