~/talk

What a Razor Compiler Is Made Of and How to Cook It

TalkinRussianat DotNext 2025 · 2025-09-18..09-19· [dotnet, compilers-and-language-design]
links:none on file
slides:none on file

An overview of Razor compiler internals and how to build custom tooling with it independent of ASP.NET, treating Razor as a general-purpose markup language. It explains the compiler components and compilation stages, how to configure them to generate custom C# output and integrate that generation into dotnet build. Includes examples of using Razor to generate SQL, Avalonia apps, and Excel and PDF documents.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Speaker background
  3. 3:34Motivation for Razer compiler
  4. 5:00What is Razer
  5. 6:46Razer markup language
  6. 8:54Customizing Razer compiler
  7. 11:02Razer compiler structure
  8. 15:51Razer compilation phases
  9. 25:40Razer String Builder demo
  10. 29:51Integrating Razer compiler
  11. 35:26SDK generation approach
  12. 43:53Building custom compiler
  13. 50:11Razer SDK overview
  14. 51:12Use cases beyond web
  15. 55:02Conclusions and future
  16. 56:47Useful links
  17. 57:08Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.