Using source generators to to generate a menu component in a Blazor app

added by DotNetKicks
2/16/2021 10:29:28 AM

692 Views

In the previous post, I showed how to create a source generator that finds all the routeable components in a Blazor application at build time. In this post, I extend that approach, collecting additional metadata about the components, and building a source generator to output this information as a List at build time.


0 comments