Azure Functions have had native IoC since V2 — the official Microsoft documentation is quite well written and simple to follow along.
However, I found certain sections were unclear (such as logging), so here’s my guide to setting up dependency injection in Azure Functions.
I’ll go through:
- Creating the Startup class, which gives us access…