~/talk

Mastering Source Generators

TalkinUkrainianat .NET fwdays'24 · on Saturday, 2024-07-20· [developer-experience]
links:none on file
slides:none on file

Demonstrates a .NET source-generator pipeline that auto-creates auditable classes, Entity Framework configurations and DbSet entries from marked entities, plus an MSBuild task to emit non-C# artifacts. Uses a NetStandard2.0 analyzer project and favors incremental generators for caching so unchanged outputs aren’t regenerated, and reports performance: generated validation runs about 4× faster with roughly half the allocations compared to reflection. Includes reproducible demos and benchmarks such as a CSV credit-card validator and audit-history generators.

AI-written summary · about

  1. 0:00Source Generators intro
  2. 6:02Custom Source Generator
  3. 13:10Incremental benefits
  4. 18:34Credit card validation
  5. 25:51Source Generators pros/cons
  6. 26:37File generation limits
  7. 28:50Supported targets and IDEs
  8. 30:35Data formats alternatives
  9. 32:45Summary & Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.