SP Apps, New Model, New App Store: The Office Store

Juan Carlos Gonzalez
Juan Carlos GonzalezMicrosoft 365 Apps & Services MVP | Microsoft 365 SME at CompartiMOSS
SP Apps, New Model, New App
Store: The Office Store
Alberto Díaz Martín (@adiazcan)
Juan Carlos González Martín (@jcgm1978)
Session Agenda
• Overview of the SharePoint Apps model
• SharePoint-Hosted Apps
• Autohosted Apps
• Provider-Hosted Apps
• Development Tools & Technologies
• Show me the money: The Office Store
Microsoft Vision: Modernizing the Platform
Today’sMarket Today’sTrends Our Principles
Evolution of SharePoint Development
2007 2010 2013
So…What are SharePoint Apps?
• Apps are self-contained pieces of functionality that extend the
capabilities of a SharePoint site
• Apps integrate the best of the web and SharePoint; they are
targeted and easy-to-use, and do a great job at solving user
needs
App
App ManifestWeb Page
<XML>HTML/CSS/JS
The Result: A new Cloud Apps Model
ServerClient
BrowserHost
Common Apps Architecture
WebServerHost
SharePoint
& Exchange
OtherDevices
&Clients
Office
APP
3rdPartyServices
ClientAPIs
ServerAPIs
App Permissions
• App permissions are configured in the App manifest:
– Developers specify the permissions the App needs to be able to
run
• Apps request permissions during installation:
– Granting App permissions is all or nothing – It’s not possible to
pick or choose what permissions are granted to the App
• App permissions are granted by the user installing and
executing the App:
– Users can only grant the permissions they have
CREATING A SHAREPOINT APP WITH
NAPA
DEMO
Apps Hosting Models
 “Bring your own server
hosting infrastructure”
 Your hosted site
Any Web Server
(Online or On-premises)
SharePoint
(Online)
Windows Azure
 Host your code in SharePoint
 Client side technologies and
declarative workflows
SharePoint
(Online or On-premises)
Cloud-based Apps:
 Get remote events from SharePoint
 Use CSOM/REST + OAuth to work with SP
 Reuse web elements
(lists, files, out-of-box web parts)
 No server code allowed; use client
JavaScript for logic, UX
App Hosting Models
• Cloud-Hosted vs. SharePoint-Hosted?
Cloud Hosted Apps SharePoint Hosted Apps
Preferred hosting model for almost all types
of apps
Good for smaller apps & resource storage
Full power of web – choose your
infrastructure & technology
SharePoint-based; no server-side code
May require your own hosting Automatically hosted in SharePoint
May require you own handling of
multitenancy & permission management
Inherent multitenancy & isolation
SharePoint-Hosted Apps
• Why SharePoint-Hosted Apps?
INHERENT
MULTI-TENANCY
& ISOLATION
NO ADDITIONAL
COST
NO NEED FOR
ADDITIONAL
INFRASTRUCTURE
AUTHENTICATION
IS AUTOMATIC
SYMMETRIC
IN OFFICE 365
AND ON-PREM
SharePoint component isolation
• 1 app installation = 1 “app web”
• App webs are isolated in their own domain:
• Leverages web browser same-origin policy for script isolation
Host
web
App
web
https://contoso.sharepoint.com/site/
https://contoso-appUID.sharepoint.com/site/app/
App Layers & Components
Data Layer
• Lists & Libraries:
• Fields & Content
Types
• Data Stored in
Content DB
• WebProxy: Any data
source
• App scoped BDC
models & ECTs
Business Layer
• JavaScript:
• CSOM & REST API
• Workflows
• Custom Actions
UX Layer
• Declarative Pages &
HTML Pages
• Custom Actions
• OOB Web Parts
• App Parts
• Other elements:
• CSS files
Business Layer – JS CSOM & REST API
• JavaScript CSOM:
• REST/OData:
var ctx = new SP.ClientContext("http://mydomain-appUID.spo.com/site/app");
ctx.load(ctx.get_web().get_title());
ctx.executeQueryAsync();
http://contoso-appUID.spo.com/site/app/_api/web/Title
UX Layer - User Experience
• Get styling for free:
– App Web Template:
• Blank starting place
• SharePoint provides OOB CSS to style contents and the whole App 
Integrated & aligned with the core UX SharePoint experience
• App Master page for chroming (app.master)
• App lock down feature hides dangerous UI entry points inside appweb
• Reusable UI components:
– List view web part
– Reusable UI controls like dialogs and callouts
– Custom Actions let you extend menus, ribbon, and script
UX Layer - App Web Custom Actions
• Target to any location: Ribbon, ECB, ScriptLink
• Web scoped
• You can add your own business logic
CREATING A SHAREPOINT-HOSTED
APP IN VISUAL STUDIO
DEMO
Autohosted Apps
Tenant A
Tenant B
App Layers & Components
Data Layer
• Lists & Libraries
• Relational DBs:
• Hosted in SQL
Azure
• App scoped BDC
models & ECTs
• Others: be careful
with latency
Business Layer
• CSOM (.NET) &
REST API
• Workflows
• Custom Actions
UX Layer
• Declarative Pages
• Custom Actions
• OOB Web Parts
• App Parts
• Other elements:
• CSS files
• JS for Chroming
UX Layer - Optimizing UX
• Leverage the chrome control:
– Allows full-screen Apps to be framed in the chrome and styles
similar to the host web: placeholders for icons, breadcrumbs,
menus, …
• Import styles from host web:
– Add reference to: http://<host web
domain>/_layouts/15/defaultcss.ashx in the head of app page
• The chrome control automatically adds styles from the host web,
so this approach is only required for pages displayed in app parts
or modal windows
App Permissions
• Azure Access Control Service (ACS) plays the role of the
authorization server:
– Azure ACS stores basic information about the app and provides
apps access tokens for calling SharePoint APIs
Usage Model and Licensing
• Microsoft-owned Azure account:
– All Autohosted Apps for SharePoint are provisioned into a Microsoft-owned
Azure account that only Microsoft has access to
• Licensing through the Office 365 tenant:
– Azure hosting costs passed through to tenant…developers don’t pay for
hosting
• App Catalog:
– Great for company-specific customizations
– 1 App Catalogue per Office 365 tenant
• SharePoint Store:
– Great for ISVs or developers looking a way of monetizing SharePoint Apps
– The bad news: Autohosted Apps are not supported in the SharePoint Store yet
Autohosted Apps Key Takeaways
• Easy to Develop:
– Familiar tools, simple deployment, and automatic DR
• Simplified Upgrade:
– Autohosted Apps provide a reliable upgrade path: just deploy a new version of your App, and the
upgrade is automatically done
• Cloud Ready:
– Autohosted Apps are designed to provide an uncompromised cloud experience in Office 365
• Rich SharePoint Integration:
– New APIs allow the Autohosted Apps to run on top of Azure but richly integrated with SharePoint
• Low Cost of Entry for Developers:
– No more bulky development environment:
• A Surface Pro + Visual Studio + An Office 365 Tenant
Provider-Hosted Apps
• What technologies can we use?
Data Layer
• Any Data Store:
SQL, mySQL,
Oracle, CSV, Access,
FoxPro, DB2,
SQLite, …
• Lists & Libraries
• App scoped BDC
models & ECTs
• Indeed any data
source
Business Layer
• CSOM (.NET) +
REST API
• Use any server side
code technology of
your choice:
• .NET Code (C#,
VB.NET), CGI,
Java, Perl, Ruby,
Node.js, …
UX Layer
• UX Technologies:
• HTML4/5,
ASP.NET, JSP, …
• Client Side Code:
JavaScript, jQuery,
AJAX, PHP, …
Anything!
Development Tools & Technologies
Traditional Tools New Tools
App Shapes
Full page
Implement complete app experiences
to satisfy business scenarios
App Parts (aka Client Web Part)
Create app parts that can interact
with the SharePoint experience
UI command extensions
Add new commands to the ribbon and item
menus
App Shapes
• Client WebPart
– Wizard creates XML & page
– Shine through parts of your app
– Create convenient launch points
– Content hosted in an iFrame
• UI Extensions
– Show on the ribbon
– Add to item menu (ECB)
– Wizard creates XML
Web to SharePoint Communication
• Use of OAuth for secure communications:
– SharePoint & web application trust
third party (ACS)
• Trusted communication process using a
ClientId & a ClientSecret:
– SharePoint & ACS know the ClientId
– Web application & ACS know the
ClientSecret
Debugging Apps – Just press F5
• No app registration required:
– ClientId & ClientSecret are generated by Visual Studio for you
• IIS Express is used to host Web project:
– ~remoteAppUrl token updated so it points to an IIS Express Url
• LocalDB is used for SQL database:
– Connection string updated in web.config from SQL project
• Local workflow service is started & configured
Deploying an App from the IDE
• Supported only for SharePoint-Hosted & Autohosted
• App is packaged (.app) and provisioned to:
– SharePoint 2013 OnPremise (Only SharePoint-Hosted)
– O365 (SharePoint Online) & Azure (both App types)
Publishing an App
• Use when App is ready for…
– Testing by another person or team
– Being uploaded to the Store or the App Catalog
• SharePoint-hosted & Autohosted Apps:
– No App registration required
– Everything is included in the .app package
• Provider-hosted Apps:
– Developer must acquire ClientId & ClientSecret
– SharePoint artifacts are included in .app package
– Web assets are included in the Web Deploy package - developer must deploy
» Developer must publish & deploy SQL assets in case they are not included in the Web Deploy
package
Remote Event Receivers & App Events
• Implemented as WCF services:
– Support for synchronous and asynchronous events
• App Events:
– App install, app upgrade, app uninstalling
• http://msdn.microsoft.com/en-
us/library/office/jj220048(v=office.15).aspx
• Some Remote Event Receiver events:
– Item added, item changed, item deleted …
BUILDING A SHAREPOINT APP
FROM SCRATCH
DEMO
Office Store or
App Catalog
Consumers &
Corporate Users
Developer
Web Server
(Internet or Intranet)
App manifest (.xml)
or .app package
Document
Sharing
Office Store
• App Packaging and Deployment
Web Page
Introducing the Office and SharePoint Store
OfficeandSharePointPlatforms
Data
Visualization
Content
Management
Vertical
specific…
Function
specific….
DataMigration Infrastructure Deployment Managed
Services
FREE/
TRIAL/
PURCHASE
OFFICE
APP
VALIDATION
Choice of distribution channel
Making money on the store
adspaid apps
in-app
purchases
Making money on the store
• Paid Apps:
– The user can download and use the app, in perpetuity, for a one-time charge
• In-App purchases: purchases are done through the App once it’s installed:
– You can include in-App purchases in your App as long as you follow the Office
Store validation guidelines published by Microsoft:
• http://msdn.microsoft.com/en-us/library/office/apps/jj220035.aspx
• Through Advertisements added to the App:
– You can include Adds in your App as long as you follow the Office Store
validation guidelines published by Microsoft:
• http://msdn.microsoft.com/en-us/library/office/apps/jj220035.aspx
Making money with paid apps
per seat price organization wide price
X
subscription
The store caters a wide variety of Apps
Data
VisualizationApps span enterprise and
consumer scenarios
All apps are tested by
Microsoft before publishing
on the store
Communication
Lifestyle
Content
Management
Project
Management
Social
Reference
Financial
Management
A QUICK LOOK TO THE OFFICE
(SHAREPOINT) STORE APPS
DEMO
SP Apps, New Model, New App Store: The Office Store
1 of 43

