Visual Studio / .NET Framework

Improving Code Quality with Roslyn Code Analyzers

06/14/2018

2:45pm - 4:00pm

Level: Advanced

Jim Wooley

Senior Delivery Principal

Slalom Consulting

The new .Net compliers in Visual Studio 2015 include the ability to expose the language services to allow developers to build their own analyzers and code fixes/refactorings. This session will introduce you to the capabilities of the compiler platform and demonstrate how you 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 use code analysis tools in Visual Studio 2017
  • How to customize the analyzers and code styles in Visual Studio 2017
  • How to build Roslyn based code fixes to detect and fix domain specific errors that the compiler can't catch