Overview
Discover in this conference talk from Copenhagen Developers Festival how to leverage .NET Roslyn APIs to automate code generation. Learn from Steve Gordon's experience at Elastic where he developed a system to generate the .NET client for Elasticsearch from JSON specifications. Explore core concepts including syntax trees, SyntaxFactory, and essential tools for programmatic code generation. Gain practical insights into transforming JSON specifications into C# syntax trees and efficiently generating thousands of classes in seconds. Master the fundamentals of the Roslyn APIs and understand how to implement code generation techniques in your own development projects. Follow along as the speaker demonstrates real-world applications of code generation, showing how to make computers handle repetitive coding tasks automatically.
Syllabus
Writing Code with Code: Getting Started with the Roslyn APIs - Steve Gordon - CPH DevFest 2024
Taught by
NDC Conferences