SharePoint Server 2016 - Lets get ready - Wisconsin SharePoint User Group
Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx
-
Upload
eric-shupps -
Category
Technology
-
view
327 -
download
2
Transcript of Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx
![Page 1: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/1.jpg)
Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In/App ModelEric ShuppsSharePoint Server MVP
![Page 2: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/2.jpg)
About Me
@eshupps sharepointcowboywww.sharepointcowboy.-com
slideshare.net/eshupps linkedin.com/in/eshupps
Eric ShuppsSharePoint Server MVP
![Page 3: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/3.jpg)
Agenda
Design
Welcome to the dark side.
Authorization
API’s
Conversion
Deployment
![Page 4: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/4.jpg)
Design
![Page 5: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/5.jpg)
Legacy
Solution
FullTrust
Sandbox
FeatureManifestWebPart
WSP
I don’t think they like your solution. I don’t
like it either.
![Page 6: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/6.jpg)
Next Generation
Solution
OAuth REST
DataWebApp
Client
The odds of deploying your app are approximately
3,720 to 1.
![Page 7: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/7.jpg)
Architecture
SharePoint 2013
Sites ServicesContent
API
Oauth
App
Package HTML/JS Data
If you deploy me I shall become more powerful than you
can possibly imagine.
![Page 8: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/8.jpg)
Authorization
![Page 9: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/9.jpg)
• Open standard for app integration and authorization• Authentication
independent• “Valet Key”• Access• Permissions
OAuth
![Page 10: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/10.jpg)
What OAuth is NOT
Authentication
![Page 11: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/11.jpg)
How OAuth Works
User App Provider
User requests access
App requests Request Token
Provider returns Request Token
App builds auth link w/ Request
Token
User requests URL + Request Token
Provider returns access token
User requests URL + Access Token
App validates access token
Access token validated
User granted access
1
2
3
![Page 12: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/12.jpg)
OAuth in Apps
I am your token.
![Page 13: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/13.jpg)
DEMOEstablishing Context
![Page 14: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/14.jpg)
API’s
![Page 15: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/15.jpg)
Client Object Model
.NET
Compiled
Synchronous
Server Side
These are not the clients we’re looking
for.Supports NTLM
![Page 16: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/16.jpg)
DEMORetrieving List Items via CSOM
![Page 17: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/17.jpg)
JavaScript Object Model
The code is strong with this one.
JavaScript
Asynchronous
Client Side
Inherited Context
Must Run in SP
![Page 18: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/18.jpg)
DEMOCreating a Library with JSOM
![Page 19: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/19.jpg)
REST
REST
Asynchronous
Client Side
Remote Endpoints
ODATA
Async or async not. There is no sync.
![Page 20: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/20.jpg)
Unified
REST
O365 Only
Delve
Users FilesGroups
MailContact
sCalenda
r
Perhaps if you give me your token I’ll forget I found you.
![Page 21: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/21.jpg)
DEMOUploading a Document via REST
![Page 22: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/22.jpg)
Conversion
![Page 23: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/23.jpg)
Old vs. New
Web Parts App Parts
Application Pages Web Pages
Timer Jobs Web Jobs
List Templates Code
Web Templates Provisioning
Event ReceiversRemote Event Receivers
![Page 24: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/24.jpg)
DEMORemote Site Provisioning
![Page 25: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/25.jpg)
Deployment
![Page 26: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/26.jpg)
Delivery
AppCatalog
OfficeStore
Private
Package Validation
No Licensing
Public
App Validation
Licensing Framework
Get yousa apps outta meesa store!
![Page 27: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/27.jpg)
On Premise
I trust yousa. Does yousa trust
meesa?
High Trust
Certificates
Token Issuers
Client ID’s and Secrets
Low Trust
Azure ACS
Hybrid
Tokens
![Page 28: Creating Cloud-Ready Enterprise Applications with the SharePoint 2013 Add-In Model.pptx](https://reader030.fdocuments.net/reader030/viewer/2022032700/55d6afc3bb61ebe3338b4680/html5/thumbnails/28.jpg)
Azure
Single Sign On
User & Group Assignment
App Permissions
App Launcher
Azure Portal
Help me, Azure. You’re my only hope.