Get started developing apps for SharePoint 2013

Post on 21-Jan-2015

1.050 views 0 download

Tags:

description

In this webinar Muawiyah Shannak demonstrates how you can create your first SharePoint 2013 APP using Visual Studio 2012/2013. The demo includes how to register for Office 365 trial, managing SharePoint Online Site collections, describing the new App model , Choosing the right API, Packaging & Publishing the Apps.

Transcript of Get started developing apps for SharePoint 2013

Get started developing apps for SharePoint 2013

Blog: mushannak.blogspot.ae

Twitter: @MuShannak

LinkedIn: linkedin.com/in/shannak

Slideshare:

slideshare.net/MuawiyahShannak

Website: mushannak-public.sharepoint.com

Muawiyah ShannakSharePoint Architect, MCC & UAE-

SPUG Organizer

JOIN THE COMMUNITY @UAESharePoint

KNOWLEDGE

SHARE

BE CONNECTE

D

Email : uaespug@live.com

Website : uaesharepoint.org

Facebook: http://www.facebook.com/UAESharepoint

Twitter : @UAESharePoint

YouTube: http://www.youtube.com/UAESharePoint

LinkedIn: linkedin.com/groups/UAESharePoint-

4759377n

January, 2013

Online and in class sessions

20 Organizers, Speaker and

Contributor

Around 500 social media followers

Register Microsoft technical

Community

Logistics

• Questions and Interactions• Related to subject questions• Dilated questions • Questions channels : social media and our email

• Presentation & Code

• Recording

Agenda • Development Environment

• Using Apps

• The New App Model

• Building Your First App

• Choose the API

• Packaging & Publishing

Site, People, Themes and Apps

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 admin & 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 …

The story (Cloud-Hosted App)…

Site Contents (Apps)

List App

Library App

Custom App

Services

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

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

The story (SharePoint-Hosted App)…

Site Contents (Apps)

List App

Library App

Custom App

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

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

SP web

Page

(http://domain.com/sitename)

Iframe

The story (App Part)…

App Web

Page

Page

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

API SharePoint-hosted Provider-hosted Autohosted

JSOM (ECMA Script) Yes Yes Yes

JavaScript REST Yes Yes Yes

CSOM (.NET) No Yes Yes

.Net REST No Yes Yes

Packaging & Publishing

Development Site Collection

Developer

App Catalog Site Collection

Administrator

Teams\publish Site Collection

User

Packaging & PublishingDemo