04 | Apps and SharePoint Chris Johnson | SharePoint Guru Christopher Harrison | Microsoft Certified Trainer
Module Overview Developing Apps for SharePoint 20488A 08: Introducing Apps for SharePoint Developing Apps for SharePoint
Lesson 1: Overview of Apps for SharePoint 08: Introducing Apps for SharePoint Host Locations Packaging and Publishing Apps
What is a SharePoint App? 08: Introducing Apps for SharePoint A SharePoint app is a custom solution for SharePoint that runs entirely outside any SharePoint server processes App Model Design Goals: Apps must be supported both on-premises and in the cloud App code never runs within the SharePoint host environment App code accesses SharePoint data through web services App code is authenticated and runs under a distinct identity Apps are published in app catalogs and Office Store Tenants must be separated
Hosting SharePoint Apps 08: Introducing Apps for SharePoint SharePoint SharePoint Hosted App Cloud Hosted App Web Pages Scripts Style Sheets Web Pages Scripts Style Sheets Server-Side Code Databases Browser
Hosting Apps SharePoint Hosted Apps Auto-hosted apps 08: Introducing Apps for SharePoint SharePoint Hosted Apps All code runs on the client No server-side code available Completely portable Auto-hosted apps Client side code Server side code runs on Windows Azure Automatically provisioned Only available with Office 365 Remote Hosted Apps Server side codes runs wherever you like Must provide code for provisioning Available for any SharePoint implementation Emphasize that both provider hosted apps and autohosted apps are subtypes of cloud hosted apps. Their differences center on how tenants' data is isolated and how new instances of the app are provisioned.
Developer Tools and Technologies 08: Introducing Apps for SharePoint Client-Side Technologies Scripting Language Script Libraries Server-Side Technologies ASP.NET Web Pages Web Forms MVC PHP Ruby on Rails Development Environments Visual Studio 2012 Napa
Host Webs, App Webs, and Remote Webs 08: Introducing Apps for SharePoint Host Webs App Webs Remote Webs App Installation Scope App Web Domains http://contosotenant-aa46c3ffd61233.apps.contoso.com Tenancy APPUID App Web Hosting Domain
App Entry Points App Entry Points The Chrome Control Start Page 08: Introducing Apps for SharePoint App Entry Points Start Page App Parts UI Custom Commands The Chrome Control Use the Chrome Control to inherit style and links from the host web in a cloud app
Data Storage and Access 08: Introducing Apps for SharePoint Client Side Object Model .NET Framework Object Model REST API SharePoint Host Web App Authentication App Web Data Outside SharePoint Web services for SharePoint hosted apps Server side code available for cloud hosted apps
Packaging and Publishing Apps 08: Introducing Apps for SharePoint Packaging Apps .app file extension A package typically includes the following files: AppManifest.xml AppIcon.png Solution file Data Tier Application Package Auto hosted apps Publishing Apps Office Store App Catalogs
Lesson 2: Developing Apps for SharePoint 08: Introducing Apps for SharePoint Cross Domain Calls
Visual Studio Templates for SharePoint Apps 08: Introducing Apps for SharePoint The App for SharePoint 2013 project template Visual Studio item templates
Cross Domain Calls Using the Cross Domain Library Using the Web Proxy 08: Introducing Apps for SharePoint Using the Cross Domain Library Access content in the app web from JavaScript in a remote web SP.RequestExecutor.js AppWebProxy.aspx Using the Web Proxy Access content in SharePoint or elsewhere from JavaScript in a remote web SP.WebRequestInfo Trusting domains for cross domain calls
Hello, Apps!