Closed bartelink closed 2 years ago
While it's not perfect, the way things work is much cleaner now in https://github.com/jet/dotnet-templates/pull/104
Updating the templates to align with more modern ASP.NET Core 6 idioms re removal of type Startup
needs to happen at some point but I'm closing it for now as it's Good Enough
There may also be a point in time when https://github.com/oskardudycz/EventSourcing.NetCore/pull/84 either presents a better example, or we backport the patterns evolving in there to here.
TL;DR remove all RunSynchronously as that was only chucked in there in the interests of getting something out
In the C# port in #5, I took the time to make the initialization a) happen as part of startup b) before loading c) without blocking a thread d) without wacky side -effects in the DI