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 microsoft.com homepage, which includes the request culture in the URL.
You'll learn to extract and set a culture from the URL, to set the routes globally, and to handle unsupported cultures