- Published on
- Authors
- koskila
- Tags
- azureazurefunctions
How to inject EF Core DbContext in an Azure Function
Ah, one more on the related topics of different configurations for your Azure Function apps. In this article, I will describe how you can configure the Entity Framework Core database context to be injected into your Azure Functions App. In my experience, this is a very typical and often-needed model to structure your Azure Functions. Therefore, while tooling and templates aren't quite there, it's worthwhile to document how to do this somewhere - well, here.




