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

[Cross posting from dev.office.com blogs]

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.

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

Video at Channel 9.

 

Addition resources

See following PnP videos for covering JavaScript development with SharePoint in general.

See also following resources around the covered topics

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

 

What is Office 365 Developer Patterns and Practices (PnP) web cast series?

Office 365 Developer Patterns and Practices (PnP) web cast series cover different patterns, practices and topics around development with Office 365 and SharePoint. Majority of the topics are valid for the Office 365 and SharePoint on-premises. Our objective is to release new around 30-45 minute long web cast each Monday with few slides and live demo on the covered topic. All web casts are published at the PnP Channel 9 video blog with additional references on the existing materials.

PnP is community driven open source project where Microsoft and external community members are sharing their learning's around implementation practices for Office 365 and SharePoint on-premises (add-in model). Active development and contributions happen our GitHub project under dev branch and each month there will be a master merge (monthly release) with more comprehensive testing and communications. Latest activities and future plans are covered in our monthly community calls which are open for anyone from the community. Download invite from https://aka.ms/OfficeDevPnPCall.

This is work done by the community for the community without any actual full time people. It’s been great to find both internal and external people who are willing to assist and share their learning's for the benefit of others. This way we can build on the common knowledge of us all. Currently program is facilitated by Microsoft, but already at this point we have multiple community members as part of the Core team and we are looking to extend the Core team with more community members.

If you have any questions, comments or feedback around PnP program or this blog post, please use the PnP Yammer group at https://aka.ms/OfficeDevPnPYammer.

“Sharing is caring”


Vesa Juvonen, Senior Program Manager, Office 365, Microsoft - 7th of March 2016