Deploying the WebJob to Azure App Services

Now that we have created the WebJob, we can deploy to Azure App Services. Go through the following steps:

  1. Navigate to the Azure portal by opening https://portal.azure.com/.
  2. Navigate to the overview page of the PacktPubToDoAPI Web App that we created in the previous demo.
  3. Under Settings, select WebJobs. Then, in the top menu, click + Add.
  4. On the next screen, add the following values:
    • NameHelloWorldWebJob.
    • File Upload: Select the HellWorldWebJob executable; you can find it in the bin folder of the Visual Studio solution.
    • Type: Triggered.
    • Triggers: Manual:

WebJob settings
  1. Then, click OK. The WebJob will be created.

That concludes this demo. In the next and last section of this chapter, we are going to enable diagnostic logs for the PacktPubToDoAPI Web App.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset