Nothing fancy, just showing how to hook Lamar into Blazor's startup. I've tested this myself on a small prototype app and found it to work, but my testing has not been exhaustive.
I've deliberately added the code sample inline in the doc file and not used the usual mechanism for extracting code samples from real source code, because that would require a Blazor app in the repo somewhere. Given that no specific Blazor support has been implemented, that seems like a headache you don't need.
Nothing fancy, just showing how to hook Lamar into Blazor's startup. I've tested this myself on a small prototype app and found it to work, but my testing has not been exhaustive.
I've deliberately added the code sample inline in the doc file and not used the usual mechanism for extracting code samples from real source code, because that would require a Blazor app in the repo somewhere. Given that no specific Blazor support has been implemented, that seems like a headache you don't need.