site image
Andrew Lock avatar

Andrew Lock

Middleware as Filters
  1. Loading...
  2. Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!

    From Zero to Hero: REST APIs in .NET
  3. ASP.NET Core in Action, Third Edition

    My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback.

  4. Banner image for Using strongly-typed entity IDs to avoid primitive obsession

    Using strongly-typed entity IDs to avoid primitive obsession

    In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…

  5. Banner image for Redirecting unknown cultures when using the url culture provider

    Redirecting unknown cultures when using the url culture provider

    Adding a URL culture provider using middleware as filters - Part 5

    In this post I show how to handle the case where a user requests a culture that does not exist, or we do not support, by redirecting to a supported URL culture.…

  6. Banner image for Using a culture constraint and redirecting 404s with the url culture provider

    Using a culture constraint and redirecting 404s with the url culture provider

    Adding a URL culture provider using middleware as filters - Part 4

    In this post, I'll show how we can create a custom route constraint to help prevent invalid route matching, and add additional routes to catch 404 errors.…

  7. Banner image for Applying the RouteDataRequest CultureProvider globally with middleware as filters

    Applying the RouteDataRequest CultureProvider globally with middleware as filters

    Adding a URL culture provider using middleware as filters - Part 3

    In this post, I'll show the various ways you can configure your routes globally, so that all your urls will have a culture prefix by default.…

  8. Banner image for Url culture provider using middleware as filters in ASP.NET Core 1.1.0

    Url culture provider using middleware as filters in ASP.NET Core 1.1.0

    Adding a URL culture provider using middleware as filters - Part 2

    In this post I show how you can use the 'middleware as filters' feature of ASP.NET Core 1.1.0 to easily add request localisation based on URL segments…

  9. Banner image for Exploring Middleware as MVC Filters in ASP.NET Core 1.1

    Exploring Middleware as MVC Filters in ASP.NET Core 1.1

    Adding a URL culture provider using middleware as filters - Part 1

    This post takes a look at the code behind the 'Middleware as Filters' feature that is coming to ASP.NET Core, looking at how the feature is implemented.…

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