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

Blazor WASM net6.0 #10

Open
peranborkett opened this issue Jan 27, 2022 · 1 comment
Open

Blazor WASM net6.0 #10

peranborkett opened this issue Jan 27, 2022 · 1 comment

Comments

@peranborkett
Copy link

Just a note for anyone else...

I experienced a few issues using this package on a Blazor WASM net6.0 solution.

In the end I found that https://www.nuget.org/packages/Caliburn.Micro.Core/ is current and contains an updated version of the EventAggregator which is working fine in my solution (Blazor.EventAggregator is based on an older version of Caliburn).

builder.Services.AddScoped<Caliburn.Micro.IEventAggregator, Caliburn.Micro.EventAggregator>();

_eventAggregator.SubscribeOnPublishedThread(this);

await _eventAggregator.PublishOnCurrentThreadAsync(new MyMessage())

@carlblanchard
Copy link

@peranborkett How are you finding the Pub/Sub pattern in Blazor? I am currently using Fluxor but I've been thinking about replacing it with the pub/sub as I used the CaliburnMicro event Aggregator in an MVVM project and loved it. I'd be interested in getting your feedback about it.

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

No branches or pull requests

2 participants