Starting with the new C# and VB compliers in Visual Studio, developers have the ability to use the language services 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 use 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