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

Download this episode

Download Video

Description

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 http://doc.com/OfficeDevPnP.

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

Embed

Format

Available formats for this video:

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

    The Discussion

    • User profile image
      renevanduren

      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.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.