Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance CommunityToolkit with Blazor content. #323

Open
Pinox opened this issue Oct 5, 2023 · 0 comments
Open

Enhance CommunityToolkit with Blazor content. #323

Pinox opened this issue Oct 5, 2023 · 0 comments
Labels

Comments

@Pinox
Copy link

Pinox commented Oct 5, 2023

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.

image

How do we replicate this line in a Blazor minimal startup ?
image

Minimal startup example
image

as I would like to use something like this.
image

When I also use the IOC methods that the toolkit provide then it throws an error that "services have not been configured"
image

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.
image

I ultimately want to use either of the following 2 statements without duplicating services. Preferable the Ioc.Default.GetService() method.

image
image

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant