Applying the RouteDataRequest CultureProvider globally with middleware as filters

added by DotNetKicks
12/6/2016 3:59:16 PM

1 Kicks, 391 Views

In my last post I showed how your could use the middleware as filters feature of ASP.NET Core 1.1.0 along with the RouteDataRequestCultureProvider to set the culture of your application from the url. This allowed you to distinguish between different cultures from a url segment, for example www.microsoft.com/en-GB/ and www.microsoft.com/fr-FR/.


0 comments