PnP Web Cast - SharePoint Client Side Development and Cross-Origin Resource Sharing (CORS)

Play PnP Web Cast - SharePoint Client Side Development and Cross-Origin Resource Sharing (CORS)
Sign in to queue


In this PnP Web Cast we concentrated on the Cross-Origin Resources Sharing (CORS) considerations in JavaScript development with SharePoint customization's. Web cast concentrates on explaining the challenge and reasoning around CORS, including multiple options how to address that in your customization.

In demo section Patrick is showing following topics

  • How to call SharePoint host web from SharePoint hosted add-in using Cross Domain Library
  • How to call external resources from SharePoint hosted add-in using web proxy
  • How to call ASP.NET Web API hosted in Azure from JavaScript embedded to SharePoint sites

Calling Web API from the embedded JavaScript is a great way to be able to take advantage of Azure capabilities directly from the SharePoint. Demo also shows the needed configuration for the Azure hosted Web API and how to secure that in away that only calls from the allowed Office 365 are accepted.

Web cast presenters: Patrick Rodgers, Vesa Juvonen

Patrick is a Senior Program Manager from Office 365 engineering and Office 365 Dev PnP Core team member. 

Presentation used in this web cast is available from

Addition resources

See following PnP videos for covering JavaScript embedding pattern.

See following resources around the covered topics

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


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



Download this episode

The Discussion

  • User profile image

    Excellent presentation, this topic has given me many headaches in the past but I will keep this presentation in my favorites folder. There will definitely be a situation in the future where I need this kind of information.

Add Your 2 Cents