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

Implementing an interceptor with a source generator
Creating a source generator - Part 11
In this post I show how interceptors work, and how you can implement an interceptor using a source generator and the GetInterceptableLocation API…

Building LaTeX projects on Windows easily with Docker
In this post I describe how I build LaTeX projects on a Windows machine by using Docker and the blang/latex image…

Using the YamlDotNet source generator for Native AOT
In this post I show how you can use the YamlDotNet source generator to do strongly-typed serialization and deserialization, even in Native AOT apps…

Cross-Origin-Embedder-Policy: securing embedded resources
Understanding cross-origin security headers - Part 3
In this post I discuss the Cross-Origin-Embedder-Policy, the requirements it places on your resources, and why it's required for some JavaScript APIs…

Cross-Origin-Resource-Policy: preventing hotlinking and XSSI attacks
Understanding cross-origin security headers - Part 2
In this post I describe how to use the Cross-Origin-Resource-Policy to block cross-origin requests that would normally be allowed, such as in <img> tags…

Cross-Origin-Opener-Policy: preventing attacks from popups
Understanding cross-origin security headers - Part 1
In this post I describe the vulnerabilities in window.opener and window.open() and how to protect yourself with Cross-Origin-Opener-Policy…

