Analyzers for ASP.NET Core in .NET 6: Exploring .NET Core 6 - Part 7

added by DotNetKicks
10/26/2021 10:39:28 AM


Analyzers have been built into the C# compiler for some time now. Anyone can write their own analyzer, distribute it as a NuGet package, and hook into the compiler to find potential code issues. In this post I look at the changes to the existing ASP.NET Core analyzers in .NET 6, as well as the new ones added for the new minimal APIs.