Class ServerLocalizationSettings
- Namespace
- BlazOrbit.Localization.Server
- Assembly
- BlazOrbit.Localization.Server.dll
Server-side localization settings. Adds the cookie name used by
CookieRequestCultureProvider to persist the selected culture across requests
and the path of the BlazOrbit culture-setting endpoint.
public class ServerLocalizationSettings : LocalizationSettings
- Inheritance
-
objectServerLocalizationSettings
- Inherited Members
Constructors
ServerLocalizationSettings()
public ServerLocalizationSettings()
Properties
CultureCookieName
Cookie name used by the request-localization middleware. Default: .BlazOrbit.Culture.
public string CultureCookieName { get; set; }
Property Value
- string
CultureEndpointPath
Path of the BlazOrbit culture-setting endpoint registered by
CultureEndpointStartupFilter. Default: /BlazOrbit/Culture/Set —
prefixed with /BlazOrbit to minimize collisions with consumer routes
(a plain /Culture/Set is a likely controller name).
public string CultureEndpointPath { get; set; }
Property Value
- string