Session

Roslyn 101: Source Generators, Diagnostic Analyzers and CodeFix Providers

Have you ever spent so much time writing boilerplate code? Or debugged code and wished there was a hint from the compiler? Well, .NET Source generators and Diagnostic Analyzers are here to help you out! In this session, we will demystify Roslyn Compiler APIs, a powerful toolset that allows you to generate code at compile time and analyze your codebase for potential issues.

Through a practical example, we are looking into how to design and create a source generator and what are the best practices for them, how we could avoid reflection and more. You'll learn about syntax trees, semantic models, and symbols. We'll create diagnostic analyzers helping our developer team to catch gotchas early, and we will provide Code Fix Providers suggesting alternative approaches for already written code to encourage best practices in our team.

This session is designed for intermediate to advanced .NET developers, team leads, and architects who want to improve developer experience and code maintainability.

By the end of this session, attendees will have a solid understanding and practical knowledge of how to leverage Roslyn Compiler APIs to automate code generation, enforce coding standards, and enhance the overall development experience.

Shahab Ganji

Lead Coding Architect, SQUER Solutions GmbH

Tulln, Austria

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top