Skip to content

Commit f734666

Browse files
committed
Updates
1 parent 705c9aa commit f734666

File tree

17 files changed

+31
-35
lines changed

17 files changed

+31
-35
lines changed

.openpublishing.redirection.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@
11171117
},
11181118
{
11191119
"source_path": "aspnetcore/blazor/integrate-components.md",
1120-
"redirect_url": "/aspnet/core/blazor/components/prerendering-and-integration",
1120+
"redirect_url": "/aspnet/core/blazor/components/integration",
11211121
"redirect_document_id": false
11221122
},
11231123
{
@@ -1157,7 +1157,7 @@
11571157
},
11581158
{
11591159
"source_path": "aspnetcore/blazor/components/integrate-components-into-razor-pages-and-mvc-apps.md",
1160-
"redirect_url": "/aspnet/core/blazor/components/prerendering-and-integration",
1160+
"redirect_url": "/aspnet/core/blazor/components/integration",
11611161
"redirect_document_id": false
11621162
},
11631163
{
@@ -1319,8 +1319,8 @@
13191319
"redirect_document_id": false
13201320
},
13211321
{
1322-
"source_path": "aspnetcore/blazor/components/integration.md",
1323-
"redirect_url": "/aspnet/core/blazor/components/prerendering-and-integration",
1322+
"source_path": "aspnetcore/blazor/components/prerendering-and-integration.md",
1323+
"redirect_url": "/aspnet/core/blazor/components/integration",
13241324
"redirect_document_id": false
13251325
}
13261326
]

aspnetcore/blazor/components/prerendering-and-integration.md renamed to aspnetcore/blazor/components/integration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Prerender and integrate ASP.NET Core Razor components
2+
title: Integrate ASP.NET Core Razor components
33
author: guardrex
44
description: Learn about Razor component integration scenarios for Blazor apps, including prerendering of Razor components on the server.
55
monikerRange: '>= aspnetcore-3.1'
66
ms.author: riande
77
ms.custom: mvc
88
ms.date: 02/09/2024
9-
uid: blazor/components/prerendering-and-integration
9+
uid: blazor/components/integration
1010
zone_pivot_groups: blazor-hosting-models
1111
---
1212
# Prerender and integrate ASP.NET Core Razor components

aspnetcore/blazor/fundamentals/signalr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ If prerendering is configured, prerendering occurs before the client connection
156156
If prerendering is configured, prerendering occurs before the client connection to the server is established. For more information, see the following articles:
157157

158158
* <xref:mvc/views/tag-helpers/builtin-th/component-tag-helper>
159-
* <xref:blazor/components/prerendering-and-integration>
159+
* <xref:blazor/components/integration>
160160

161161
:::moniker-end
162162

aspnetcore/blazor/host-and-deploy/multiple-hosted-webassembly.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The preceding configurations are beyond the scope of this article. For more info
6666

6767
* [Host and deploy articles](xref:host-and-deploy/index)
6868
* <xref:security/enforcing-ssl>
69-
* <xref:blazor/components/prerendering-and-integration?pivots=webassembly>
69+
* <xref:blazor/components/integration?pivots=webassembly>
7070

