What a Razor Compiler Is Made Of and How to Cook It
summary
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
chapters (17)
- 0:00Introduction
- 1:26Speaker background
- 3:34Motivation for Razer compiler
- 5:00What is Razer
- 6:46Razer markup language
- 8:54Customizing Razer compiler
- 11:02Razer compiler structure
- 15:51Razer compilation phases
- 25:40Razer String Builder demo
- 29:51Integrating Razer compiler
- 35:26SDK generation approach
- 43:53Building custom compiler
- 50:11Razer SDK overview
- 51:12Use cases beyond web
- 55:02Conclusions and future
- 56:47Useful links
- 57:08Q&A
