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
Tag: .NET
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
Looking at REST vs GraphQL APIs in .NET
Both REST and GraphQL are approaches to building APIs that allow systems to communicate with each other. However, both have different mechanisms and philosophies, let's dig into the differences. Introduction to GraphQL First of all, what is a GraphQL API, why would we want to use it and what does a GraphQL API look like. … Continue reading Looking at REST vs GraphQL APIs in .NET
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
Auto-Scaling .NET Core Web API Containers
In this post, we take a look at how to make sure you .NET Core Web API containers work well in auto-scalaing scenarios on Azure Kubernetes Service. When you first access a newly released .NET Core Web API, even locally, does not have to be in a container, you will notice the first request is … Continue reading Auto-Scaling .NET Core Web API Containers