Azure WebJob in .NET Core

假如想象 提交于 2019-11-27 22:03:32

问题


How do I create an Azure WebJob targeting .NET Core 1.1?

In Visual Studio 2017, the only option I'm seeing for Azure WebJob targets .NET Framework -- see below.

Under .NET Core, I don't see Azure WebJob listed.


回答1:


The VS 2017 tooling for .NET Core does not exist yet, although it is planned. It's still possible to write a Core based WebJob and deploy it manually to your Web App. But do note that the WebJob SDK (which is a whole other topic) does not yet support .NET Core (related issue here).




回答2:


This is an extremely old question, but I just want to point out that WebJobs for .NET Core is now available. However it works slightly differently in that you need to use a console app with some specific build commands rather than have an actual WebJob template.

More info/tutorials here : https://dotnetcoretutorials.com/2018/10/09/azure-webjobs-in-net-core-part-1/



来源:https://stackoverflow.com/questions/43268344/azure-webjob-in-net-core

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