Repository for code from my 2018-Feb-01 blog post:
Based upon work in these repos:
2018-04 About Functions V2:
I'd hoped to update this library to support Functions V2, however all of the
netstandard20-compatible releases of the SDK and the webjob assemblies throw various binding errors (most recently while running locally, and in all cases when deployed to Azure). I spent a couple days researching the problem and trying various things, and I've concluded that Functions are moving in a direction that may make custom trigger bindings impossible to build.
Unfortunately this Functions wiki even states "Custom triggers are not available for Azure Functions," and various Microsoft folks have responded to Stack Overflow questions that custom triggers aren't in-scope.
Since the service registration custom trigger is part of what made this DI library so convenient to use, and given that Microsoft is working on adding DI support to Functions (it sounds like we might have to wait for the runtime 3.0 release -- still Functions V2, terrible choice of names there), I'm not burning any more time (or Azure billing) on V2 support.
The V2 changes likely would have been pretty simple, apart from the new extensions installation/registration gynmastics (which supposedly will go away). I'll leave the changes in a separate branch in case someone else has more time to kill than I do!