Skip to content

DataPortal.Fetch not finding my Fetch method when using [Inject] #3517

Answered by oskarjf
oskarjf asked this question in Questions
Discussion options

You must be logged in to vote

This was solved by adding this line to the Program.cs
ApplicationContext.DefaultServiceProvider = services.BuildServiceProvider();

For some reason CSLA wasn't picking up the service provider.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@oskarjf
Comment options

@rockfordlhotka
Comment options

@rockfordlhotka
Comment options

@oskarjf
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rockfordlhotka
Comment options

Answer selected by oskarjf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants