PnP Web Cast - Asynchronous operations with Office 365 using Azure WebJobs

Download this episode

Download Video

Description

In this PnP Web Cast we concentrated on asynchronous operation pattern with Office 365 using Azure WebJobs. This is really powerful pattern for performing scheduled and on-demand operations, which is commonly needed for long lasting operations. Pattern is taking advantage of continuously running Azure WebJob model with communications using Azure storage queues. 

Web cast presenters: Vesa Juvonen, Bert Jansen

Typical use cases for asynchronous operations would be for example following:

  • Long running AppInstalled events
  • Long running remote event receiver events
  • Site collection or site provisioning
  • Long running integration scenarios for example to on-premises
  • Governance tasks towards sites and other Office 365 content

During the web cast we demonstrated the process with simplistic sample from the PnP sample gallery called Core.QueueWebJobUsage. This sample concentrates on showing the actual pattern without any additional complexity.

Notice. Key reason for using the asynchronous pattern is simply time out handling either in SharePoint or in Azure web sites. Good example of this challenge is for example site collection provisioning which you cannot execute in the process of Azure web site, since Azure web site has 60 second time out for the processes. This means that you'll need to offload the process for example to Azure WebJob. 

Presentation used in this web cast is available from http://docs.com/OfficeDevPnP.

Additional resources

See following PnP videos for related material on covered topics

See following samples from the PnP sample gallery for additional reference around covered topics.

See following references for additional details around Azure WebJobs

 


If you have any feedback or comments related on this web cast, please use the Office 365 Developer Patterns and Practices Yammer group to provider your input. Thx for your interest advance.

Generic Episode Image

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.