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

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…

Reloading strongly typed Options on file changes in ASP.NET Core RC2
This article discusses how to reload configuration values automatically when a configuration file changes. It then shows how to reload Options classes…

