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

Creating provenance attestations for NuGet packages in GitHub Actions
In this post I discuss software provenance, what attestations say about your software, how they work, and how to create an attestation for a NuGet package…

Running an ASP.NET Core app inside IIS in a Windows container
In this post I describe how to run an ASP.NET Core app inside IIS in a Windows Docker container…

Creating an analyzer to detect infinite loops caused by ThreadAbortExceptions
In this post I describe a Roslyn Analyzer I created to detect code that can result in infinite loops if a ThreadAbortException is raised…

Disabling localized satellite assemblies during dotnet publish
In this post I show how to reduce the size of the publish output for .NET apps by preventing the publishing of localization resources when they're not needed…

Setting application environment variables in IIS without restarts
In this post I outline how IIS works, describe how to add environment variables to app pools, and show how to prevent automatic app pool recycling on changes…

Preventing client-side cross-site-scripting vulnerabilities with Trusted Types
In this post I describe how the Trusted Types Content-Security-Policy feature can protect you against cross-site-scripting attacks.…

