Writing Code with Code: Getting Started with the Roslyn APIs
Room 3
16:20 - 17:20
(UTC+02)
Talk (60 min)
Wednesday
As developers, we spend our days writing code. What if we could get the computer to write it for us? Using the .NET Roslyn APIs, we can do precisely that!
.NET
Languages
Microsoft
In this session, Steve will share his latest work at Elastic, generating the majority of the .NET client for Elasticsearch from a simple specification. Steve will introduce and demonstrate how to get started with leveraging the Roslyn APIs. He will show you how the Elastic .NET code generator transforms a JSON spec into a C# syntax tree and outputs thousands of classes in only a few seconds.
You'll leave this session with an understanding of the Roslyn APIs and how to utilise them in your work. You'll understand core concepts such as syntax trees, the SyntaxFactory and tools to help you write code with code.