Building solutions with the SharePoint Framework - introduction
-
Upload
waldek-mastykarz -
Category
Technology
-
view
740 -
download
1
Transcript of Building solutions with the SharePoint Framework - introduction
of customers are leveraging cloud for their applications—from pilots to production apps1
72%
2003 2007 2010 20132001
2000
Sources:1. 451 Research, Hosting and Cloud Study, 2014
Full Trust CodePartial Trust Code
Microsoft Managed Solutions
Microsoft Online Services
App Model
2016
Accelerating web development
2013
Full Trust CodePartial Trust Code
App Model
Enterprise-Grade
Modern Toolchain
User Focused
Customer
PatternsMicrosoftConsistentPlatform
UX Extensions Data Access Eventing Solutions HostCustom Presentation
2016 Client Side and Open Source
Client Side and Remotely Hosted
REST and Cleaner Contracts
Web Hooks and Web Sockets
Cloud SaaS and Client Side Logic
Accelerating web development
Working with a SharePoint Framework project• yo @microsoft/sharepoint – create new project/add new
web part• gulp bundle – build & bundle project• gulp serve – bundle project and start workbench• gulp package-solution – build solution package (.spapp)• --ship argument to execute a release build
Web property pane• Reactive by default• Switch to non-reactive when retrieving data from web services
protected get disableReactivePropertyChanges(): boolean { return true;}
Web requests in web parts• Use HttpClient when communicating with SharePoint• Use BaseHttpClient when communicating with other APIs