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

Building a middleware pipeline with WebApplication
Exploring .NET 6 - Part 4
In this post I look at some of the code behind WebApplication, and focus on how the middleware and endpoints are configured…

Configuring HTTPS using a custom TLS certificate with Netlify and Cloudflare
In this post I describe an HTTPS issue when using Cloudflare in front of Netlify, and how to create a custom TLS certificate for full encryption.…

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

Adding host filtering to Kestrel in ASP.NET Core
In this post I describe how to add host filtering to an ASP.NET Core application, and show why not filtering could allow attackers to exploit your app…

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

How to use multiple hosting environments on the same machine in ASP.NET Core
This post shows how to use multiple hosting environments for different apps on a machine, by using environment variables and the UseEnvironment() method.…

