Upgrading a Azure function app to 3.0.0-beta8 and having som DI code break after

元气小坏坏 提交于 2019-12-25 02:28:34

问题


before i updated the dlls Config is off type JobHostConfiguration, any suggestion how to work around this?


回答1:


I have created a nuget package for my solution which fixes the issue and also has the ability to use any IoC container: https://github.com/BorisWilhelms/azure-function-dependency-injection




回答2:


I fixed this issue by implementing the DI code like in this repo

https://github.com/ryanspletzer/DependencyInjectionAzureFunction



来源:https://stackoverflow.com/questions/52150861/upgrading-a-azure-function-app-to-3-0-0-beta8-and-having-som-di-code-break-after

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!