7171
Use an existing hosted Blazor WebAssembly [solution](xref:blazor/tooling#visual-studio-solution-file-sln) or create a [new hosted Blazor WebAssembly solution](xref:blazor/tooling) from the Blazor WebAssembly project template by passing the `-ho|--hosted` option if using the .NET CLI or selecting the **ASP.NET Core Hosted** checkbox in Visual Studio when the project is created in the IDE.
7272

@@ -453,7 +453,7 @@ public class HomeController : Controller
453453
> [!NOTE]
454454
> The preceding `Index` view is a minimal example purely for demonstration purposes. If the app requires additional MVC assets, such as a layout, styles, scripts, and imports, obtain them from an app created from the MVC project template. For more information, see <xref:tutorials/first-mvc-app/start-mvc>.
455455
456-
For more information on using the Razor components from either of the client apps in pages or views of the server app, see <xref:blazor/components/prerendering-and-integration?pivots=webassembly>.
456+
For more information on using the Razor components from either of the client apps in pages or views of the server app, see <xref:blazor/components/integration?pivots=webassembly>.
457457

458458
## Run the app
459459

aspnetcore/blazor/includes/prerendering.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
:::moniker range="< aspnetcore-8.0"
1111

12-
*This section applies to server-side apps and hosted Blazor WebAssembly apps that prerender Razor components. Prerendering is covered in <xref:blazor/components/prerendering-and-integration>.*
12+
*This section applies to server-side apps and hosted Blazor WebAssembly apps that prerender Razor components. Prerendering is covered in <xref:blazor/components/integration>.*
1313

1414
:::moniker-end
1515

aspnetcore/blazor/security/index.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,16 @@ Security scenarios differ between authorization code running server-side and cli
2020

2121
If authorization rule enforcement must be guaranteed, don't implement authorization checks in client-side code. Build a Blazor Web App that only relies on server-side rendering (SSR) for authorization checks and rule enforcement.
2222

23-
[Razor Pages authorization conventions](xref:security/authorization/razor-pages-authorization) don't apply to routable Razor components. If a non-routable Razor component is [embedded in a page of a Razor Pages app](xref:blazor/components/integration), the page's authorization conventions indirectly affect the Razor component along with the rest of the page's content.
24-
2523
:::moniker-end
2624

2725
:::moniker range="< aspnetcore-8.0"
2826

2927
If authorization rule enforcement and the security of data and code must be guaranteed, don't develop a client-side app. Build a Blazor Server app.
3028

31-
[Razor Pages authorization conventions](xref:security/authorization/razor-pages-authorization) don't apply to routable Razor components. If a non-routable Razor component is [embedded in a page of a Razor Pages app](xref:blazor/components/prerendering-and-integration), the page's authorization conventions indirectly affect the Razor component along with the rest of the page's content.
32-
3329
:::moniker-end
3430

31+
[Razor Pages authorization conventions](xref:security/authorization/razor-pages-authorization) don't apply to routable Razor components. If a non-routable Razor component is [embedded in a page of a Razor Pages app](xref:blazor/components/integration), the page's authorization conventions indirectly affect the Razor component along with the rest of the page's content.
32+
3533
:::moniker range="< aspnetcore-8.0"
3634

3735
ASP.NET Core Identity is designed to work in the context of HTTP request and response communication, which generally isn't the Blazor app client-server communication model. ASP.NET Core apps that use ASP.NET Core Identity for user management should use Razor Pages instead of Razor components for Identity-related UI, such as user registration, login, logout, and other user management tasks. Building Razor components that directly handle Identity tasks is possible for several scenarios but isn't recommended or supported by Microsoft.

aspnetcore/blazor/security/webassembly/additional-scenarios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ To configure a Blazor WebAssembly app to use the [ASP.NET Core gRPC framework](x
12831283
:::moniker range="< aspnetcore-8.0"
12841284

12851285
> [!NOTE]
1286-
> Prerendering is enabled by default in hosted Blazor WebAssembly apps, so you must account for the component rendering first from the server and then from the client. Any prerendered state should flow to the client so that it can be reused. For more information, see <xref:blazor/components/prerendering-and-integration?pivots=webassembly#persist-prerendered-state>.
1286+
> Prerendering is enabled by default in hosted Blazor WebAssembly apps, so you must account for the component rendering first from the server and then from the client. Any prerendered state should flow to the client so that it can be reused. For more information, see <xref:blazor/components/integration?pivots=webassembly#persist-prerendered-state>.
12871287

12881288
:::moniker-end
12891289

aspnetcore/blazor/security/webassembly/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ For examples, see the following resources:
220220

221221
:::moniker range="< aspnetcore-8.0"
222222

223-
[Prerendering](xref:blazor/components/prerendering-and-integration) isn't supported for authentication endpoints (`/authentication/` path segment).
223+
[Prerendering](xref:blazor/components/integration) isn't supported for authentication endpoints (`/authentication/` path segment).
224224

225225
:::moniker-end
226226

aspnetcore/migration/30-to-31.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ ASP.NET Core 3.1 introduces a `Component` Tag Helper. The Tag Helper can replace
112112
+ <component type="typeof(Counter)" render-mode="ServerPrerendered" param-IncrementAmount="10" />
113113
```
114114

115-
For more information, see <xref:blazor/components/prerendering-and-integration?view=aspnetcore-3.1&preserve-view=true>.
115+
For more information, see <xref:blazor/components/integration?view=aspnetcore-3.1&preserve-view=true>.
116116

117117
## ASP.NET Core Module (ANCM)
118118

aspnetcore/mvc/views/tag-helpers/built-in/component-tag-helper.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ Follow the guidance in the *Use non-routable components in pages or views* secti
2424

2525
Follow the guidance in the *Configuration* section for either:
2626

27-
* [Blazor Server](xref:blazor/components/prerendering-and-integration?pivots=server): Integrate routable and non-routable Razor components into Razor Pages and MVC apps.
28-
* [Blazor WebAssembly](xref:blazor/components/prerendering-and-integration?pivots=webassembly): Integrate Razor components from a hosted Blazor WebAssembly solution into Razor Pages and MVC apps.
27+
* [Blazor Server](xref:blazor/components/integration?pivots=server): Integrate routable and non-routable Razor components into Razor Pages and MVC apps.
28+
* [Blazor WebAssembly](xref:blazor/components/integration?pivots=webassembly): Integrate Razor components from a hosted Blazor WebAssembly solution into Razor Pages and MVC apps.
2929

3030
:::moniker-end
3131

3232
:::moniker range="< aspnetcore-5.0"
3333

34-
Follow the guidance in the *Configuration* section of the <xref:blazor/components/prerendering-and-integration?pivots=server> article.
34+
Follow the guidance in the *Configuration* section of the <xref:blazor/components/integration?pivots=server> article.
3535

3636
:::moniker-end
3737

@@ -343,7 +343,7 @@ The preceding example assumes that the `ParameterComponent` component is in the
343343
:::moniker range=">= aspnetcore-6.0 < aspnetcore-8.0"
344344

345345
* <xref:mvc/views/tag-helpers/builtin-th/persist-component-state-tag-helper>
346-
* <xref:blazor/components/prerendering-and-integration>
346+
* <xref:blazor/components/integration>
347347
* <xref:Microsoft.AspNetCore.Mvc.TagHelpers.ComponentTagHelper>
348348
* <xref:mvc/views/tag-helpers/intro>
349349
* <xref:blazor/components/index>
@@ -352,7 +352,7 @@ The preceding example assumes that the `ParameterComponent` component is in the
352352

353353
:::moniker range="< aspnetcore-6.0"
354354

355-
* <xref:blazor/components/prerendering-and-integration>
355+
* <xref:blazor/components/integration>
356356
* <xref:Microsoft.AspNetCore.Mvc.TagHelpers.ComponentTagHelper>
357357
* <xref:mvc/views/tag-helpers/intro>
358358
* <xref:blazor/components/index>

0 commit comments

Comments
 (0)