Skip to content

Issue with .NETCore Console app using EventFlow #861

Answered by frankebersoll
trikk86 asked this question in Q&A
Discussion options

You must be logged in to vote

The problem seems to be that the bootstrapper isn't called. In ASP.NET Core, this happens on startup, using an implementation of IHostedService:

https://github.com/eventflow/EventFlow/blob/develop/Source/EventFlow.AspNetCore/ServiceProvider/HostedBootstrapper.cs

You could try retrieving the IBootstrapper instance from the service provider and call StartAsync yourself. This is obviously something that needs to be integrated in the framework.

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rasmus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants
Converted from issue

This discussion was converted from issue #737 on June 11, 2021 12:53.