site image
Andrew Lock avatar

Andrew Lock

  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  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 Reloading strongly typed options in ASP.NET Core 1.1.0

    Reloading strongly typed options in ASP.NET Core 1.1.0

    In this post, I show how to use the new IOptionsSnapshot interface to reload strongly typed options when a configuration file changes in ASP.NET Core 1.1.0…

     in  ASP.NET CoreConfiguration
  5. Banner image for How to pass parameters to a view component

    How to pass parameters to a view component

    In this post I will show how you can pass parameters to a view component when invoking it from your view, from a controller, or as a tag helper.…

  6. Banner image for An introduction to ViewComponents - a login status view component

    An introduction to ViewComponents - a login status view component

    In this post I use the example of a Login widget to introduce View Components. I show how to create them, how they're invoked, and the 1.1.0 Tag Helper syntax.…

  7. Banner image for Understanding and updating package versions for .NET Core 1.0.3

    Understanding and updating package versions for .NET Core 1.0.3

    In this post I take a look at how platform versioning works in ASP.NET Core, and list the packages that have been updated in the latest 1.0.3 release.…

  8. 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.…

  9. 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.…

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