.NET Authentication Loop with Container Based Apps

Following on from my previous post on identity with .NET and containers, I wanted to expand on this to look at authentication loops from Entra ID. The symptoms of this issue are pretty simple, when you hit your .NET container based application, secured with Entra ID, you are sent in a loop to the authentication … Continue reading .NET Authentication Loop with Container Based Apps

Notes From the Field: Building .NET Microservices

In this post, I am sharing some of the tips and tricks I've learned from building .NET microservices over the years. A big thank you to the team at the Festive Tech Calendar, as this is my contribution this year. All throughout December, make sure you check out some of the fantastic sessions offered up … Continue reading Notes From the Field: Building .NET Microservices

Exposing Route Data for Dynamic Navigation in .NET MVC

Sometimes, for example dynamic navigation, we may need to expose data about the current URL, this post looks at using ViewContext to expose this data. The scenario is as follows, you know a user is part of a policy that allows administration access, but your layout caters for both regular users and an administration dashboard. … Continue reading Exposing Route Data for Dynamic Navigation in .NET MVC

Updating Existing Claims in .NET with Cookie Authentication

If you are using cookie based authentication in your .NET application and setting claims, updating those claims can be a real pain. This post has some simple code to make this happen. First of all, let's set the scenario. If we are not changing security based settings, and for example just updating someone's name, or … Continue reading Updating Existing Claims in .NET with Cookie Authentication