
This article was written in 2023. Versions, tools and recommendations may have changed since then. Newer posts are collected under .NET.
September last year, Microsoft announced that a large number of backend services would be migrated to .NET 6. This, they said, was an enterprise-wide initiative .
Now, about half a year later, Microsoft delivers in a very detailed blog post that their expectations in performance, efficiency and scalability have been far exceeded by .NET 6. What was migrated was a permission service that still has its origins from the time of Skype from 2013.
- The performance advantage has been reduced by 50%: it is now 100%.
- The latency could even be reduced by 45%.
The migration was not entirely trivial. About 2 weeks were invested in the analysis of the necessary steps alone:
- Updating all projects to the new .NET SDK format
- Modernization of the entire code base (Host Builders, with Dependency Injection, ILogger and IOptions Pattern…)
- Replacing blocking dependencies with .NET 6 alternatives.
- Migration to Kestrel and ASP.NET Core 6
- Updating CI/CD
The very detailed blogpost incl. performance analysis and insight into Teams’ teamwork at Microsoft Teams’ Permission Service migration to .NET 6
Related articles

- 16 min read
Production Rate Limiting in ASP.NET Core
Most ASP.NET Core rate-limiting examples stop after registering a fixed window. That is enough to demonstrate the middleware, but it is not …

- 11 min read
The Big Decimal Bugfix with .NET 11
For more than two decades, (decimal)1.23 returned 1.23m. It looked correct, it passed every test and it was a polite lie.

- 10 min read
Distroless, Chiseled or Alpine: Choosing a .NET Base Image
Distroless, Chiseled and Alpine are often compared as three equivalent Linux distributions. They are not. Alpine is a distribution built …
Let's Work Together
Looking for an experienced Platform Architect or Engineer for your next project? Whether it's cloud migration, platform modernization or building new solutions from scratch - I'm here to help you succeed.
