commit
1e967523ec
|
@ -513,7 +513,7 @@ For more information, see [Configure stateful reconnect](xref:signalr/configurat
|
|||
|
||||
This section describes new features for minimal APIs. See also [the section on native AOT](#native-aot) for more information relevant to minimal APIs.
|
||||
|
||||
## User override culture
|
||||
### User override culture
|
||||
|
||||
Starting in ASP.NET Core 8.0, the [RequestLocalizationOptions.CultureInfoUseUserOverride](xref:Microsoft.AspNetCore.Builder.RequestLocalizationOptions.CultureInfoUseUserOverride) property allows the application to decide whether or not to use nondefault Windows settings for the <xref:System.Globalization.CultureInfo> <xref:System.Globalization.CultureInfo.DateTimeFormat> and <xref:System.Globalization.CultureInfo.NumberFormat> properties. This has no impact on Linux. This directly corresponds to <xref:System.Globalization.CultureInfo.UseUserOverride>.
|
||||
|
||||
|
@ -543,7 +543,7 @@ Binding from forms is now supported for:
|
|||
|
||||
For more information, see [Bind to collections and complex types from forms](xref:fundamentals/minimal-apis/parameter-binding#bindcc).
|
||||
|
||||
### Antiforgery with Minimal APIs
|
||||
### Antiforgery with minimal APIs
|
||||
|
||||
This release adds a middleware for validating antiforgery tokens, which are used to mitigate cross-site request forgery attacks. Call [AddAntiforgery](/dotnet/api/microsoft.extensions.dependencyinjection.antiforgeryservicecollectionextensions.addantiforgery) to register antiforgery services in DI. `WebApplicationBuilder` automatically adds the middleware when the antiforgery services have been registered in the DI container. Antiforgery tokens are used to mitigate [cross-site request forgery attacks](xref:security/anti-request-forgery).
|
||||
|
||||
|
|
Loading…
Reference in New Issue