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.
Looking inside ConfigurationManager in .NET 6
Exploring .NET 6 - Part 1
In this post I take a look at the ConfigurationManager class new in .NET 6, explore why it was added, and look at the scenarios it addresses.…
Viewing overwritten configuration values in ASP.NET Core
In this post I show how you can view the overridden values from configuration for debugging purposes.…
Viewing app configuration using Oakton's Describe command and Spectre.Console
In this post I introduce Oakton's describe command, and show how to create an extension that prints your application's configuration to the console.…
Debugging configuration values in ASP.NET Core
In this post I show how to use IConfigurationRoot.GetDebugView(), walk through its implementation, and describe how to expose the data as an API.…
Using action results and content negotiation with "route-to-code" APIs
In this post I describe how to use content negotiation with route-to-code by executing ActionResults.…
5 ways to set the URLs for an ASP.NET Core app
In this post I describe 5 different ways to set which URLs your ASP.NET Core application listens on.…