site image
Andrew Lock avatar

Andrew Lock

  1. Loading...
  2. Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

    30% off with code ANDREW30 on Dometrain Pro
  3. ASP.NET Core in Action, Third Edition

    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.

  4. Banner image for Using the YamlDotNet source generator for Native AOT

    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…

  5. Banner image for Cross-Origin-Embedder-Policy: securing embedded resources

    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…

     in  SecurityASP.NET CoreCORS
  6. Banner image for Cross-Origin-Resource-Policy: preventing hotlinking and XSSI attacks

    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…

     in  SecurityASP.NET CoreCORS
  7. Banner image for Cross-Origin-Opener-Policy: preventing attacks from popups

    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…

     in  SecurityASP.NET Core
  8. Banner image for Recent updates for NetEscapades.EnumGenerators: interceptors!

    Recent updates for NetEscapades.EnumGenerators: interceptors!

    In this post I describe the experimental interceptor support in NetEscapades.EnumGenerators that replaces ToString() calls with ToStringFast() automatically…

     in  .NET CoreRoslynSource Generators
  9. Banner image for Is the result pattern worth it?

    Is the result pattern worth it?

    Working with the result pattern - Part 4

    In this post I discuss some of the pros and cons around using the result pattern in .NET, and describe some of the arguments I've heard on either side…

     in  C#.NET Core
Andrew Lock | .Net Escapades
Want an email when
there's new posts?