Skip to content

Commit afff093

Browse files
committed
Updates
1 parent f734666 commit afff093

File tree

3 files changed

+2
-27
lines changed

3 files changed

+2
-27
lines changed

aspnetcore/blazor/components/index.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1843,8 +1843,6 @@ In the preceding code, the CSS selector, `#app`, indicates that the `App` compon
18431843

18441844
MVC and Razor Pages apps can also use the [Component Tag Helper](xref:Microsoft.AspNetCore.Mvc.TagHelpers.ComponentTagHelper) to register statically-rendered Blazor WebAssembly root components:
18451845

1846-
:::moniker range=">= aspnetcore-6.0"
1847-
18481846
```cshtml
18491847
<component type="typeof(App)" render-mode="WebAssemblyPrerendered" />
18501848
```
@@ -1853,22 +1851,9 @@ Statically-rendered components can only be added to the app. They can't be remov
18531851

18541852
For more information, see the following resources:
18551853

1856-
:::moniker-end
1857-
1858-
:::moniker range=">= aspnetcore-8.0"
1859-
18601854
* <xref:mvc/views/tag-helpers/builtin-th/component-tag-helper>
18611855
* <xref:blazor/components/integration>
18621856

1863-
:::moniker-end
1864-
1865-
:::moniker range=">= aspnetcore-6.0 < aspnetcore-8.0"
1866-
1867-
* <xref:mvc/views/tag-helpers/builtin-th/component-tag-helper>
1868-
* <xref:blazor/components/prerendering-and-integration>
1869-
1870-
:::moniker-end
1871-
18721857
<!--Reference links in article-->
18731858
[1]: <xref:mvc/views/razor#code>
18741859
[2]: <xref:mvc/views/razor#using>

aspnetcore/blazor/components/layouts.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -385,18 +385,8 @@ The following rendered HTML markup is produced by the preceding nested layout. E
385385

386386
## Share a Razor Pages layout with integrated components
387387

388-
:::moniker range=">= aspnetcore-8.0"
389-
390388
When routable components are integrated into a Razor Pages app, the app's shared layout can be used with the components. For more information, see <xref:blazor/components/integration>.
391389

392-
:::moniker-end
393-
394-
:::moniker range="< aspnetcore-8.0"
395-
396-
When routable components are integrated into a Razor Pages app, the app's shared layout can be used with the components. For more information, see <xref:blazor/components/prerendering-and-integration>.
397-
398-
:::moniker-end
399-
400390
:::moniker range=">= aspnetcore-8.0"
401391

402392
## Sections

aspnetcore/blazor/components/lifecycle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ To prevent developer code in <xref:Microsoft.AspNetCore.Components.ComponentBase
206206

207207
:::moniker range="< aspnetcore-8.0"
208208

209-
To prevent developer code in <xref:Microsoft.AspNetCore.Components.ComponentBase.OnInitializedAsync%2A> from running twice when prerendering, see the [Stateful reconnection after prerendering](#stateful-reconnection-after-prerendering) section. Although the content in the section focuses on Blazor Server and stateful SignalR *reconnection*, the scenario for prerendering in hosted Blazor WebAssembly solutions (<xref:Microsoft.AspNetCore.Mvc.Rendering.RenderMode.WebAssemblyPrerendered>) involves similar conditions and approaches to prevent executing developer code twice. To preserve state during the execution of initialization code while prerendering, see <xref:blazor/components/prerendering-and-integration#persist-prerendered-state>.
209+
To prevent developer code in <xref:Microsoft.AspNetCore.Components.ComponentBase.OnInitializedAsync%2A> from running twice when prerendering, see the [Stateful reconnection after prerendering](#stateful-reconnection-after-prerendering) section. Although the content in the section focuses on Blazor Server and stateful SignalR *reconnection*, the scenario for prerendering in hosted Blazor WebAssembly solutions (<xref:Microsoft.AspNetCore.Mvc.Rendering.RenderMode.WebAssemblyPrerendered>) involves similar conditions and approaches to prevent executing developer code twice. To preserve state during the execution of initialization code while prerendering, see <xref:blazor/components/integration#persist-prerendered-state>.
210210

211211
:::moniker-end
212212

@@ -612,7 +612,7 @@ The content in this section focuses on Blazor Web Apps and stateful SignalR *rec
612612

613613
:::moniker range="< aspnetcore-8.0"
614614

615-
Although the content in this section focuses on Blazor Server and stateful SignalR *reconnection*, the scenario for prerendering in hosted Blazor WebAssembly solutions (<xref:Microsoft.AspNetCore.Mvc.Rendering.RenderMode.WebAssemblyPrerendered>) involves similar conditions and approaches to prevent executing developer code twice. To preserve state during the execution of initialization code while prerendering, see <xref:blazor/components/prerendering-and-integration#persist-prerendered-state>.
615+
Although the content in this section focuses on Blazor Server and stateful SignalR *reconnection*, the scenario for prerendering in hosted Blazor WebAssembly solutions (<xref:Microsoft.AspNetCore.Mvc.Rendering.RenderMode.WebAssemblyPrerendered>) involves similar conditions and approaches to prevent executing developer code twice. To preserve state during the execution of initialization code while prerendering, see <xref:blazor/components/integration#persist-prerendered-state>.
616616

617617
:::moniker-end
618618

0 commit comments

Comments
 (0)