Modern Software Engineering

VH07 Improving Code Quality with Roslyn Code Analyzers


9:30am - 10:45am

Level: Intermediate to Advanced

Jim Wooley

Senior Delivery Principal

Slalom Consulting

The .Net complierer platform includes the ability to expose the language services to allow developers to build their own analyzers and code fixes/refactorings. In this session we'll introduce you to the capabilities of the compiler platform and demonstrate how we can extend it to more proactively catch common coding smells and patterns that would have otherwise caused runtime exceptions that can be caught during compilation instead. If you've relied on third party commercial coding tools like resharper in the past, you'll see how you can build your own tooling extensions or leverage some of the many open source solutions.

You will learn:

  • How to take advantage of the code analysis tools in Visual Studio
  • How to customize the analyzers and code styles in Visual Studio
  • How to build Roslyn based code fixes to detect and fix domain specific errors that the compiler can't catch