Recommended

Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API by
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APIBuilding SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APISharePointRadi
9.8K views34 slides
Sharepoint 2013 App by
Sharepoint 2013 AppSharepoint 2013 App
Sharepoint 2013 AppTrimantra Software Solutions
297 views26 slides
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ... by
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...
Developing SharePoint 2013 apps with Visual Studio 2012 - Microsoft TechDays ...Bram de Jager
4.2K views34 slides
Introducing the new SharePoint 2013 app model by
Introducing the new SharePoint 2013 app modelIntroducing the new SharePoint 2013 app model
Introducing the new SharePoint 2013 app modelJeremy Thake
2.6K views52 slides
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti... by
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...
Developing SharePoint 2013 apps with Visual Studio 2012 - SharePoint Connecti...Bram de Jager
19.8K views34 slides
SharePoint 2013 App or Not to App by
SharePoint 2013 App or Not to AppSharePoint 2013 App or Not to App
SharePoint 2013 App or Not to AppKenneth Maglio
2K views35 slides

More Related Content

What's hot

App Model For SharePoint 2013 by
App Model For SharePoint 2013App Model For SharePoint 2013
App Model For SharePoint 2013Toni Il Caiser
1.2K views32 slides
MSDN - SharePoint 2013 to app or not to app by
MSDN - SharePoint 2013 to app or not to appMSDN - SharePoint 2013 to app or not to app
MSDN - SharePoint 2013 to app or not to appJoris Poelmans
634 views33 slides
Designing SharePoint solutions – Big Decisions for Big Success by
Designing SharePoint solutions – Big Decisions for Big SuccessDesigning SharePoint solutions – Big Decisions for Big Success
Designing SharePoint solutions – Big Decisions for Big SuccessSPC Adriatics
1.4K views24 slides
Developer’s Independence Day: Introducing the SharePoint App Model by
Developer’s Independence Day:Introducing the SharePoint App ModelDeveloper’s Independence Day:Introducing the SharePoint App Model
Developer’s Independence Day: Introducing the SharePoint App Modelbgerman
633 views26 slides
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh... by
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...Nik Patel
9.4K views34 slides

What's hot(20)

App Model For SharePoint 2013 by Toni Il Caiser
App Model For SharePoint 2013App Model For SharePoint 2013
App Model For SharePoint 2013
Toni Il Caiser1.2K views
MSDN - SharePoint 2013 to app or not to app by Joris Poelmans
MSDN - SharePoint 2013 to app or not to appMSDN - SharePoint 2013 to app or not to app
MSDN - SharePoint 2013 to app or not to app
Joris Poelmans634 views
Designing SharePoint solutions – Big Decisions for Big Success by SPC Adriatics
Designing SharePoint solutions – Big Decisions for Big SuccessDesigning SharePoint solutions – Big Decisions for Big Success
Designing SharePoint solutions – Big Decisions for Big Success
SPC Adriatics1.4K views
Developer’s Independence Day: Introducing the SharePoint App Model by bgerman
Developer’s Independence Day:Introducing the SharePoint App ModelDeveloper’s Independence Day:Introducing the SharePoint App Model
Developer’s Independence Day: Introducing the SharePoint App Model
bgerman633 views
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh... by Nik Patel
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...
Understanding SharePoint 2013 Code Deployment Models - Apps vs Solutions - Sh...
Nik Patel9.4K views
Oauth and SharePoint 2013 Provider Hosted apps by James Tramel
Oauth and SharePoint 2013 Provider Hosted appsOauth and SharePoint 2013 Provider Hosted apps
Oauth and SharePoint 2013 Provider Hosted apps
James Tramel3.1K views
Best Practices Configuring And Developing Share Point Solutions by Alexander Meijers
Best Practices Configuring And Developing Share Point SolutionsBest Practices Configuring And Developing Share Point Solutions
Best Practices Configuring And Developing Share Point Solutions
Alexander Meijers810 views
Automating SQL Server Database Creation for SharePoint by Talbott Crowell
Automating SQL Server Database Creation for SharePointAutomating SQL Server Database Creation for SharePoint
Automating SQL Server Database Creation for SharePoint
Talbott Crowell2.1K views
Developing hybrid SharePoint apps that run on-premise and in the cloud - ESPC... by Bram de Jager
Developing hybrid SharePoint apps that run on-premise and in the cloud - ESPC...Developing hybrid SharePoint apps that run on-premise and in the cloud - ESPC...
Developing hybrid SharePoint apps that run on-premise and in the cloud - ESPC...
Bram de Jager12.8K views
SharePoint 2013 apps overview by Elie Kash
SharePoint 2013 apps overviewSharePoint 2013 apps overview
SharePoint 2013 apps overview
Elie Kash26.7K views
Sviluppare App per Office 2013 e SharePoint 2013 by Giuseppe Marchi
Sviluppare App per Office 2013 e SharePoint 2013Sviluppare App per Office 2013 e SharePoint 2013
Sviluppare App per Office 2013 e SharePoint 2013
Giuseppe Marchi1.1K views
Developing Apps for SharePoint Store by Kashif Imran
Developing Apps for SharePoint StoreDeveloping Apps for SharePoint Store
Developing Apps for SharePoint Store
Kashif Imran1K views
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in... by Nik Patel
SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in...
Nik Patel18.5K views
Envision IT - Application Lifecycle Management for SharePoint in the Enterprise by Envision IT
Envision IT - Application Lifecycle Management for SharePoint in the EnterpriseEnvision IT - Application Lifecycle Management for SharePoint in the Enterprise
Envision IT - Application Lifecycle Management for SharePoint in the Enterprise
Envision IT541 views
Develop business apps cross-platform development using visual studio with x... by Alexander Meijers
Develop business apps   cross-platform development using visual studio with x...Develop business apps   cross-platform development using visual studio with x...
Develop business apps cross-platform development using visual studio with x...
Alexander Meijers2.5K views
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ... by SPTechCon
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 2: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
SPTechCon1.1K views
Intro apps by BIWUG
Intro appsIntro apps
Intro apps
BIWUG1.2K views

Similar to SP Apps, New Model, New App Store: The Office Store

Cloud-Based App Development using SharePoint 2013, Office 365 and Azure by
Cloud-Based App Development using SharePoint 2013, Office 365 and AzureCloud-Based App Development using SharePoint 2013, Office 365 and Azure
Cloud-Based App Development using SharePoint 2013, Office 365 and AzureTobias Lekman
2.7K views29 slides
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012 by
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012NCCOMMS
777 views35 slides
Developing Apps for SharePoint 2013 by
Developing Apps for SharePoint 2013Developing Apps for SharePoint 2013
Developing Apps for SharePoint 2013SPC Adriatics
1.1K views26 slides
SharePoint 2013 APIs demystified by
SharePoint 2013 APIs demystifiedSharePoint 2013 APIs demystified
SharePoint 2013 APIs demystifiedSPC Adriatics
4.7K views57 slides
Custom Development in SharePoint – What are my options now? by
Custom Development in SharePoint – What are my options now?Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?Talbott Crowell
5.5K views38 slides
SharePoint Apps model overview by
SharePoint Apps model overviewSharePoint Apps model overview
SharePoint Apps model overviewEurofins GSC Lux sarl
1.5K views37 slides

Similar to SP Apps, New Model, New App Store: The Office Store(20)

Cloud-Based App Development using SharePoint 2013, Office 365 and Azure by Tobias Lekman
Cloud-Based App Development using SharePoint 2013, Office 365 and AzureCloud-Based App Development using SharePoint 2013, Office 365 and Azure
Cloud-Based App Development using SharePoint 2013, Office 365 and Azure
Tobias Lekman2.7K views
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012 by NCCOMMS
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012
SPCA2013 - Developing SharePoint 2013 Apps with Visual Studio 2012
NCCOMMS777 views
Developing Apps for SharePoint 2013 by SPC Adriatics
Developing Apps for SharePoint 2013Developing Apps for SharePoint 2013
Developing Apps for SharePoint 2013
SPC Adriatics1.1K views
SharePoint 2013 APIs demystified by SPC Adriatics
SharePoint 2013 APIs demystifiedSharePoint 2013 APIs demystified
SharePoint 2013 APIs demystified
SPC Adriatics4.7K views
Custom Development in SharePoint – What are my options now? by Talbott Crowell
Custom Development in SharePoint – What are my options now?Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?
Talbott Crowell5.5K views
Come riprogettare le attuali farm solution di share point con il nuovo modell... by Fabio Franzini
Come riprogettare le attuali farm solution di share point con il nuovo modell...Come riprogettare le attuali farm solution di share point con il nuovo modell...
Come riprogettare le attuali farm solution di share point con il nuovo modell...
Fabio Franzini437 views
(Almost) All About Apps for SharePoint 2013 by Dragan Panjkov
(Almost) All About Apps for SharePoint 2013(Almost) All About Apps for SharePoint 2013
(Almost) All About Apps for SharePoint 2013
Dragan Panjkov3.7K views
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ... by SPTechCon
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
Tutorial, Part 1: SharePoint 101: Jump-Starting the Developer by Rob Windsor ...
SPTechCon17.4K views
The SharePoint 2013 App Model by SPC Adriatics
The SharePoint 2013 App ModelThe SharePoint 2013 App Model
The SharePoint 2013 App Model
SPC Adriatics18K views
Developing a Provider Hosted SharePoint app by Talbott Crowell
Developing a Provider Hosted SharePoint appDeveloping a Provider Hosted SharePoint app
Developing a Provider Hosted SharePoint app
Talbott Crowell8.1K views
Prepararsi a spostare le proprie applicazioni share point su office 365 by Giuseppe Marchi
Prepararsi a spostare le proprie applicazioni share point su office 365Prepararsi a spostare le proprie applicazioni share point su office 365
Prepararsi a spostare le proprie applicazioni share point su office 365
Giuseppe Marchi852 views
Sonja madsen speaker slides espc 2013 by Sonja Madsen
Sonja madsen speaker slides espc 2013Sonja madsen speaker slides espc 2013
Sonja madsen speaker slides espc 2013
Sonja Madsen622 views
Developing a provider hosted share point app by Talbott Crowell
Developing a provider hosted share point appDeveloping a provider hosted share point app
Developing a provider hosted share point app
Talbott Crowell4K views
Real World SharePoint Framework and Azure Services by Brian Culver
Real World SharePoint Framework and Azure ServicesReal World SharePoint Framework and Azure Services
Real World SharePoint Framework and Azure Services
Brian Culver559 views
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development by Sébastien Levert
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 DevelopmentSharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
SharePoint Saturday Calgary 2017 - From SharePoint to Office 365 Development
Access share point-2013-data-with-provider-hosted-apps by Alexander Meijers
Access share point-2013-data-with-provider-hosted-appsAccess share point-2013-data-with-provider-hosted-apps
Access share point-2013-data-with-provider-hosted-apps
Alexander Meijers2.4K views
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development by Sébastien Levert
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 DevelopmentSharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
SharePoint Fest Seattle 2018 - From SharePoint to Office 365 Development
Getting started with SharePoint 2013 online development by Jeremy Thake
Getting started with SharePoint 2013 online developmentGetting started with SharePoint 2013 online development
Getting started with SharePoint 2013 online development
Jeremy Thake15.7K views

More from Juan Carlos Gonzalez

Boost your Teams Meetings to the next level with Teams Premium by
Boost your Teams Meetings to the next level with Teams PremiumBoost your Teams Meetings to the next level with Teams Premium
Boost your Teams Meetings to the next level with Teams PremiumJuan Carlos Gonzalez
3 views53 slides
Stream en SharePoint en detalle by
Stream en SharePoint en detalle Stream en SharePoint en detalle
Stream en SharePoint en detalle Juan Carlos Gonzalez
23 views43 slides
Power Platform y Teams: ¿Qué platos tengo en mi menú? by
Power Platform y Teams: ¿Qué platos tengo en mi menú?Power Platform y Teams: ¿Qué platos tengo en mi menú?
Power Platform y Teams: ¿Qué platos tengo en mi menú?Juan Carlos Gonzalez
38 views36 slides
Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue... by
Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue...Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue...
Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue...Juan Carlos Gonzalez
33 views49 slides
Stream on SharePoint, an overview - JcGonzalez.pptx by
Stream on SharePoint, an overview - JcGonzalez.pptxStream on SharePoint, an overview - JcGonzalez.pptx
Stream on SharePoint, an overview - JcGonzalez.pptxJuan Carlos Gonzalez
145 views43 slides
Shared channels in Microsoft Teams, an overview by
Shared channels in Microsoft Teams, an overview Shared channels in Microsoft Teams, an overview
Shared channels in Microsoft Teams, an overview Juan Carlos Gonzalez
46 views33 slides

More from Juan Carlos Gonzalez(20)

Boost your Teams Meetings to the next level with Teams Premium by Juan Carlos Gonzalez
Boost your Teams Meetings to the next level with Teams PremiumBoost your Teams Meetings to the next level with Teams Premium
Boost your Teams Meetings to the next level with Teams Premium
Power Platform y Teams: ¿Qué platos tengo en mi menú? by Juan Carlos Gonzalez
Power Platform y Teams: ¿Qué platos tengo en mi menú?Power Platform y Teams: ¿Qué platos tengo en mi menú?
Power Platform y Teams: ¿Qué platos tengo en mi menú?
Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue... by Juan Carlos Gonzalez
Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue...Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue...
Digitaliza tus procesos de Aprobación con Approvals en Teams: ¿Qué hay de nue...
Digitaliza tus Aprobaciones con Approvals en Teams - JcGonzalez .pptx by Juan Carlos Gonzalez
Digitaliza tus Aprobaciones con Approvals en Teams - JcGonzalez .pptxDigitaliza tus Aprobaciones con Approvals en Teams - JcGonzalez .pptx
Digitaliza tus Aprobaciones con Approvals en Teams - JcGonzalez .pptx
Microsoft 365 Chicago - Governing Microsoft Teams Meetings by Juan Carlos Gonzalez
Microsoft 365 Chicago - Governing Microsoft Teams MeetingsMicrosoft 365 Chicago - Governing Microsoft Teams Meetings
Microsoft 365 Chicago - Governing Microsoft Teams Meetings
Solicita y comparte actualizaciones con Updates en Teams by Juan Carlos Gonzalez
Solicita y comparte actualizaciones con Updates en TeamsSolicita y comparte actualizaciones con Updates en Teams
Solicita y comparte actualizaciones con Updates en Teams
Shared channels in Microsoft Teams, an overview - JcGonzalez.pptx by Juan Carlos Gonzalez
Shared channels in Microsoft Teams, an overview - JcGonzalez.pptxShared channels in Microsoft Teams, an overview - JcGonzalez.pptx
Shared channels in Microsoft Teams, an overview - JcGonzalez.pptx
Governing Microsoft Teams Meetings: What are my options? by Juan Carlos Gonzalez
Governing Microsoft Teams Meetings: What are my options?Governing Microsoft Teams Meetings: What are my options?
Governing Microsoft Teams Meetings: What are my options?
Power Platform y Teams: ¿Qué platos tengo en mi menú? by Juan Carlos Gonzalez
Power Platform y Teams: ¿Qué platos tengo en mi menú?Power Platform y Teams: ¿Qué platos tengo en mi menú?
Power Platform y Teams: ¿Qué platos tengo en mi menú?
Digitalize your Approval processes with approvals in Microsoft Teams by Juan Carlos Gonzalez
Digitalize your Approval processes with approvals in Microsoft TeamsDigitalize your Approval processes with approvals in Microsoft Teams
Digitalize your Approval processes with approvals in Microsoft Teams
Digitaliza tus Aprobaciones con Approvals en Microsoft Teams by Juan Carlos Gonzalez
Digitaliza tus Aprobaciones con Approvals en Microsoft TeamsDigitaliza tus Aprobaciones con Approvals en Microsoft Teams
Digitaliza tus Aprobaciones con Approvals en Microsoft Teams
Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ... by Juan Carlos Gonzalez
Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ...Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ...
Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ...
Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ... by Juan Carlos Gonzalez
Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ...Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ...
Microsoft Lists o como crear aplicaciones a la velocidad de la luz para M365 ...

