Skip to content

Dependency Injection on ViewModels #15630

Answered by jaymarvels
jaymarvels asked this question in Q&A
Discussion options

You must be logged in to vote

I think this is my issue, coming from a asp.net core background I was just expecting after some initial set up against the Host.CreateDefaultBuilder() that that would be enough, but looking through the docs and watching AngelSix it looks like the DI service registration is needed within the OnFrameworkInitializationCompleted

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@jaymarvels
Comment options

@timunie
Comment options

@jaymarvels
Comment options

@jaymarvels
Comment options

Answer selected by jaymarvels
@thevortexcloud
Comment options

Comment options

You must be logged in to vote
2 replies
@thevortexcloud
Comment options

@LSXAxeller
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants