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.
WebJobs is a feature of Azure App Service that enables you to run a program or script in the same instance as a web app, API app, or mobile app. There is no additional cost to use WebJobs. You can use the Azure WebJobs SDK with WebJobs to simplify many programming tasks.
Summary. Azure Functions offers more developer productivity than Azure App Service WebJobs does. It also offers more options for programming languages, development environments, Azure service integration, and pricing. For most scenarios, it's the best choice.
Azure App Service is a fully managed platform as a service (PaaS) offering for developers. Here are some key features of App Service: Multiple languages and frameworks - App Service has first-class support for ASP.NET, ASP.NET Core, Java, Ruby, Node. js, PHP, or Python.
Once the resource is created, go to the Azure portal, then Resource groups, followed by Resource (web app service created), then webjob Appservice. Click on “Get Publish Profile” and Download. We will use the downloaded published project in the next steps and import it into Visual Studio to publish the web job.
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).
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/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With