C#C
C#3y ago
Shirro

❔ Client Api class best way to handle with depency injection

Hi guys,

I'm using a client web api parser, and i would like to know what's the best way to go regarging dependency injection.
Should i register that class as singleton and initialize it one time at the start of the app (with the api keys etc...)
Or is there any other better solution ?
Was this page helpful?