backblaze
backblaze copied to clipboard
In asp.net core's dependency injection, do I need to connect first? The documentation doesn't seem to mention it.
In asp.net core's dependency injection, do I need to connect first? The documentation doesn't seem to mention it!
Configura method in the Startup file adds:
var applicationServices = app.ApplicationServices;
applicationServices.GetService<IStorageClient>()?.ConnectAsync();
Is this feasible?