mookid8000 / Cirqus

:x: d60 event sourcing + CQRS framework
MIT License
233 stars 39 forks source link

Cirqus with asp.net #93

Closed brettwinters closed 5 years ago

brettwinters commented 5 years ago

Great framework, but I’m having difficulty integrating it into a asp.net application - no issues on the command side, but either the event dispatcher is not dispatching events or view managers are not handling the events

Is Cirqus compatible with asp.net? I noticed that the view manager event dispatcher gets its own dedicated background thread - how to set this up in asp.net within each request? Has someone got a demo on how to set this up in asp.net?

brettwinters commented 5 years ago

oops I blindly copied : waitHandle.WaitForAll(...).Wait(); from the console demo into my asp.net application which caused the deadlock.

Should have used async -> await waitHandle.WaitForAll(...);