Jerry Yasir SharePoint Server MVP MCT Sr SharePoint Architect US Tech Solutions jerryyasir Introduction Type of Apps PreConfiguration Demo App Catalog Agenda Evolution of SharePoint Development ID: 308959
Download Presentation The PPT/PDF document "Building SharePoint 2013 Apps 101" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1
Building SharePoint 2013 Apps 101
Jerry Yasir SharePoint Server MVP, MCTSr. SharePoint ArchitectUS Tech Solutions
@jerry_yasirSlide2
Introduction Type of AppsPre-Configuration
DemoApp CatalogAgendaSlide3
Evolution of SharePoint Development
2007
SharePoint
IIS
Code runs from GAC on same w3wp.exe
as SharePoint web application
2010
SharePoint
IIS
Sandbox
Code runs on SPUCWorkerProcess.exe or calls
client.svc
(CSOM)
2013
SharePoint
IIS with _
api
App
Code runs outside of SharePoint but has trust to leverage capabilities exposed in _
apiSlide4
What's the Problem
Code Based on DLLs Runs on ServerBad Code can effect your farmUpgrading Solutions can be difficultPermissions are difficult to handleImpersonate or not to impersonate or use user permissionsSlide5
Build a new class of apps that
extend and
personalize
the way we create
and
consume information
right from within Office and SharePoint
The new cloud app model
New Apps
A new class of apps
enabling
new
scenarios
and
new user experiences
Flexible Lifecycle
Deploy and
maintain your apps publically
on the new Office Store, or internally withFlexibility and control
Familiar ToolsetsEmbracing Web standards to provide developers choice and flexibilitySlide6
Apps for SharePoint
Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website.
Apps integrate the best of the web and SharePoint; they are
targeted and
easy-to-use, and do a great job at solving a user need. Slide7
App Hosting Options
SharePoint-Hosted App
Provision an isolated sub web on a parent
web (separate domain)
Reuse web elements
(lists, files, out-of-box web parts)
No server code allowed; use client JavaScript for logic, UX
Provider-Hosted
App
“Bring your own server
hosting infrastructure and technology platform”
Get remote events from SharePoint
Use CSOM/REST +
OAuth
to work with SP
Cloud-based Apps
Your Hosted Site
Autohosted
App
Windows Azure + SQL Azure provisioned invisibly as apps are installed
Azure
SharePoint
Host Web
App
Web*
(separate SharePoint domain)
SharePoint
Host Web
App
Web*
(separate SharePoint domain)
SharePoint
Host Web
App Web
(separate SharePoint domain)
*App Webs are optional in Cloud-Hosted Apps
SharePoint
CloudSlide8
GuidelineSharePoint
App Management Configuration Slide9
Office Developer Tools for Visual Studio 2012
Multitenant SharePoint DeploymentOffice 365NAPAService Application
App Management ServiceSite Subscription Management Service
Configuring SharePoint for Apps DevelopmentSlide10
Site ScopeInstalled on a site called “Host Web”Tenancy-Scoped Installation
Installed on site called “App Catalog Site”Single App for All WebApp InstallationSlide11
App ManifestPermissionsStart Page URL
App WebHost WebAn App Can not Access Host Web Directly (Prevent Cross Site Scripting)App-Hosted Domain and App URLApps for SharePoint – Things to KnowSlide12
Start PageApp PartsUI Custom Actions
Cloud Hosted AppsChrome ControlDirect CSS Reference using JavaScriptApps UISlide13
SharePoint 2013 Apps with DemoSlide14
Manifested and Lives Inside SharePoint No Server Side Code AllowedConsists of ASPX Pages that includes
HTML5, CSS, JavaScript, jQueryREST and ODataSharePoint Hosted AppSlide15
A SharePoint Hosted AppDemoSlide16
Auto-Hosted App Lifecycle
App Developer
Tenant Admin
Site Owner
Site Owner
Site Owner
Site Owner
App Catalog
SharePoint Store
(Office Marketplace)
Tenant A
Tenant B
.app
.app
.app
Web Site
SQL DB
Workflow
Web Site
SQL DB
Workflow
Web Site
SQL DB
Workflow
Web Site
SQL DB
WorkflowSlide17
An Auto-Hosted AppDemoSlide18
Deployment of Remote Web is by ChoiceThe Deployed to Remote Web on Remote Web Server
Remote Web + Database Must be Deployed FirstProvider Hosted AppsSlide19
A Basic Provider Hosted AppDemoSlide20
SharePoint 2013 App CatalogDemoSlide21
New Cloud Based App ModelApps code out of SharePoint2 Categories of App
SharePoint HostedCloud Hosted3 Types of AppsSharePoint Hosted AppsAzure Auto-Hosted AppsProvider Hosted AppsConfiguration of App Development
App Management Service App + Site Subscription Server + App Domain
TakeawaysSlide22
Stick around for Q&AThanks!