silver sponsorsgold sponsors bronze sponsors sharepoint app model redefine your sharepoint...

36
Silver Sponsors Gold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Upload: joleen-horn

Post on 22-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Silver SponsorsGold Sponsors Bronze Sponsors

SharePoint App ModelRedefine your SharePoint Customisation

Erwin TsaiSharePoint Solution Architect Techfly

Page 3: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint Farm Solution Challenges

SharePoint App Model

Remote APIs – CSOM & REST

Agenda

Page 4: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint has been used as the portal or platform.

Enterprises want their own branding and integration.

These challenges lead to the requirement of the SharePoint Customisation!

SharePoint Challenge

Page 5: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Support and Maintenance

Upgradability

The number one cost factor in project

There is no best practices applied to all organisations

One man’s best practices could be a disaster for others

Common Issues for SP Customisations

Page 6: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SP Customisation Evolution

Full Trust SolutionsNo real control

• Support is a nightmare

• Upgrade is quite a challenge

• Securing code to run in hosted

environments is effectively impossible

Custom Code

SP Code

More custom code: aspx, dlls,

web services, GAC

SandboxPartial control

App ModelControl, Trust, Manage

• Way too strict for developers

• Hard to maintain and Managed

SP Code

Sandboxed Custom

Code

App code

(client or

server)

SP Code

Isolated App

client-side code

• Host/language independent

• Management and update easily doable per app

• Emprases reusability

• No server-side sandbox, improved CSOM

Page 7: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

DEMO 1 – Classic On-Premise Branding

demonstration

Page 8: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Demo 1 RecapThe developers have the full control with no any security measurement. The Sandbox solution is deprecated in SharePoint 2013

It requires the outage for the solution deployment. It is not a sustainable model.

It is not cloud friendly. The solution cannot be deploy to the cloud.

Page 9: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Why SharePoint Appsdemonstration

Page 10: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Familiar programming model

Flexible Lifecycle

Access to SharePoint data and services

Flexible Architecture

Why SharePoint Apps

Page 11: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint App can

Page 12: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint Apps

Page 13: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Choose your hosting options

Page 14: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly
Page 15: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint Apps Comparisons

Page 16: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint-hosted App

Page 17: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint-hosted App

HTTPS://APPS-12345678ABCDEF.TECHFLYAPP.COM.AU/APP1NAME/PAGES/DEFAULT.ASPX

https:// /appname/etcAppPrefix-

UniqueID.appdomain

Page 18: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

DNS Requirement

Separate Domain for app (don’t use “app.techfly.com.au”)

Wildcard DNS entry for app domain

Wildcard SSL certificate for app domain

Service Application Requirement

Subscription Service

Apps Service Application

App Domain Configuration

SharePoint-hosted App

Page 19: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Provider-hosted App

Page 20: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Provider-hosted App – High Trust (S2S)

Page 21: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

High Trust (S2S) – Authorisation Flow

SharePoint Web Server

Client App

Users

1

2

3 4

Page 22: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Provider-hosted App – Low Trust (ACS)

Page 23: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Provider-hosted App – Low Trust (ACS)

9. SharePoint data

1. Request

STS (ACS)

SharePoint ServerClient

techflyapp.com.au

7- Access token

10. IFrame contents

5. Request IFrame contents

4. Page - IFrame

8. Request – Access token

2. Request context token

3. Signed context token

6. Refreshtoken

Page 24: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Maintenance (SDLC)

Scalability

Reusability

Potential & Flexibility

Personal Preference

Page 25: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

DEMO 2 – SP App

Branding

Page 26: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Content highlight Feel free to use slides like this to help add emphasis and showcase content where it makes sense to do so

Page 27: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Remote APIs

Page 28: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint APIs

Page 29: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Remote APIs

Remote CSOM Branding Demo

Page 30: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Demo 3 – Remote API

(CSOM)

Page 31: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Demo 3 – Remote API

(REST)

Page 32: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

REST Call for the New Navigator

Page 33: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

SharePoint App Model is a cloud friendly and great for the on premise

SharePoint-hosted App vs Provider-hosted App

Plan you new development project

Office 365 Developer Patterns & Practices

Recap

Page 34: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Question and Answer

Page 35: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Questions?Comments?More info

Contact details:

Email: [email protected]

Company: http://www.Techfly.com.au

Blog: http://tsai.com.au

LinkedIn: http://au.linkedin.com/in/erwintsai/

Twitter: @erwintsai

Related links:

http://aka.ms/OfficeDevPnP

http://technet

http://something.com

Page 36: Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly

Silver SponsorsGold Sponsors Bronze Sponsors

Thanks for listeningRemember to submit your feedback so you go in the draw to win prizes at the end of the day