Package PSC.Analyzers.Blazor as a NuGet analyzer, publish it to a feed, and consume it across a solution including how to make rules fail the build.
Category: .NET10
Unit testing your analyzer
Test the PSC001 rule with Microsoft.CodeAnalysis.Testing: reference assemblies, inline diagnostic markup, and positive and negative cases.
Writing your first diagnostic
Write the PSC001 rule: a DiagnosticAnalyzer that finds Blazor [Parameter] properties and flags the ones that aren’t PascalCase.
Build a Roslyn Analyzer from scratch
Start a custom Roslyn analyzer for Blazor. We scaffold PSC.Analyzers.Blazor, explain every csproj setting, and set up analyzer release tracking.
Turbocharging Your .NET Backend with Gzip
Learn how enabling Gzip compression in your .NET backend can dramatically improve performance for users on slow or unstable networks, and see how to implement it with a clean, modern code example.
Replacing Swagger with Scalar in ASP.NET Core
In this post, I show how replacing Swagger with Scalar in ASP.NET Core and NET10. Scalar is a UI that improve the experience in using the APIs
OpenAPI Enhancements in ASP.NET Core 10
A deep dive into the latest OpenAPI and Swagger improvements in ASP.NET Core 10, including Minimal APIs, versioning, Native AOT support, and UI customization.