tooling
Roslyn and C# Code Analysis Articles, Tutorials & News
Roslyn and C# Code Analysis articles, tutorials, and news from the DotNetNews archive.
16 articles Updated
This DotNetNews topic collects Roslyn C# material from the daily archive. Roslyn and C# Code Analysis is a recurring focus for C# and .NET developers working in the Microsoft ecosystem. The page is for people who already ship C# and need a faster way to find relevant posts.
Expect publisher tutorials, release notes, architecture write-ups, and field notes linked from DotNetNews issues. Start here is a short editorial shortlist for Roslyn and C# Code Analysis; the archive list is chronological and larger. Nothing here claims every article was production-tested by the editors.
Recurring subtopics in recent issues include Roslyn C#, Roslyn analyzers, C# compiler API, and code analysis Roslyn. Secondary angles such as Roslyn C# and Roslyn analyzers appear when the archive actually covered them. Related hubs such as C# Source Generators and C# cover adjacent problems.
Each card points at the original publisher URL and the DotNetNews issue that carried it, so you can read the article in context or jump straight to the source.
Start here
Editor picks for Roslyn
-
Your Architecture Has a Token Bill So I Made the Compiler Collect It
medium.com Issue #497
Roslyn analyzers enforcing AI architecture constraints is exactly the kind of compiler-assisted governance I want to see more of.
-
Suppressing Roslyn Analyzer Warnings Programmatically using DiagnosticSuppressor
meziantou.net Issue #438
Handy Roslyn deep dive showing how DiagnosticSuppressor can tame noisy analyzer output without just disabling rules outright.
-
Static Code Analysis in .NET: Open Source Tools That Actually Earn Their Place in Your Pipeline
fries-dotnet-legacy.medium.com Issue #434
A sensible roundup of open source analyzers for quality and security, especially helpful if your pipeline currently lacks a coherent analyzer strategy.
-
Achieving Full Application Logging in C# with Roslyn Code Transformation
medium.com Issue #343
Roslyn-based logging transformation is an ambitious tooling piece for teams that want broader application visibility with less manual code.
-
Creating Roslyn Analyzers
nickkell.medium.com Issue #142
Roslyn analyzers are a strong tool when you want rules enforced by the compiler, not code review.
-
C# Barcode Library: Comparing 11 Options for .NET Developers in 2026
c-sharpcorner.com Issue #473
Comparison of 11 C# barcode libraries. open-source and commercial options.
-
Microsoft .NET Code Analysis: Avoid Out Parameters in Methods
dotnettips.com Issue #444
I generally agree with discouraging out parameters because clearer method shapes usually age better in real codebases.
-
.NET Source Generators with Jason Bock
dotnetrocks.com Issue #391
Source generators remain one of the best ways to trade boilerplate for compile-time help.
Archive
Newest first
-
Your Architecture Has a Token Bill So I Made the Compiler Collect It
medium.com Issue #497
How I turned “our codebase is agent-friendly” from a hope into a build error, with Roslyn analyzers, a token budget, and a little Norse…
-
C# Barcode Library: Comparing 11 Options for .NET Developers in 2026
c-sharpcorner.com Issue #473
Explore the top 11 C# barcode libraries for .NET developers in 2026. Compare open-source & commercial SDKs for generating, reading, and scanning barcodes in diverse applications. Find the best fit for...
-
Microsoft .NET Code Analysis: Avoid Out Parameters in Methods
dotnettips.com Issue #444
The excerpt emphasizes the importance of clarity and maintainability in designing APIs and methods in Microsoft .NET. It explains that while out parameters can be useful, they often lead to reduced re...
-
Suppressing Roslyn Analyzer Warnings Programmatically using DiagnosticSuppressor
meziantou.net Issue #438
Roslyn analyzers are great for enforcing coding standards and finding bugs. However, they can sometimes report false positives or warnings you want to ignore in specific contexts. You can suppress the...
-
Static Code Analysis in .NET: Open Source Tools That Actually Earn Their Place in Your Pipeline
fries-dotnet-legacy.medium.com Issue #434
How to combine free Roslyn analyzers for quality, style, and security — without drowning in warnings
-
.NET Source Generators with Jason Bock
dotnetrocks.com Issue #391
Why would you write code to generate code? Carl and Richard talk with Jason Bock about his experiences using modern .NET source generators to optimize certain aspects of applications. Jason talks abou...
-
How to Remove Specific or Blank Pages from Word Using C# (A Step-by-Step Guide)
medium.com Issue #380
When working with Word documents, one problem we often encounter is unwanted pages — blank pages at the end of a report, cover pages we…
-
Achieving Full Application Logging in C# with Roslyn Code Transformation
medium.com Issue #343
Introduction
-
Scaling Your .NET Productivity with Source Generators
blog.stackademic.com Issue #288
.NET source generators provide a compile-time hook into Roslyn Continue reading on JavaScript in Plain English »
-
Roslyn Source Generators in C#
medium.com Issue #259
When Your Code Writes Itself Continue reading on Indian Full Stack Developer Community »
-
Automating .NET User Secrets with PowerShell
kaylumah.nl Issue #259
Manage secret configuration for dotnet projects using PowerShell
-
What Happens After You Hit Build? Inside the .NET Compiler Pipeline (Explained Like You’re 5)
medium.com Issue #258
Learn the evolution, purpose, and real-world usage of key .NET compilers like Roslyn, RyuJIT, Crossgen, and NativeAOT — explained in…
-
How to Test Roslyn Source Generators
meziantou.net Issue #251
https://www.meziantou.net/how-to-test-roslyn-source-generators.htm
-
EF Core 9, Copilot, MVC
DotNetNews Issue #155
This issue covers MongoDB EF Core 9 support, Copilot tips, ASP.NET Core MVC, LINQ tuning, DI, containers, and C# language patterns.
-
Creating Roslyn Analyzers
nickkell.medium.com Issue #142
https://nickkell.medium.com/creating-roslyn-analyzers-a48f2b8318a9
-
ASP.NET performance, Aspire, and Roslyn
DotNetNews Issue #119
A varied .NET roundup with ASP.NET throughput tests, .NET Aspire cloud-native guidance, Roslyn code analysis, logging, multithreading, and more.