From 6a37df4ab80972a581a53601b0dd4453fa0308b1 Mon Sep 17 00:00:00 2001 From: Steve Dunn Date: Mon, 8 Dec 2025 12:16:51 +0000 Subject: [PATCH 1/3] Update blazor.md (#36458) --- aspnetcore/security/authentication/passkeys/blazor.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/security/authentication/passkeys/blazor.md b/aspnetcore/security/authentication/passkeys/blazor.md index cb115d7b53e1..84065cc811ee 100644 --- a/aspnetcore/security/authentication/passkeys/blazor.md +++ b/aspnetcore/security/authentication/passkeys/blazor.md @@ -187,7 +187,7 @@ dotnet ef database update ## Create passkey model classes -Add the following model classes to the project in the `Components/Account` folder with `BlazorWebCSharp._1.Components.Account` namespace updates for the app (for example: `Contoso.Components.Account`): +Add the following model classes to the project in the `Components/Account` folder and update the `BlazorWebCSharp._1.Components.Account` namespace to match the app (for example: `Contoso.Components.Account`): * [`Components/Account/PasskeyInputModel.cs`](https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Components/Account/PasskeyInputModel.cs): Holds the JSON passkey credential for passkey sign-in operations (`Login` component) and adding passkeys (`Passkeys` component). * [`Components/Account/PasskeyOperation.cs`](https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/BlazorWebCSharp.1/Components/Account/PasskeyOperation.cs): Defines the authentication action to be performed (`PassKeySubmit` component), either registering a new passkey (`Create`/0) or authenticating with an existing passkey (`Request`/1). From 7ac089935c67b388bb14f59d64675dd4e7398568 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Mon, 8 Dec 2025 13:50:30 -0500 Subject: [PATCH 2/3] Freshness review: Blazor Render Modes article (#36464) * Initial plan * Fix typo and add language spec to code block Co-authored-by: guardrex <1622880+guardrex@users.noreply.github.com> * Revert ms.date back to 11/11/2025 per review feedback Co-authored-by: guardrex <1622880+guardrex@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: guardrex <1622880+guardrex@users.noreply.github.com> --- aspnetcore/blazor/components/render-modes.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aspnetcore/blazor/components/render-modes.md b/aspnetcore/blazor/components/render-modes.md index 213a28e648b2..e29838d1325f 100644 --- a/aspnetcore/blazor/components/render-modes.md +++ b/aspnetcore/blazor/components/render-modes.md @@ -1,5 +1,6 @@ --- title: ASP.NET Core Blazor render modes +ai-usage: ai-assisted author: guardrex description: Learn about Blazor render modes and how to apply them in Blazor Web Apps. monikerRange: '>= aspnetcore-8.0' @@ -156,7 +157,7 @@ The component propagates i You also typically must set the same interactive render mode on the [`HeadOutlet` component](xref:blazor/components/control-head-content#headoutlet-component), which is also found in the `App` component of a Blazor Web App generated from the project template: -``` +```razor ``` @@ -173,7 +174,7 @@ To enable global interactivity when creating a Blazor Web App: For more information, see . -## Apply a render mode programatically +## Apply a render mode programmatically Properties and fields can assign a render mode. From 3688a867d166de527942916ec9972b9949111aa0 Mon Sep 17 00:00:00 2001 From: Muhammad Hassan Shafique <86214666+Code-With-Hassan@users.noreply.github.com> Date: Tue, 9 Dec 2025 00:43:51 +0500 Subject: [PATCH 3/3] Update minimal-apis.md (#36441) - Update old links to map views to latest version of aspnetcore. --- aspnetcore/fundamentals/minimal-apis.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/aspnetcore/fundamentals/minimal-apis.md b/aspnetcore/fundamentals/minimal-apis.md index de3a66a05c37..d06d8f1b449d 100644 --- a/aspnetcore/fundamentals/minimal-apis.md +++ b/aspnetcore/fundamentals/minimal-apis.md @@ -5,7 +5,7 @@ description: Provides an overview of Minimal APIs in ASP.NET Core ms.author: wpickett content_well_notification: AI-contribution monikerRange: '>= aspnetcore-6.0' -ms.date: 10/23/2025 +ms.date: 12/05/2025 uid: fundamentals/minimal-apis ai-usage: ai-assisted --- @@ -43,14 +43,14 @@ The following table lists some of the middleware frequently used with Minimal AP | Middleware | Description | API | |--|--|--| -| [Authentication](xref:security/authentication/index?view=aspnetcore-6.0) | Provides authentication support. | | +| [Authentication](xref:security/authentication/index) | Provides authentication support. | | | [Authorization](xref:security/authorization/introduction) | Provides authorization support. | | -| [CORS](xref:security/cors?view=aspnetcore-6.0) | Configures Cross-Origin Resource Sharing. | | -| [Exception Handler](xref:fundamentals/error-handling-api?view=aspnetcore-6.0) | Globally handles exceptions thrown by the middleware pipeline. | | -| [Forwarded Headers](xref:fundamentals/middleware/index?view=aspnetcore-6.0#forwarded-headers-middleware-order) | Forwards proxied headers onto the current request. | | -| [HTTPS Redirection](xref:security/enforcing-ssl?view=aspnetcore-6.0) | Redirects all HTTP requests to HTTPS. | | -| [HTTP Strict Transport Security (HSTS)](xref:fundamentals/middleware/index?view=aspnetcore-6.0#middleware-order) | Security enhancement middleware that adds a special response header. | | -| [Request Logging](xref:fundamentals/logging/index?view=aspnetcore-6.0) | Provides support for logging HTTP requests and responses. | | +| [CORS](xref:security/cors) | Configures Cross-Origin Resource Sharing. | | +| [Exception Handler](xref:fundamentals/error-handling-api) | Globally handles exceptions thrown by the middleware pipeline. | | +| [Forwarded Headers](xref:fundamentals/middleware/index#forwarded-headers-middleware-order) | Forwards proxied headers onto the current request. | | +| [HTTPS Redirection](xref:security/enforcing-ssl) | Redirects all HTTP requests to HTTPS. | | +| [HTTP Strict Transport Security (HSTS)](xref:fundamentals/middleware/index#middleware-order) | Security enhancement middleware that adds a special response header. | | +| [Request Logging](xref:fundamentals/logging/index) | Provides support for logging HTTP requests and responses. | | | [Request Timeouts](xref:performance/timeouts) | Provides support for configuring request timeouts, global default and per endpoint. | `UseRequestTimeouts` | | [W3C Request Logging](https://www.w3.org/TR/WD-logfile.html) | Provides support for logging HTTP requests and responses in the [W3C format](https://www.w3.org/TR/WD-logfile.html). | | | [Response Caching](xref:performance/caching/middleware) | Provides support for caching responses. | | @@ -301,14 +301,14 @@ allows unauthenticated users to access endpoints: ## CORS -Routes can be [CORS](xref:security/cors?view=aspnetcore-6.0) enabled using [CORS policies](xref:security/cors?view=aspnetcore-6.0#cors-policy-options). CORS can be declared via the [`[EnableCors]`](xref:Microsoft.AspNetCore.Cors.EnableCorsAttribute) attribute or by using the +Routes can be [CORS](xref:security/cors) enabled using [CORS policies](xref:security/cors#cors-policy-options). CORS can be declared via the [`[EnableCors]`](xref:Microsoft.AspNetCore.Cors.EnableCorsAttribute) attribute or by using the method. The following samples enable CORS: [!code-csharp[](~/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs?name=snippet_cors)] [!code-csharp[](~/fundamentals/minimal-apis/7.0-samples/WebMinAPIs/Program.cs?name=snippet_cors2)] -For more information, see +For more information, see ## ValidateScopes and ValidateOnBuild