How to inject or use IConfiguration in Azure Function V3 with Dependency Injection when configuring a service
问题 Normally in a .NET Core project I would create a 'boostrap' class to configure my service along with the DI registration commands. This is usually an extension method of IServiceCollection where I can call a method like .AddCosmosDbService and everything necessary is 'self-contained' in the static class containing that method. The key though is that the method gets an IConfiguration from the Startup class. I've worked with DI in Azure Functions in past but haven't come across this specific