- 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.
-
Exploring the .NET Core MCR Docker files (updated): runtime vs aspnet vs sdk
In this post, I look at the various Docker base images available for .NET Core development on MCR, how they differ, and when you should use each of them.…
-
Creating my first Azure Functions v2.0 app: a WebHook and a timer
In this post I show how to create an Azure Functions app with a timer that triggers a build on Netlify, and a WebHook that clears the cache in Cloudflare.…
-
Creating a not-empty GUID validation attribute and a not-default validation attribute
In this post I describe an MVC validation attribute that verifies a GUID doesn't have the default Empty value. I also present a generalised version.…
-
Why isn't my session state working in ASP.NET Core? Session state, GDPR, and non-essential cookies
In this post I describe why session state appears to not work in ASP.NET Core 2.1+ apps, discuss the GDPR features, and how to work around any issues.…
in ASP.NET Core -
An introduction to ASP.NET Core Razor Pages
In this post I provide an introduction to Razor Pages, the basics of getting started, and how Razor Pages differs from MVC…
-
Reducing initial request latency by pre-building services in a startup task in ASP.NET Core
In this post I show a startup task that pre-builds all the services registered in the DI container to reduce the duration of the first request to the app.…