- Loading...
-
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"!
-
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.
-
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.…
-
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.…