Primary Navigation

Building Roslyn-Based Analyzers and Diagnostics

Description

It's Theme Week again, with this week's theme the awesome courses that are available free from the Microsoft Virtual Academy.

I've highlighted the new Analyzers and Refactoring capabilities of the .NET Compiler Platform (fka Roslyn) a number of times. Now Bill Wagner and Jennifer Marsman have created an entire 5+ hour course on teaching you how to build them!

Do you know the difference between a syntax model and a syntactic model? You probably do, but you will still want to check out this exploration of the new Roslyn-based compilers in the upcoming release of Visual Studio! Help your team grow great coding habits, with this set of APIs that you can use to build automated tools to find and fix common coding mistakes. Plus, learn how to analyze code during development and create automated fixes for common poor practices.

Watch MVP and best-selling author Bill Wagner and Microsoft Principal Developer Evangelist Jennifer Marsman (named the "Techie whose innovation will have the biggest impact") for a demo-filled exploration of analyzers and code fixes. Examine nodes for poor practices, register fixes to correct mistakes, and learn to report errors and warnings with different levels of severity. Look at ways to express your designs in C#, and explore unit testing. Finally, hear about the different approaches to releasing your analyzer, including adding it to open source libraries.