castleproject / Windsor

Castle Windsor is a best of breed, mature Inversion of Control container available for .NET
http://www.castleproject.org
Apache License 2.0
1.52k stars 456 forks source link

Blazor Support #667

Open sianmace opened 8 months ago

sianmace commented 8 months ago

Can anyone tell me if there is any support for using Castle Windsor as DI for Blazor? in particular blazor web assembly

I can see that blazor has a ConfigureContainer method that can be used but im not sure how to go about using it.

public void ConfigureContainer(IServiceProviderFactory factory, Action? configure = null)

Any demos out there?

hxhieu commented 1 month ago

Maybe this could help? https://github.com/castleproject/Windsor/blob/master/docs/net-dependency-extension.md