The new .Net compliers in Visual Studio 2015 can expose language services to let you build your 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.
This will be a hands-on hack-type session, so bring your computers and ideas for tools you would like to build. You'll start with some introductory demonstrations, but include ample time for working through some hands-on examples.
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