Roslyn - Curated .NET Articles & Tutorials
Curated .NET news, articles, and tutorials about Roslyn, drawn from .NET News Daily issues.
13 curated issues
Microsoft .NET Code Analysis: Avoid Out Parameters in Methods
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...
Issue also covered: ASP.NET Core, Authentication, Azure, Azure DevOps, Clean Architecture, Cosmos DB, C#, .NET Framework
Read this issue →Suppressing Roslyn Analyzer Warnings Programmatically using DiagnosticSuppressor
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...
Issue also covered: Azure, Clean Architecture, C#, .NET 10, EF Core, FluentValidation, GitHub Copilot, JWT
Read this issue →Static Code Analysis in .NET: Open Source Tools That Actually Earn Their Place in Your Pipeline
How to combine free Roslyn analyzers for quality, style, and security — without drowning in warnings
Issue also covered: ASP.NET Core, Clean Architecture, CQRS, C#, .NET 10, EF Core, Performance, Source Generators
Read this issue →.NET Source Generators with Jason Bock
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...
Issue also covered: Azure, Clean Architecture, CQRS, C#, Design Patterns, .NET 8, .NET Core, EF Core
Read this issue →How to Remove Specific or Blank Pages from Word Using C# (A Step-by-Step Guide)
When working with Word documents, one problem we often encounter is unwanted pages — blank pages at the end of a report, cover pages we…
Issue also covered: Azure, Benchmarking, Clean Architecture, Cosmos DB, C#, .NET Core, EF Core, GitHub Copilot
Read this issue →Achieving Full Application Logging in C# with Roslyn Code Transformation
Introduction
Issue also covered: ASP.NET Core, Azure, Clean Architecture, C#, Domain-Driven Design, EF Core, Native AOT, Performance
Read this issue →Scaling Your .NET Productivity with Source Generators
.NET source generators provide a compile-time hook into Roslyn Continue reading on JavaScript in Plain English »
Issue also covered: ASP.NET Core, Authentication, .NET 8, OpenAI, Performance, Security, Source Generators, Visual Studio
Read this issue →Roslyn Source Generators in C#
When Your Code Writes Itself Continue reading on Indian Full Stack Developer Community »
Issue also covered: ASP.NET Core, C#, .NET 10, Performance, Security, Source Generators, SQL Server, Unit Testing
Read this issue →What Happens After You Hit Build? Inside the .NET Compiler Pipeline (Explained Like You’re 5)
Learn the evolution, purpose, and real-world usage of key .NET compilers like Roslyn, RyuJIT, Crossgen, and NativeAOT — explained in…
Issue also covered: ASP.NET Core, Blazor, C#, .NET Core, EF Core, GitHub Copilot, JWT, Performance
Read this issue →How to Test Roslyn Source Generators
https://www.meziantou.net/how-to-test-roslyn-source-generators.htm
Issue also covered: ASP.NET Core, Azure, Blazor, C#, .NET 10, EF Core, .NET MAUI, MediatR
Read this issue →Creating Roslyn Analyzers
https://nickkell.medium.com/creating-roslyn-analyzers-a48f2b8318a9
Issue also covered: ASP.NET Core, .NET Aspire, Azure, C#, .NET 9, .NET Core, EF Core, .NET MAUI
Read this issue →