在Windows Azure build keynote (2014-04-03)他们演示了 Azure WebJobs。您可以清楚地看到他们如何将当前 WebJob 与 ASP.Net 网站应用程序相关联。但是,我在 Visual Studio 2013 中没有此选项。它是否随新的 Web Features in Visual Studio 2013 Update 2 RC 一起提供? ?我还没有安装它(仍然是 RC...),但它显然不在 release notes 中。 .我已经安装了最新的 Windows Azure SDK for .NET (VS 2013) - 2.3。
在视频中,您可以看到协会的运作:
更新: 安装 Visual Studio 2013 Update 2 RC 后我仍然看不到该选项
最佳答案
刚刚找到了我一直在寻找的这个很棒的扩展:
With this extension you can right click on a web project in Visual Studio and associate a console project as a WebJob. After doing that when you publish the web project the webjob project will be published into the correct location in your Azure Web Site
http://visualstudiogallery.msdn.microsoft.com/f4824551-2660-4afa-aba1-1fcc1673c3d0
关于azure-webjobs - 在 Visual Studio 2013 中关联 Azure WebJobs,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23153732/