April 2024
Intermediate to advanced
366 pages
7h 15m
English
In this chapter, we will look at writing code that generates code. Even though this chapter isn’t directly related to Blazor development, it still has a connection to Blazor, as we’ll discover.
The subject of source generators is a book on its own, but I wanted to introduce it since they are used by Blazor and, honestly, it is one of my favorite features.
I am the kind of person that spends a day writing source code that saves me 10 minutes if I know I will need to repeat those 10 minutes over and over again. Repetitive tasks have never been a favorite of mine.
In this chapter, we will cover the following:
The idea for this ...
Read now
Unlock full access