Replies: 2 comments
-
Please read Matt's answer here: It should be the same for the asp.net core as for the azure functions. |
Beta Was this translation helpful? Give feedback.
-
Hello @burkenyo, |
Beta Was this translation helpful? Give feedback.
-
I would like to be able to inject a
ServiceClient
instance into my services used in an ASP.Net Core app. I have been able to do so using theActivatorUtilities
class thus far:My biggest question is which service lifetime I should use. Currently I am using Scoped. Should I use singleton?
Beta Was this translation helpful? Give feedback.
All reactions