0% found this document useful (0 votes)
72 views16 pages

Module 4 - Apps For SharePoint

Uploaded by

Juliana Martins
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
0% found this document useful (0 votes)
72 views16 pages

Module 4 - Apps For SharePoint

Uploaded by

Juliana Martins
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1/ 16

Click to edit Master

subtitle style

04 | Apps and SharePoint

Chris Johnson | SharePoint Guru


Christopher Harrison | Microsoft Certified Trainer
Module Overview

Overview of Apps for SharePoint


• Developing Apps for SharePoint
Lesson 1: Overview of Apps for SharePoint

What is a SharePoint App?


Hosting SharePoint Apps
• Host Locations
• Developer Tools and Technologies
• Host Webs, App Webs, and Remote Webs
• App Entry Points
• Data Storage and Access
• Packaging and Publishing Apps
What is a SharePoint App?
• 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
SharePoint

SharePoint Cloud
Hosted App Hosted App

Web Pages Web Pages


Scripts Scripts
Style Sheets Style Sheets
Server-Side Code
Databases

Browser
Hosting Apps
• 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
– Client side code
– Server side codes runs wherever you like
– Must provide code for provisioning
– Available for any SharePoint implementation
Developer Tools and Technologies
• 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
• 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


– 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
• 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

• 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

Visual Studio Templates for SharePoint Apps


• Cross Domain Calls
Visual Studio Templates for SharePoint Apps

• The App for SharePoint 2013 project template


• Visual Studio item templates
Cross Domain Calls

• 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
DEMO
Hello, Apps!
©2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Office, Azure, System Center, Dynamics and other product names are or may be registered trademarks and/or trademarks in the
U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft
must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after
the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

You might also like