Skip to content

Commit a6730aa

Browse files
Merge pull request #33984 from dotnet/main
Merge to Live
2 parents 7e970a8 + 4280167 commit a6730aa

File tree

27 files changed

+806
-782
lines changed

27 files changed

+806
-782
lines changed

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
{
22
"redirections": [
33
{
44
"source_path": "aspnetcore/web-api/microsoft.dotnet-openapi.md",
@@ -10,6 +10,11 @@
1010
"redirect_url": "/aspnet/core/fundamentals/openapi/aspnetcore-openapi",
1111
"redirect_document_id": false
1212
},
13+
{
14+
"source_path": "aspnetcore/fundamentals/openapi/buildtime-openapi.md",
15+
"redirect_url": "/aspnet/core/fundamentals/openapi/aspnetcore-openapi#generate-openapi-documents-at- build-time",
16+
"redirect_document_id": false
17+
},
1318
{
1419
"source_path": "aspnetcore/security/authentication/samples.md",
1520
"redirect_url": "/aspnet/core/security/authorization/introduction",

aspnetcore/blazor/components/quickgrid.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ The <xref:Microsoft.AspNetCore.Components.QuickGrid.GridItemsProvider%601> conve
313313
```razor
314314
@page "/food-recalls"
315315
@inject HttpClient Http
316-
@inject NavigationManager NavManager
316+
@inject NavigationManager Navigation
317317
318318
<PageTitle>Food Recalls</PageTitle>
319319
@@ -332,14 +332,14 @@ The <xref:Microsoft.AspNetCore.Components.QuickGrid.GridItemsProvider%601> conve
332332
<p>Total: <strong>@numResults results found</strong></p>
333333
334334
@code {
335-
GridItemsProvider<FoodRecall>? foodRecallProvider;
336-
int numResults;
335+
private GridItemsProvider<FoodRecall>? foodRecallProvider;
336+
private int numResults;
337337
338338
protected override async Task OnInitializedAsync()
339339
{
340340
foodRecallProvider = async req =>
341341
{
342-
var url = NavManager.GetUriWithQueryParameters(
342+
var url = Navigation.GetUriWithQueryParameters(
343343
"https://api.fda.gov/food/enforcement.json",
344344
new Dictionary<string, object?>
345345
{

aspnetcore/blazor/components/render-modes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ The `Shared` folder maintains the `AccountLayout` layout component. The componen
688688
```razor
689689
@inherits LayoutComponentBase
690690
@layout BlazorSample.Components.Layout.MainLayout
691-
@inject NavigationManager NavigationManager
691+
@inject NavigationManager Navigation
692692
693693
@if (HttpContext is null)
694694
{
@@ -707,7 +707,7 @@ else
707707
{
708708
if (HttpContext is null)
709709
{
710-
NavigationManager.Refresh(forceReload: true);
710+
Navigation.Refresh(forceReload: true);
711711
}
712712
}
713713
}
@@ -756,7 +756,7 @@ The app has a custom layout that can be applied to components around the app. Us
756756
```razor
757757
@inherits LayoutComponentBase
758758
@layout MainLayout
759-
@inject NavigationManager NavigationManager
759+
@inject NavigationManager Navigation
760760
761761
@if (HttpContext is null)
762762
{
@@ -775,7 +775,7 @@ else
775775
{
776776
if (HttpContext is null)
777777
{
778-
NavigationManager.Refresh(forceReload: true);
778+
Navigation.Refresh(forceReload: true);
779779
}
780780
}
781781
}

aspnetcore/blazor/fundamentals/index.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -178,22 +178,6 @@ Documentation sample apps are available for inspection and download:
178178

179179
Locate a sample app by first selecting the version folder that matches the version of .NET that you're working with.
180180

181-
:::moniker range=">= aspnetcore-8.0"
182-
183-
Samples apps in the repository:
184-
185-
* Blazor Web App
186-
* Blazor WebAssembly
187-
* Blazor Web App with EF Core (<xref:blazor/blazor-ef-core>)
188-
* Blazor Web App with SignalR (<xref:blazor/tutorials/signalr-blazor>)
189-
* Two Blazor Web Apps and a Blazor WebAssembly app for calling web (server) APIs (<xref:blazor/call-web-api>)
190-
* Blazor Web App with OIDC (BFF and non-BFF patterns) (<xref:blazor/security/blazor-web-app-oidc>)
191-
* Blazor WebAssembly scopes-enabled logging (<xref:blazor/fundamentals/logging#client-side-log-scopes>)
192-
* Blazor WebAssembly with ASP.NET Core Identity (<xref:blazor/security/webassembly/standalone-with-identity>)
193-
* .NET MAUI Blazor Hybrid app with a Blazor Web App and a shared UI provided by a Razor class library (RCL) (<xref:blazor/hybrid/tutorials/maui-blazor-web-app>)
194-
195-
:::moniker-end
196-
197181
:::moniker range="< aspnetcore-8.0"
198182

199183
The sample repo contains two types of samples:
@@ -206,7 +190,7 @@ The sample repo contains two types of samples:
206190

207191
:::moniker-end
208192

209-
For more information, see the [Blazor samples GitHub repository README.md file](https://github.com/dotnet/blazor-samples).
193+
For more information and a list of the samples in the repository, see the [Blazor samples GitHub repository README.md file](https://github.com/dotnet/blazor-samples).
210194

211195
The ASP.NET Core repository's Basic Test App is also a helpful set of samples for various Blazor scenarios:
212196

aspnetcore/blazor/security/webassembly/hosted-with-identity-server.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ The following services are registered.
133133
.AddEntityFrameworkStores<ApplicationDbContext>();
134134
```
135135

136+
[!INCLUDE[](~/blazor/security/includes/secure-authentication-flows.md)]
137+
136138
* Identity Server with an additional <xref:Microsoft.Extensions.DependencyInjection.IdentityServerBuilderConfigurationExtensions.AddApiAuthorization%2A> helper method that sets up default ASP.NET Core conventions on top of Identity Server:
137139

138140
```csharp

0 commit comments

Comments
 (0)