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

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.

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…

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

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

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

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

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

