blog post image
Andrew Lock avatar

Andrew Lock

Series: Adding a URL culture provider using middleware as filters

In this series I describe how to use middleware as an MVC filter. In particular, you'll learn how to use middleware as filters to add a culture provider that provides request localisation based on URL segments. To get an idea for how this works, take a look at the homepage, which includes the request culture in the URL.

The homepage with URL culture provider

You'll learn to extract and set a culture from the URL, to set the routes globally, and to handle unsupported cultures

Andrew Lock | .Net Escapades
Want an email when
there's new posts?