- 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.
-
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…
-
Accessing services when configuring MvcOptions in ASP.NET Core
This post is a follow on to one by Steve Gordon, in which I show a clean way to use configured services when setting up MvcOptions when calling AddMvc.…
-
How to use machine-specific configuration with ASP.NET Core
In this post I'll show how to load machine-specific configuration values in your applications using the new ASP.NET Core configuration system.…
-
Access services inside ConfigureServices using IConfigureOptions in ASP.NET Core
This post shows how you can inject services when configuring IOptions implementations in your Startup class using the IConfigureOptions interface.…
-
Loading tenants from the database with SaasKit - Part 2, Caching
I previously showed how to load tenants from a database using Saaskit. In this post I show how to avoid hitting the database with every request…
-
How to configure urls for Kestrel, WebListener and IIS express in ASP.NET Core
In this post I describe how to configure the URLs your application binds to when using Kestrel or the WebListener HTTP servers…