Recently uploaded

Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Donato Onofri
825 views34 slides
Myths and Facts About Hospice Care: Busting Common Misconceptions by
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common MisconceptionsCare Coordinations
5 views1 slide
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the... by
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...Deltares
6 views22 slides
Navigating container technology for enhanced security by Niklas Saari by
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas SaariMetosin Oy
14 views34 slides
Programming Field by
Programming FieldProgramming Field
Programming Fieldthehardtechnology
5 views9 slides
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs by
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDeltares
8 views17 slides

Recently uploaded(20)

Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... by Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri825 views
Myths and Facts About Hospice Care: Busting Common Misconceptions by Care Coordinations
Myths and Facts About Hospice Care: Busting Common MisconceptionsMyths and Facts About Hospice Care: Busting Common Misconceptions
Myths and Facts About Hospice Care: Busting Common Misconceptions
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the... by Deltares
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
DSD-INT 2023 Leveraging the results of a 3D hydrodynamic model to improve the...
Deltares6 views
Navigating container technology for enhanced security by Niklas Saari by Metosin Oy
Navigating container technology for enhanced security by Niklas SaariNavigating container technology for enhanced security by Niklas Saari
Navigating container technology for enhanced security by Niklas Saari
Metosin Oy14 views
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs by Deltares
DSD-INT 2023 The Danube Hazardous Substances Model - KovacsDSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
DSD-INT 2023 The Danube Hazardous Substances Model - Kovacs
Deltares8 views
Generic or specific? Making sensible software design decisions by Bert Jan Schrijver
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut... by Deltares
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
DSD-INT 2023 Machine learning in hydraulic engineering - Exploring unseen fut...
Deltares7 views
Dapr Unleashed: Accelerating Microservice Development by Miroslav Janeski
Dapr Unleashed: Accelerating Microservice DevelopmentDapr Unleashed: Accelerating Microservice Development
Dapr Unleashed: Accelerating Microservice Development
Miroslav Janeski10 views
Software evolution understanding: Automatic extraction of software identifier... by Ra'Fat Al-Msie'deen
Software evolution understanding: Automatic extraction of software identifier...Software evolution understanding: Automatic extraction of software identifier...
Software evolution understanding: Automatic extraction of software identifier...
DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme... by Deltares
DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme...DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme...
DSD-INT 2023 Salt intrusion Modelling of the Lauwersmeer, towards a measureme...
Deltares5 views
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated... by TomHalpin9
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
Dev-HRE-Ops - Addressing the _Last Mile DevOps Challenge_ in Highly Regulated...
TomHalpin96 views
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx by animuscrm
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
2023-November-Schneider Electric-Meetup-BCN Admin Group.pptx
animuscrm14 views
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ... by Deltares
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
Deltares11 views
Headless JS UG Presentation.pptx by Jack Spektor
Headless JS UG Presentation.pptxHeadless JS UG Presentation.pptx
Headless JS UG Presentation.pptx
Jack Spektor7 views
Fleet Management Software in India by Fleetable
Fleet Management Software in India Fleet Management Software in India
Fleet Management Software in India
Fleetable11 views
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema by Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - GeertsemaDSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
DSD-INT 2023 Delft3D FM Suite 2024.01 1D2D - Beta testing programme - Geertsema
Deltares17 views

