Building your first app for share point 2013

Preview:

DESCRIPTION

SharePoint 2013 provides a flexible platform and introduces the concept of SharePoint modern development. In addition to the conventional development methods, we will explore the SharePoint development tools that are part of Visual Studio 2012/2013. You will see the first class support for common app features including the app pages, lists, client parts, and more. Come learn how to develop apps using an Office 365 Developer Site, all without SharePoint installed on your developer machine!

Citation preview

Building Your First App for SharePoint 2013

Muawiyah Shannak

SharePoint ArchitectUAE-SPUG Organizer

JOIN THE COMMUNITY @UAESharePoint

KNOWLEDGE

SHARE

BE CONNECTE

D

Agenda• Development Environment

• The New App Model

• Building Your First App

• Choose the API

• Packaging & Publishing

On-Premise

SharePoint Development Environment

Cloud VMs

Hosting Office 365

Web Apps & Applications

Overview

SharePoint

Outlook and Exchange

SkyDriveLync

Office 365

Choose the right plan for your businessMake your decision based on Office applications, company size, IT controls, and advanced services

Office 365 Midsize Business

Office 365 Small Business Premium

Office 365Enterprise E3

Advan

ced

Serv

ices

Sta

ndard

Serv

ices

Offi

ce

Office Web Applications

Seat targets 1–10 11–250 >250

Voicemail, Legal Hold, Data Loss Prevention

Rights Management

Office Desktop Applications

Price (per user/month in US Dollars) $12.50 $15 $20

Basic Expanded Full

Pull Pull Push

Basic Expanded Full

Basic Expanded Full

Pull Pull Push

Email, File Sharing, Website, Conferencing

Click to Run Office Deployment

Active Directory® Integration

IT Level Phone Support

IT Administration Console

InfoPath Forms, Access, Excel, Visio Services

Office 365 Small Business

1-10

$6

Expanded

Basic

Basic

Office 365 – Try it!Demo

Site, People, Apps and themes

AppsPeopleSite Themes

Apps are mini applications that extend what you can do with the SharePoint 2013 Sites.

App Store and App Catalog

Manage AppsDemo

SharePoint 2013 Development Options

Farm-Trust Solutions

•Interested in SharePoint 2007•Hosted in the same process as SharePoint•Full server-side SharePoint API access•Deployed by a farm administrator.

Sandboxed solutions

•Interested in SharePoint 2010•Hosted in special SharePoint process•Limited server-side SharePoint API access•Deployed by site collection administrator

SharePoint App Model

•Interested in SharePoint 2013•Provides for highest level of app isolation•Much cleaner & simpler install & upgrade process•Deployed by site collection administrator & SharePoint User

WPS challenges

Farm-Trust Solutions

• Prone to stabilization issues

• Challenging to upgrade• Unfeasible on hosted

platform• consuming server

resources• No control on the data

access • Deploy Downtime

Sandboxed solutions

• Too strict for developers• Hard to maintain and scale• Confusing for site owners

What is an app ( The story )?

Microsoft SharePoint Product Team chat about SharePoint future

Let’s make SP custom components as mobile apps:

Wide Developers Platforms Isolated

Process Access Control Components

Familiar user experience App store

The story …

Site Contents (Apps)

The story …

List App

Library App

Custom App

SP Web (http://domain.com/sitename)

Custom App

Web Site (ASP, PHP …)(http://cloudappdomain.com)

Wide Developers Platforms Isolated

Process Access Control

Familiar user experience App store

SP Web (App Web) (http://appname.appdomain.com)

Host Web

App Web

Page

Page

SP web (Host Web)

Page

Iframe

The story … Isolated Components

End User (Business Value)

•Familiar user experience •Apps Store and Apps Catalog

Admin

•Isolation (Process and Page parts)•Multiple options for hosting•Access control

Developer

•Familiar tools and a rich set of features•Flexible Environment•Fast deploy and test

The story (advantages) …

SharePoint Developer Site

Create Developer SiteDemo

Microsoft Office Developer Tools for Visual Studio 2012/2013

Create rich, immersive apps for Office and SharePoint using the premiere tool for professional

developers.

Build App Using VS 2012Demo

Implement complete app experiences

to satisfy business scenarios

Full-Page App Parts

Create app parts that can interact

with the SharePoint experience Custom

Actions

Add new commands to the ribbon and item

menus

SharePoint Shapes

App PartsDemo

Where does the code for an app run?

SharePoint-hosted appsapp is hosted in SharePoint itself, the code is HTML and JavaScript and is hosted by SharePoint.

Cloud-hosted (Provider-hosted and auto-hosted apps)These apps run on your server or in the cloud, depending on how you choose to host your app.

Choose the right API set in SP 15

Packaging & Publishing

Development Site Collection

Developer

App Catalog Site Collection

Administrator

Teams\publish Site Collection

User

Packaging & PublishingDemo