Skip to content

Commit 481d522

Browse files
authored
Add section on middleware by app type (#34383)
1 parent d7187b5 commit 481d522

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

aspnetcore/fundamentals/middleware/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ Request delegates are configured using <xref:Microsoft.AspNetCore.Builder.RunExt
2727

2828
<xref:migration/http-modules> explains the difference between request pipelines in ASP.NET Core and ASP.NET 4.x and provides additional middleware samples.
2929

30+
## The role of middleware by app type
31+
32+
Blazor Web Apps, Razor Pages, and MVC process browser requests on the server with middleware. The guidance in this article applies to these types of apps.
33+
34+
Standalone Blazor WebAssembly apps run entirely on the client and don't process requests with a middleware pipeline. The guidance in this article doesn't apply to standalone Blazor WebAssembly apps.
35+
3036
## Middleware code analysis
3137

3238
ASP.NET Core includes many compiler platform analyzers that inspect application code for quality. For more information, see <xref:diagnostics/code-analysis>

aspnetcore/fundamentals/middleware/index/includes/index3-7.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ Request delegates are configured using <xref:Microsoft.AspNetCore.Builder.RunExt
1313

1414
<xref:migration/http-modules> explains the difference between request pipelines in ASP.NET Core and ASP.NET 4.x and provides additional middleware samples.
1515

16+
## The role of middleware by app type
17+
18+
Razor Pages, MVC, Blazor Server, and the server-side project of a hosted Blazor WebAssembly solution process browser requests on the server with middleware. The guidance in this article applies to these types of apps.
19+
20+
Standalone Blazor WebAssembly apps run entirely on the client and don't process requests with a middleware pipeline. The guidance in this article doesn't apply to standalone Blazor WebAssembly apps.
21+
1622
## Middleware code analysis
1723

1824
ASP.NET Core includes many compiler platform analyzers that inspect application code for quality. For more information, see <xref:diagnostics/code-analysis>

0 commit comments

Comments
 (0)