Building Custom Roslyn Analyzers and Code Fixes
Tutorial: Write Your First Analyzer and Code Fix Recently, we explored how to write custom Roslyn analyzers and discussed their potential applications in our daily work. This post summarizes our f...
Tutorial: Write Your First Analyzer and Code Fix Recently, we explored how to write custom Roslyn analyzers and discussed their potential applications in our daily work. This post summarizes our f...
The httpgenerator is a .NET global tool that generates .http files from OpenAPI (Swagger) specifications. The .http file format was popularized by the REST Client extension for Visual Studio Code a...
Analyzers are an integral part of the .NET compiler chain that continuously check your code for potential issues. They help you catch problems early, such as performance bottlenecks, possible bugs,...
C# 12 introduces a new feature called primary constructors for classes. This feature simplifies the initialization of class fields and reduces boilerplate code by allowing parameters to be declared...
While your software might be the best in the world, it’s only as good as the libraries it depends on. In this post, we’ll explore how to check your .NET solution for NuGet vulnerabilities or deprec...
When working with generic collections, we often encounter code that’s not immediately clear about its purpose. For example: // ❌ What does the string means? = new Dictionary<string, string>...
SonarSource has released a new version of their .NET analyzer, introducing new warnings to the “Sonar Way” quality profile. This post discusses the new rules and how we addressed them in our projec...
The Snippet Designer 2022 is a Visual Studio extension that simplifies the creation of new code snippets. This tool is particularly useful for developers who want to standardize common code pattern...
Default interface methods are a powerful feature introduced in .NET 8 that allows adding new functionality to interfaces without breaking existing implementations. This article explores some intere...