Skip to content

[Question] Best practices ServiceClient & Dependency Injection #312

Answered by MattB-msft
mVermaat asked this question in Q&A

You must be logged in to vote

Scoped or Singleton uses cases are situational, IE, what are you trying to accomplish in the function or asp.net core app.
We do not have a strong opinion on it and are using both processes in different services.

Mainly what we are testing is memory and isolation management options for us in API services (function and the like), when running at scale over a long period of time. Once we settle on a specific approach, we will build it into the client as an extension. In the meantime, we may provide a sample or 2 on the PowerApps Samples site based on current work.

Replies: 7 comments 19 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
2 replies
@jordimontana82

@KimBon

Answer selected by mVermaat

You must be logged in to vote
0 replies

You must be logged in to vote
13 replies
@FarmerenHE

@rappen

@tpb1109

@FarmerenHE

@tpb1109

You must be logged in to vote
4 replies
@FarmerenHE

@khoait

@NARESHARADHYULA

@FarmerenHE

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

This discussion was converted from issue #311 on September 07, 2022 16:38.