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

Setting global authorization policies using the DefaultPolicy and the FallbackPolicy in ASP.NET Core 3.x
In this post I show multiple ways to configure global authorization policies, and look at the difference between the DefaultPolicy and the FallbackPolicy…

Customising the ASP.NET Core default UI without editing the PageModels
In this post I show how you can replace the Razor views for the ASP.NET Core Identity default UI, without having to replace the code-behind PageModels.…

Strongly-typed ID update 0.2.1
Using strongly-typed entity IDs to avoid primitive obsession - Part 6
In this post I describe some updates to the Roslyn-powered code generation library that auto-generate. strongly-typed IDs for you.…
in ASP.NET Core
Handling Web API Exceptions with ProblemDetails middleware
In this post I describe the ProblemDetailsMiddleware by Kristian Hellang that can be used to return ProblemDetails when an exception occurs in an API project.…

Extending the shutdown timeout setting to ensure graceful IHostedService shutdown
In this post I describe a problem where you get an exception when shutting down an app that used IHostedService, when the service takes too long to shut down.…

Using jQuery and Bootstrap from a CDN with fallback scripts in ASP.NET Core 3.0
In this post I show how to update the default Razor layouts to load CSS and JS files from a CDN, and how to configure local fallbacks with SRI protection.…

