Skip to content

BasantPandey/AzureWebJobsPlaybyPlay

Repository files navigation

Play by Play Series on Azure Web Jobs

Play by Play Series contains the list of videos that help you to learn the WebJobs from the scratch that includes Azure Web jobs, SharePoint and PowerShell.

Introduction with Web Jobs?

  • Provide the ability to run the background task.

Web Jobs Types

  • Continues
    • Start immediately, when job created. Run On All the Instance (Load balancing).
    • You also restrict to run in the single instance
    • Support remote debugging
  • Triggered
    • Start only when triggered manually or on schedule.
    • Runs on single instance
    • Doesn’t support the remove debugging

Supported file types

  • .cmd, .bat , .exe , .ps1 (poweshell, .sh (Bash), .Php(Php), .py (Python), .js( Node.js) and .jar(Java)

Develop Web jobs (Examples)

(1/7) WebJobs: Play by Play Series on Azure WebJobs

(2/7)WebJobs: Introduction

(3/7) WebJobs : Azure Portal Overview

Setup Environment

(4/7) WebJobs: Setup Environment

Configure Web Jobs

(5/7) WebJobs: Configure Azure WebJobs

Demo : Write First Test Program

Read Web Application Setting values from inside the Azure WebJobs.

  • How to use the PNP SharePoint PowerShell Dlls
  • Download the dependency in local using Save-Module command.
  • Include the reference in project
    • Read the site Info from PNP SharePoint PowerShell Dllls.

(6/7) WebJobs: Write First Test Program (Introduction)

(6/7) WebJobs: Write First Test Program (Create Site Collection)

(6/7) WebJobs: Write First Test Program (Install PowerShell Module)

(6/7) WebJobs: Write First Test Program (Final)

Integration with SharePoint Online using PNP PowerShell Modules

<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" />
<AppPermissionRequest Scope="http://sharepoint/social/tenant" Right="Read" />
<AppPermissionRequest Scope="http://sharepoint/taxonomy " Right="Read" />
</AppPermissionRequests>

(7/7) WebJobs:  Register SharePoint App

(7/7) WebJobs:  Connect to the SharePoint and deploy as an Azure WebJobs

(7/7) WebJobs: Connect SharePoint Using Username and password and deploy as WebJobs

(7/7) WebJobs:  Connect to the SharePoint and deploy as an Azure WebJobs