~/talk

Blazorators: C# Source Generators for Blazor

Talkat DevReach 2022 · 2022-09-11..09-14· [dotnet, javascript]
links:none on file
slides:none on file

An open-source tool claims to source-generate JS interop for Blazor by parsing TypeScript declarations and emitting C# partial interfaces, implementations and generates DI hooks as NuGet packages. It currently supports generics and callbacks, custom serialization and dependent types, and demos show localStorage persistence, a geolocation prompt that renders coordinates, and speech synthesis voices working from the generated APIs. Implementation uses C# Source Generators + a homemade TypeScript parser (now regex-based, being rewritten to a proper AST), the project is functional but incomplete and invites community contributions.

AI-written summary · about

  1. 0:00Welcome to Blazorators
  2. 1:33Design goals
  3. 5:21Source Generators in C#
  4. 8:06Generating JS interop code
  5. 14:19Demo in action
  6. 21:05Generated code structure
  7. 23:34Local storage & geolocation demo
  8. 26:04Speech synthesis with Telerik REPL
  9. 29:16Future work & community
  10. 31:47Resources & contribution
~/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.