Skip to content

Commit ed41f2d

Browse files
committed
fix errors
1 parent a06787d commit ed41f2d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

aspnetcore/performance/caching/hybrid.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ dotnet add package Microsoft.Extensions.Caching.Hybrid --version "9.0.0-preview.
2929

3030
## Register the service
3131

32-
Add the `HybridCache` service to the [dependency injection (DI)](xref:fundamentals/dependency-injection) container by calling [`AddHybridCache`](xref:Microsoft.Extensions.DependencyInjection.HybridCacheServiceExtensions.AddHybridCache):
32+
Add the `HybridCache` service to the [dependency injection (DI)](xref:fundamentals/dependency-injection) container by calling <xref:Microsoft.Extensions.DependencyInjection.HybridCacheServiceExtensions.AddHybridCache%2A>:
3333

3434
:::code language="csharp" source="~/performance/caching/hybrid/samples/9.x/HCMinimal/Program.cs" id="snippet_noconfig" highlight="7":::
3535

@@ -154,7 +154,7 @@ The following properties of `HybridCacheOptions` let you configure limits that a
154154

155155
## Serialization
156156

157-
Use of a secondary, out-of-process cache requires serialization. Serialization is configured as part of registering the `HybridCache` service. Type-specific and general-purpose serializers can be configured via the [`AddSerializer`](xref:Microsoft.Extensions.DependencyInjection.HybridCacheBuilderExtensions.AddSerializer) and [`AddSerializerFactory`](xref:Microsoft.Extensions.DependencyInjection.HybridCacheBuilderExtensions.AddSerializerFactory) methods, chained from the `AddHybridCache` call. By default, the library
157+
Use of a secondary, out-of-process cache requires serialization. Serialization is configured as part of registering the `HybridCache` service. Type-specific and general-purpose serializers can be configured via the <xref:Microsoft.Extensions.DependencyInjection.HybridCacheBuilderExtensions.AddSerializer%2A> and <xref:Microsoft.Extensions.DependencyInjection.HybridCacheBuilderExtensions.AddSerializerFactory%2A> methods, chained from the `AddHybridCache` call. By default, the library
158158
handles `string` and `byte[]` internally, and uses `System.Text.Json` for everything else. `HybridCache` can also use other serializers, such as protobuf or XML.
159159

160160
The following example configures the service to use a type-specific protobuf serializer:

aspnetcore/release-notes/aspnetcore-8.0.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ ASP.NET Core 8 adds new features to authentication and authorization.
781781

782782
### Identity API endpoints
783783

784-
[`MapIdentityApi<TUser>`](xref:Microsoft.AspNetCore.Routing.IdentityApiEndpointRouteBuilderExtensions.MapIdentityApi) is a new extension method that adds two API endpoints (`/register` and `/login`). The main goal of the `MapIdentityApi` is to make it easy for developers to use ASP.NET Core Identity for authentication in JavaScript-based single page apps (SPA) or Blazor apps. Instead of using the default UI provided by ASP.NET Core Identity, which is based on Razor Pages, MapIdentityApi adds JSON API endpoints that are more suitable for SPA apps and nonbrowser apps. For more information, see [Identity API endpoints](https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-4/#identity-api-endpoints).
784+
[`MapIdentityApi<TUser>`](xref:Microsoft.AspNetCore.Routing.IdentityApiEndpointRouteBuilderExtensions.MapIdentityApi%2A) is a new extension method that adds two API endpoints (`/register` and `/login`). The main goal of the `MapIdentityApi` is to make it easy for developers to use ASP.NET Core Identity for authentication in JavaScript-based single page apps (SPA) or Blazor apps. Instead of using the default UI provided by ASP.NET Core Identity, which is based on Razor Pages, MapIdentityApi adds JSON API endpoints that are more suitable for SPA apps and nonbrowser apps. For more information, see [Identity API endpoints](https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-4/#identity-api-endpoints).
785785
786786
### IAuthorizationRequirementData
787787

@@ -959,7 +959,7 @@ Metrics have been added for ASP.NET Core hosting, Kestrel, and SignalR. For more
959959

960960
[IExceptionHandler](xref:Microsoft.AspNetCore.Diagnostics.IExceptionHandler) is a new interface that gives the developer a callback for handling known exceptions in a central location.
961961

962-
`IExceptionHandler` implementations are registered by calling [`IServiceCollection.AddExceptionHandler<T>`](xref:Microsoft.Extensions.DependencyInjection.ExceptionHandlerServiceCollectionExtensions.AddExceptionHandler). Multiple implementations can be added, and they're called in the order registered. If an exception handler handles a request, it can return `true` to stop processing. If an exception isn't handled by any exception handler, then control falls back to the default behavior and options from the middleware.
962+
`IExceptionHandler` implementations are registered by calling [`IServiceCollection.AddExceptionHandler<T>`](xref:Microsoft.Extensions.DependencyInjection.ExceptionHandlerServiceCollectionExtensions.AddExceptionHandler%2A). Multiple implementations can be added, and they're called in the order registered. If an exception handler handles a request, it can return `true` to stop processing. If an exception isn't handled by any exception handler, then control falls back to the default behavior and options from the middleware.
963963

964964
For more information, see [IExceptionHandler](xref:fundamentals/error-handling#iexceptionhandler).
965965

aspnetcore/release-notes/aspnetcore-9/includes/opt_out_metrics.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
HTTP requests to an endpoint can be excluded from metrics by adding metadata. Either:
66

77
* Add the [`[DisableHttpMetrics]`](xref:Microsoft.AspNetCore.Http.DisableHttpMetricsAttribute) attribute to the Web API controller, SignalR hub or gRPC service.
8-
* Call [DisableHttpMetrics](xref:Microsoft.AspNetCore.Builder.HttpMetricsEndpointConventionBuilderExtensions.DisableHttpMetrics) when mapping endpoints in app startup:
8+
* Call <xref:Microsoft.AspNetCore.Builder.HttpMetricsEndpointConventionBuilderExtensions.DisableHttpMetrics%2A> when mapping endpoints in app startup:
99

1010
:::code language="csharp" source="~/release-notes/aspnetcore-9/samples/Metrics/Program.cs" id="snippet_1" highlight="5":::
1111

aspnetcore/security/anti-request-forgery.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ Consider the following sample:
302302
In the preceding code, posts to:
303303

304304
* `/todo` require a valid antiforgery token.
305-
* `/todo2` do ***not*** require a valid antiforgery token because [`DisableAntiforgery`](xref:Microsoft.AspNetCore.Builder.RoutingEndpointConventionBuilderExtensions.DisableAntiforgery) is called.
305+
* `/todo2` do ***not*** require a valid antiforgery token because <xref:Microsoft.AspNetCore.Builder.RoutingEndpointConventionBuilderExtensions.DisableAntiforgery%2A> is called.
306306

307307
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/fundamentals/minimal-apis/samples/MyAntiForgery/Program.cs" id="snippet_post":::
308308

0 commit comments

Comments
 (0)