SP Apps, New Model, New App Store: The Office Store

  • 1. SP Apps, New Model, New App Store: The Office Store Alberto Díaz Martín (@adiazcan) Juan Carlos González Martín (@jcgm1978)
  • 2. Session Agenda • Overview of the SharePoint Apps model • SharePoint-Hosted Apps • Autohosted Apps • Provider-Hosted Apps • Development Tools & Technologies • Show me the money: The Office Store
  • 3. Microsoft Vision: Modernizing the Platform Today’sMarket Today’sTrends Our Principles
  • 4. Evolution of SharePoint Development 2007 2010 2013
  • 5. So…What are SharePoint Apps? • Apps are self-contained pieces of functionality that extend the capabilities of a SharePoint site • Apps integrate the best of the web and SharePoint; they are targeted and easy-to-use, and do a great job at solving user needs App App ManifestWeb Page <XML>HTML/CSS/JS
  • 6. The Result: A new Cloud Apps Model
  • 7. ServerClient BrowserHost Common Apps Architecture WebServerHost SharePoint & Exchange OtherDevices &Clients Office APP 3rdPartyServices ClientAPIs ServerAPIs
  • 8. App Permissions • App permissions are configured in the App manifest: – Developers specify the permissions the App needs to be able to run • Apps request permissions during installation: – Granting App permissions is all or nothing – It’s not possible to pick or choose what permissions are granted to the App • App permissions are granted by the user installing and executing the App: – Users can only grant the permissions they have
  • 9. CREATING A SHAREPOINT APP WITH NAPA DEMO
  • 10. Apps Hosting Models  “Bring your own server hosting infrastructure”  Your hosted site Any Web Server (Online or On-premises) SharePoint (Online) Windows Azure  Host your code in SharePoint  Client side technologies and declarative workflows SharePoint (Online or On-premises) Cloud-based Apps:  Get remote events from SharePoint  Use CSOM/REST + OAuth to work with SP  Reuse web elements (lists, files, out-of-box web parts)  No server code allowed; use client JavaScript for logic, UX
  • 11. App Hosting Models • Cloud-Hosted vs. SharePoint-Hosted? Cloud Hosted Apps SharePoint Hosted Apps Preferred hosting model for almost all types of apps Good for smaller apps & resource storage Full power of web – choose your infrastructure & technology SharePoint-based; no server-side code May require your own hosting Automatically hosted in SharePoint May require you own handling of multitenancy & permission management Inherent multitenancy & isolation
  • 12. SharePoint-Hosted Apps • Why SharePoint-Hosted Apps? INHERENT MULTI-TENANCY & ISOLATION NO ADDITIONAL COST NO NEED FOR ADDITIONAL INFRASTRUCTURE AUTHENTICATION IS AUTOMATIC SYMMETRIC IN OFFICE 365 AND ON-PREM
  • 13. SharePoint component isolation • 1 app installation = 1 “app web” • App webs are isolated in their own domain: • Leverages web browser same-origin policy for script isolation Host web App web https://contoso.sharepoint.com/site/ https://contoso-appUID.sharepoint.com/site/app/
  • 14. App Layers & Components Data Layer • Lists & Libraries: • Fields & Content Types • Data Stored in Content DB • WebProxy: Any data source • App scoped BDC models & ECTs Business Layer • JavaScript: • CSOM & REST API • Workflows • Custom Actions UX Layer • Declarative Pages & HTML Pages • Custom Actions • OOB Web Parts • App Parts • Other elements: • CSS files
  • 15. Business Layer – JS CSOM & REST API • JavaScript CSOM: • REST/OData: var ctx = new SP.ClientContext("http://mydomain-appUID.spo.com/site/app"); ctx.load(ctx.get_web().get_title()); ctx.executeQueryAsync(); http://contoso-appUID.spo.com/site/app/_api/web/Title
  • 16. UX Layer - User Experience • Get styling for free: – App Web Template: • Blank starting place • SharePoint provides OOB CSS to style contents and the whole App  Integrated & aligned with the core UX SharePoint experience • App Master page for chroming (app.master) • App lock down feature hides dangerous UI entry points inside appweb • Reusable UI components: – List view web part – Reusable UI controls like dialogs and callouts – Custom Actions let you extend menus, ribbon, and script
  • 17. UX Layer - App Web Custom Actions • Target to any location: Ribbon, ECB, ScriptLink • Web scoped • You can add your own business logic
  • 18. CREATING A SHAREPOINT-HOSTED APP IN VISUAL STUDIO DEMO
  • 20. App Layers & Components Data Layer • Lists & Libraries • Relational DBs: • Hosted in SQL Azure • App scoped BDC models & ECTs • Others: be careful with latency Business Layer • CSOM (.NET) & REST API • Workflows • Custom Actions UX Layer • Declarative Pages • Custom Actions • OOB Web Parts • App Parts • Other elements: • CSS files • JS for Chroming
  • 21. UX Layer - Optimizing UX • Leverage the chrome control: – Allows full-screen Apps to be framed in the chrome and styles similar to the host web: placeholders for icons, breadcrumbs, menus, … • Import styles from host web: – Add reference to: http://<host web domain>/_layouts/15/defaultcss.ashx in the head of app page • The chrome control automatically adds styles from the host web, so this approach is only required for pages displayed in app parts or modal windows
  • 22. App Permissions • Azure Access Control Service (ACS) plays the role of the authorization server: – Azure ACS stores basic information about the app and provides apps access tokens for calling SharePoint APIs
  • 23. Usage Model and Licensing • Microsoft-owned Azure account: – All Autohosted Apps for SharePoint are provisioned into a Microsoft-owned Azure account that only Microsoft has access to • Licensing through the Office 365 tenant: – Azure hosting costs passed through to tenant…developers don’t pay for hosting • App Catalog: – Great for company-specific customizations – 1 App Catalogue per Office 365 tenant • SharePoint Store: – Great for ISVs or developers looking a way of monetizing SharePoint Apps – The bad news: Autohosted Apps are not supported in the SharePoint Store yet
  • 24. Autohosted Apps Key Takeaways • Easy to Develop: – Familiar tools, simple deployment, and automatic DR • Simplified Upgrade: – Autohosted Apps provide a reliable upgrade path: just deploy a new version of your App, and the upgrade is automatically done • Cloud Ready: – Autohosted Apps are designed to provide an uncompromised cloud experience in Office 365 • Rich SharePoint Integration: – New APIs allow the Autohosted Apps to run on top of Azure but richly integrated with SharePoint • Low Cost of Entry for Developers: – No more bulky development environment: • A Surface Pro + Visual Studio + An Office 365 Tenant
  • 25. Provider-Hosted Apps • What technologies can we use? Data Layer • Any Data Store: SQL, mySQL, Oracle, CSV, Access, FoxPro, DB2, SQLite, … • Lists & Libraries • App scoped BDC models & ECTs • Indeed any data source Business Layer • CSOM (.NET) + REST API • Use any server side code technology of your choice: • .NET Code (C#, VB.NET), CGI, Java, Perl, Ruby, Node.js, … UX Layer • UX Technologies: • HTML4/5, ASP.NET, JSP, … • Client Side Code: JavaScript, jQuery, AJAX, PHP, … Anything!
  • 26. Development Tools & Technologies Traditional Tools New Tools
  • 27. App Shapes Full page Implement complete app experiences to satisfy business scenarios App Parts (aka Client Web Part) Create app parts that can interact with the SharePoint experience UI command extensions Add new commands to the ribbon and item menus
  • 28. App Shapes • Client WebPart – Wizard creates XML & page – Shine through parts of your app – Create convenient launch points – Content hosted in an iFrame • UI Extensions – Show on the ribbon – Add to item menu (ECB) – Wizard creates XML
  • 29. Web to SharePoint Communication • Use of OAuth for secure communications: – SharePoint & web application trust third party (ACS) • Trusted communication process using a ClientId & a ClientSecret: – SharePoint & ACS know the ClientId – Web application & ACS know the ClientSecret
  • 30. Debugging Apps – Just press F5 • No app registration required: – ClientId & ClientSecret are generated by Visual Studio for you • IIS Express is used to host Web project: – ~remoteAppUrl token updated so it points to an IIS Express Url • LocalDB is used for SQL database: – Connection string updated in web.config from SQL project • Local workflow service is started & configured
  • 31. Deploying an App from the IDE • Supported only for SharePoint-Hosted & Autohosted • App is packaged (.app) and provisioned to: – SharePoint 2013 OnPremise (Only SharePoint-Hosted) – O365 (SharePoint Online) & Azure (both App types)
  • 32. Publishing an App • Use when App is ready for… – Testing by another person or team – Being uploaded to the Store or the App Catalog • SharePoint-hosted & Autohosted Apps: – No App registration required – Everything is included in the .app package • Provider-hosted Apps: – Developer must acquire ClientId & ClientSecret – SharePoint artifacts are included in .app package – Web assets are included in the Web Deploy package - developer must deploy » Developer must publish & deploy SQL assets in case they are not included in the Web Deploy package
  • 33. Remote Event Receivers & App Events • Implemented as WCF services: – Support for synchronous and asynchronous events • App Events: – App install, app upgrade, app uninstalling • http://msdn.microsoft.com/en- us/library/office/jj220048(v=office.15).aspx • Some Remote Event Receiver events: – Item added, item changed, item deleted …
  • 34. BUILDING A SHAREPOINT APP FROM SCRATCH DEMO
  • 35. Office Store or App Catalog Consumers & Corporate Users Developer Web Server (Internet or Intranet) App manifest (.xml) or .app package Document Sharing Office Store • App Packaging and Deployment Web Page
  • 36. Introducing the Office and SharePoint Store OfficeandSharePointPlatforms Data Visualization Content Management Vertical specific… Function specific…. DataMigration Infrastructure Deployment Managed Services
  • 38. Making money on the store adspaid apps in-app purchases
  • 39. Making money on the store • Paid Apps: – The user can download and use the app, in perpetuity, for a one-time charge • In-App purchases: purchases are done through the App once it’s installed: – You can include in-App purchases in your App as long as you follow the Office Store validation guidelines published by Microsoft: • http://msdn.microsoft.com/en-us/library/office/apps/jj220035.aspx • Through Advertisements added to the App: – You can include Adds in your App as long as you follow the Office Store validation guidelines published by Microsoft: • http://msdn.microsoft.com/en-us/library/office/apps/jj220035.aspx
  • 40. Making money with paid apps per seat price organization wide price X subscription
  • 41. The store caters a wide variety of Apps Data VisualizationApps span enterprise and consumer scenarios All apps are tested by Microsoft before publishing on the store Communication Lifestyle Content Management Project Management Social Reference Financial Management
  • 42. A QUICK LOOK TO THE OFFICE (SHAREPOINT) STORE APPS DEMO