filmov
tv
C# Source Generators - Write code that writes code - David Wengier
Показать описание
Generating source code is not a new technology, and there are lots of different offerings out there available for you to use, or that you may in fact be using right now. Tools like PostSharp, Fody, CodeSmith, and many, many more. What is new however, with C# 9 and .NET 5, is a formal source generation offering from Microsoft, taking advantage of a unique opportunity that only the Roslyn team can provide, that lets you run your generator inside the compiler pipeline, with access to the internal data structures the compiler produces. In this session we'll cover source generators in general, deep dive into the C# 9 offering, and then run through some examples, talk about the possibilities, and leave you with no shortage of ideas for your own generators that you can run wild with. When all you have is a hammer, everything looks like a nail, and with source generators in your toolbelt, you won't look at that slow old reflection code the same way ever again.
Check out more of our talks at:
Check out more of our talks at:
All About C# Source Generators | .NET Conf 2023
C# Source Generators - Write Code that Writes Code
C# Source Generators Tutorial
Source Generators in C#
David Wengier. C# Source Generators — Write code that writes code
C# Source Generators - Write code that writes code - David Wengier
Coding Shorts: Building a Source Generator - Part 2
C# Source Generators
MATLAB Simulink Course | MATLAB Simulink Tutorial | Matlab Simulink Full Course
C# Source Generators - Write code that writes code with David Wengier
Do C# Source Generators ACTUALLY slow your build down?
How to bend reality to your will with C# Source Generators
C# - Using source generators to write tests
Coding Shorts: Building a Source Generator - Part 1
Is Code Generation with AI the New Programmer Tool of Choice?
Using Source Generators for Fun (and Maybe Profit)
C# Source Generators in Practice
[C#] Source Generators - Quando il compilatore ci aiuta nella scrittura di codice
Introduction to C# Source Generators
Better C# - Source Generators
Episode 29 - Source Generators
Source Generators in C# 9
The .NET Docs Show - Using Source Generators for Fun (and Maybe Profit)
How To Debug C# Source Generators
Комментарии