How Container Images Work: Container Layer Explorer (.NET)
A free, open-source tool that shows what each Docker image layer adds, changes or hides. Try four examples, including a deleted secret you can still read.
Read more →Under the hood of .NET, identity and security
I'm a Microsoft .NET MVP, consultant and trainer in Göteborg, Sweden, specializing in authentication, identity and security in .NET. Here I share what I learn when I dig into how things really work.
A free, open-source tool that shows what each Docker image layer adds, changes or hides. Try four examples, including a deleted secret you can still read.
Read more →
What changed in ASP.NET Core authentication, authorization and Data Protection in .NET 11 and the .NET 10 updates, found by comparing the source code.
Read more →
See the MCP traffic between Claude Code and any HTTP MCP server: set up the MCP Observer in my open-source Coding Agent Explorer and inspect each JSON-RPC call.
Read more →
Claude Code hooks: PreToolUse, PostToolUse and Stop, how a hook blocks a tool call with an exit code, and how to watch them fire in the Coding Agent Explorer.
Read more →
The Coding Agent Explorer is my open-source .NET tool that shows what Claude Code does: every API request, tool call and token count, live in a dashboard.
Read more →
A step-by-step guide to setting up Duende IdentityServer 7 from scratch in ASP.NET Core: middleware, the sample UI, test users, configuration and logging.
Read more →
Replace a custom BFF with the Duende BFF library (Duende.BFF): licensing, NuGet package, management endpoints, local and remote APIs. Part 7 of the BFF series.
Read more →
How CORS protects a Backend-for-Frontend (BFF) in ASP.NET Core from cross-origin attacks: simple and preflight requests, and a required X-CSRF header.
Read more →
How to add automatic access token renewal to a BFF in ASP.NET Core with refresh tokens and the Duende.AccessTokenManagement library, so users stay signed in.
Read more →
How to build a minimal Backend-for-Frontend (BFF) in ASP.NET Core from scratch: login, logout and session endpoints, OpenID Connect and a proxy for remote APIs.
Read more →
How to secure the BFF session cookie in ASP.NET Core with HTTPS, HttpOnly, Secure, SameSite and the __Host- prefix, plus security headers for extra protection.
Read more →
What the Backend-for-Frontend (BFF) pattern is, where it comes from, how it keeps tokens out of the browser and what is inside a BFF: sessions and an API proxy.
Read more →
Why OpenID Connect tokens in the browser put single-page applications at risk, and how the BFF pattern in ASP.NET Core fixes it. Part 1 of a 7-part series.
Read more →
How to deploy KurrentDB (formerly EventStoreDB) to Azure Container Instances, then append and read events from C#, for hands-on event sourcing in .NET.
Read more →
Configure ASP.NET Core Forwarded Headers behind a reverse proxy: headers to process, proxies to trust, ASPNETCORE_FORWARDEDHEADERS_ENABLED and AllowedHosts.
Read more →
What the ASP.NET Core Forwarded Headers Middleware does behind a proxy, and how the X-Forwarded headers restore the client IP, scheme and host of each request.
Read more →