Enable dependency injection in C# Functions
It would be useful to have a form of DI in our C# Functions, so we can consistently inject things like our logger class, or other Autofac DI services, into every C# Function we create.
I'd like to create a SDK package which developers can import into their Function and get access to some common functionality via DI, to remove boilerplate redundancy.
Any solution for this kind of thing?
We have started work to enable this. We discuss the approach and implementation some during our webcast last month at about minute 25 here: http://aka.ms/azurefunctionslive
Update please? Is there an ETA for this feature? Is it on a roadmap somewhere?
Moez Slimi commented
Any ideas on when will this be available ?
Mike O'Connor commented
Hey team, just looking to get a rough idea of when this might be available / on your roadmap?
Jacob Møhl commented
Any news from the team. Would it be ASP.Net Core like or?
Paul Seabury commented
But you haven't provided any updates as far as I can tell to https://github.com/Azure/Azure-Functions/issues/299 . Would you be so kind to provide an update there?
This is an absolute blocker for us. Can we have some update at least?
Sean Mackey commented
Is there a place we can see updates on this feature?
Shiladitya Srivastava commented
is ther anything available now on this DI with Azure function VS2017 changes.
Any update on this?