Small code sample to demonstrate the new Dependency Injection feature for Azure Functions v2.
The code demonstrates how to register some services and then use Constructor Injection with your Functions class to take in the dependency that you can call from the Function endpoints.
See my blog post: https://azuregems.io/azure-functions-v2-dependency-injection