CommunityToolkit
CommunityToolkit copied to clipboard
Enhance CommunityToolkit with Blazor content.
Hi Guys,
Would be great of you can enhance the current documentation with some Blazor content. My feeling is new projects will not be done in UWP or XF but rather in MAUI and Blazor.
For example - Take IOC Documentation that only reference UWP.
How do we replicate this line in a Blazor minimal startup ?
Minimal startup example
as I would like to use something like this.
When I also use the IOC methods that the toolkit provide then it throws an error that "services have not been configured"
So I can add services with following line but then I have 2 service instance running ( 1 through normal DI and one for MVVM)
as I would also like to use cascading values in razor.
I ultimately want to use either of the following 2 statements without duplicating services. Preferable the Ioc.Default.GetService() method.
I'm probably wrong but to me it looks like I can't use MVVM with current Blazor defaults. If someone can point me in the right direction here it would be appreciated.