- 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.
-
Logging using DiagnosticSource in ASP.NET Core
Although ILogger is the most common, there are actually three logging system in ASP.NET Core. In this post I show how to use the DiagnosticSource system…
-
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.…