Get started developing apps for SharePoint 2013

30
Get started developing apps for SharePoint 2013

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

Page 1: Get started developing apps for SharePoint 2013

Get started developing apps for SharePoint 2013

Page 2: 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

Page 3: Get started developing apps for SharePoint 2013

JOIN THE COMMUNITY @UAESharePoint

KNOWLEDGE

SHARE

BE CONNECTE

D

Page 4: Get started developing apps for SharePoint 2013

Email : [email protected]

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

Page 5: Get started developing apps for SharePoint 2013

Logistics

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

• Presentation & Code

• Recording

Page 6: Get started developing apps for SharePoint 2013

Agenda • Development Environment

• Using Apps

• The New App Model

• Building Your First App

• Choose the API

• Packaging & Publishing

Page 7: Get started developing apps for SharePoint 2013

Site, People, Themes and Apps

AppsPeopleSite Themes

Page 8: Get started developing apps for SharePoint 2013

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

2013 Sites.

Page 9: Get started developing apps for SharePoint 2013

App Store and App Catalog

Page 10: Get started developing apps for SharePoint 2013

Manage AppsDemo

Page 11: Get started developing apps for SharePoint 2013

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

Page 12: Get started developing apps for SharePoint 2013

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

Page 13: Get started developing apps for SharePoint 2013

What is an app ( The story )?

Page 14: Get started developing apps for SharePoint 2013

Microsoft SharePoint Product Team chat about SharePoint future

Page 15: Get started developing apps for SharePoint 2013

Let’s make SP custom components as mobile apps:

Wide Developers Platforms Isolated

Process Access Control Components

Familiar user experience App store

The story …

Page 16: Get started developing apps for SharePoint 2013

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)

Page 17: Get started developing apps for SharePoint 2013

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)

Page 18: Get started developing apps for SharePoint 2013

SP web

Page

(http://domain.com/sitename)

Iframe

The story (App Part)…

App Web

Page

Page

Page 19: Get started developing apps for SharePoint 2013

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) …

Page 20: Get started developing apps for SharePoint 2013

SharePoint Developer Site

Page 21: Get started developing apps for SharePoint 2013

Create Developer SiteDemo

Page 22: Get started developing apps for SharePoint 2013

Microsoft Office Developer Tools for Visual Studio 2012/2013

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

Page 23: Get started developing apps for SharePoint 2013

Build App Using VS 2012Demo

Page 24: Get started developing apps for SharePoint 2013

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

Page 25: Get started developing apps for SharePoint 2013

App PartsDemo

Page 26: Get started developing apps for SharePoint 2013

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.

Page 27: Get started developing apps for SharePoint 2013

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

Page 28: Get started developing apps for SharePoint 2013

Packaging & Publishing

Development Site Collection

Developer

App Catalog Site Collection

Administrator

Teams\publish Site Collection

User

Page 29: Get started developing apps for SharePoint 2013

Packaging & PublishingDemo

Page 30: Get started developing apps for SharePoint 2013