How to work with Azure WebJobs in C# | Computing

serverpoint hosting banner

Azure WebJobs give you an easy way to schedule and execute background tasks in Microsoft Azure. The Azure WebJobs SDK simplifies the work of creating background tasks with declarative binding and trigger management features. Your Azure WebJobs then can be executed in three different ways: They can run continuously, or on a pre-defined schedule, or even on demand. In this article we will examine how we can build and deploy Azure WebJobs in .Net.

First off, you should make sure that you have Visual Studio 2017 and all of the latest updates installed. You will also need the Azure SDKs including the Azure Functions and Web Jobs Tools. You can install the Azure development tools in Visual Studio by choosing Tools -> Get Tools and Features. And you can ensure you have the latest updates to the Azure Functions and Web Jobs Tools by choosing Tools -> Extensions and Updates. 

Create an Azure WebJob project in Visual Studio

Assuming that you have Visual Studio and the Azure Functions and Web Jobs Tools installed in your , you can follow these steps to create a new Azure WebJob project in Visual Studio.

  1. Visual Studio IDE
  2. Click File -> New -> Project
  3. In the New Project Dialog Window, select the Cloud group
  4. Select Azure WebJob from the list of the project templates
  5. Specify the name and location for your project and click OK to save

You might also like More from author

Comments are closed.