JasperFx / lamar

Fast Inversion of Control Tool and Successor to StructureMap
https://jasperfx.github.io/lamar
MIT License
563 stars 118 forks source link

Added a doc snippet to demonstrate use of Lamar in Blazor #276

Closed anaximander23 closed 3 years ago

anaximander23 commented 3 years ago

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.