• No results found

SharePoint Apps with Windows Azure Platform as a Service

N/A
N/A
Protected

Academic year: 2021

Share "SharePoint Apps with Windows Azure Platform as a Service"

Copied!
34
0
0

Loading.... (view fulltext now)

Full text

(1)

SharePoint Apps with Windows

Azure Platform as a Service

Don Kirkham

Senior Engineer / Microsoft Solutions

MCPD: SharePoint

[email protected]

@DonKirkham

Christopher Webb

Senior Engineer / Microsoft Solutions

MCSM: SharePoint

[email protected]

@chriswebb18

(2)

Copyright© 2012 Microsoft Corporation

Intro/Poll

Intro/Poll

Overview of

IaaS, PaaS, SaaS

Changes in SPO

Development &

(3)
(4)
(5)

Changes to SPO Development

& Pain Points

(6)

Copyright© 2012 Microsoft Corporation

Full Trust Solutions

No real control

Support is a nightmare

Upgrade is quite a challenge

Securing code to run in hosted

environments is effectively

impossible

SP Code

More custom

code: aspx, dlls,

web services,

GAC

Sandbox

Partial control

App Model

Control, Trust, Manage

Way too strict for developers

Hard to maintain and expand

Managed by your self

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

Farm

• Full trust solutions

• Customizations to file

system of servers

• Hosted in same

process as SharePoint

• Server side SharePoint

API access

• Classic model from

2007

Sandbox

• Declarative elements

• Partially trusted code

service still included for

limited server side

support

• Hosted in isolated

process

• Limited server side

SharePoint API access

SP Apps

• New Apps model

• Deployed from

corporate catalog or

SharePoint store

• Manage permission

and licenses specifically

• Simple install and

upgrade process

• Preferred option

(7)

Classic - Full trust

solutions

• ISV solutions

• Platform level

customizations to

on-premises

• Custom service

applications

• Custom WCF services

• SharePoint

customizations, not

customer-specific

customizations

Client Side Solutions

• Server side controls as

JavaScript on page

layouts and master pages

• Remote provisioning for

elements

• Embracing un-ghosted

model

• SP App dimension with

provider-hosted apps to

provide new capabilities

• Customer-specific

customizations

SP Apps

• App catalog based

solution

• Packaged reusable

solutions built for specific

functionality

• Not only for marketplace

or store, but also as

platform for

customer-specific customizations

(8)
(9)
(10)

Copyright© 2012 Microsoft Corporation

(11)

Provider Hosted

Apps

SharePoint Farm

Remote

connectivity

ACS

End users

App Admin

Registration of apps

Approve and

publish apps

spapp_appname.contoso.com

Verification of

registration

1

6

2

3

4

5

Contoso

(12)
(13)

Scope URI

Available Rights

http://sharepoint/content/sitecollection

Read, Write, Manage, FullControl

http://sharepoint/content/sitecollection/web

Read, Write, Manage, FullControl

http://sharepoint/content/sitecollection/web/list

Read, Write, Manage, FullControl

http://sharepoint/content/tenant

Read, Write, Manage, FullControl

(14)

Copyright© 2012 Microsoft Corporation

(15)

OfficeDevPnP

(16)

Copyright© 2012 Microsoft Corporation

(17)

Site Definition

• No Office365

• Long term impact

on costs

• Blocks transition to

cloud

• Causes significant

issues with future

migration and

upgrade

Site Templates

• Poor site collection

creation story

• Negative impact on

upgrades

• Causes additional

maintenance costs

with evergreen

• Not with publishing

features

Web Templates

• Poor site collection

creation story

• Causes

maintenance costs

with evergreen

SP Server side

provisioning

• Provision oob sites,

but modify them

based on user

selection and

requirements

• Standardization of

site creation in

code

• No Office365

Remote provisioning

• CSOM supports

creation of site

collections only in

Office365

• Standardization of

site creation in

code

• Can be done from

any external system

Options

Options

available

Cost impact

(short and

long term)

Support

in cloud

(18)

Copyright© 2012 Microsoft Corporation

Provider Hosted

Apps

Assets and

configuration

Branding Images

Master Pages

Page Layouts

Other settings

Remote

Timer job

SharePoint Farm

CSOM/REST

CSOM/REST

1

2

3

4

5

(19)

Assets and

configuration

Branding Images

Master Pages

Page Layouts

Other settings

Remote

Timer job

Initial provisioning based on the out

of the box site. Usually either team site

or publishing site.

Assets are uploaded from the

provisioning engine using CSOM/REST

Apply the needed changes

(configurations etc.) on top of the

out of the box site based on the

user selection.

This is the specialization part, but

since we start from oob site, we

always get the latest improvements

to it as a base line.

1

2

3

3

3

(20)

Copyright© 2012 Microsoft Corporation

(21)

Assets and

configuration

Branding Images

Master Pages

Page Layouts

Other settings

Remote

Timer job

Initial provisioning based on the out

of the box site. Usually either team site

or publishing site.

Assets are uploaded from the

provisioning engine using CSOM/REST

Apply the needed changes

(configurations etc.) on top of the

out of the box site based on the

user selection.

This is the specialization part, but

since we start from oob site, we

always get the latest improvements

to it as a base line.

1

2

3

3

3

(22)
(23)

SharePoint Farm

Provider Hosted

Apps

Assets

1

3

2

CSOM

• Upload CSS

• Set JS Injection for CSS

to be executed in page

process

(24)
(25)

SPCSPFont files describe the font scheme

Specify New Page Layout

Select New Master Page

Specify New Background Image

olor files describe the color palette

(26)

Copyright© 2012 Microsoft Corporation

Theme

Custom Master Page

Can introduce any level of customizations

When new changes are introduced to the

out of the box master, those should be

copied to custom master pages as well

Additional maintenance burden

Future major version upgrades will cause

additional requirements to re-create the

end user experience

(27)

SharePoint Farm

Provider Hosted

Apps

Theme

elements

1

3

2

CSOM

• Upload needed files

• Set theme to site

• (Set master page to

site)

Color file

Font file

Background image

(28)

Copyright© 2012 Microsoft Corporation

SharePoint Farm

Modify oob site definition provisioning model

15\Template\Features\[StapledFeature]\

<xml>

feature.xml

<xml>

2

15\Template\Features\

[StaplerFeature]

<xml>

element.xml

3

1

4

(29)

https://*.contosoapps.com

https://intranet.contoso.com

/sites/groupx

Root

News

Organization

Teams

Search

AppWeb

Root

Sub site

AppWeb

1

2

2

3

4

4

https://intranet.contoso.com/sites/team

(30)

Copyright© 2012 Microsoft Corporation

Root

Sub site

1

Root

AppWeb

AppWeb

https://intranet.contoso.com/sites/t

eam

https://intranet.contoso.com

/sites/catalog

Root

News

Organization

Teams

Search

https://intranet.contoso.com

/sites/orgZ

https://*.contosoapps.com

4

4

2

3

(31)

Centrally deployed

Side loading

Supports adding app parts and app

custom actions to host web

Requires specific feature to be enabled

from host web for app installation

No centralized control to add or remove

the app

No UI to deploy the app cross sites

Application install/uninstall events do fire

when deployed to sites

(32)

Copyright© 2012 Microsoft Corporation

https://github.com/OfficeDev/PnP/wiki

http://blogs.msdn.com/b/vesku/archive/2014/09/0

3/office-365-developer-patterns-and-practices-introduction-to-the-program.aspx

http://dev.office.com/sample-code

Don Kirkham

Senior Engineer / Microsoft Solutions

[email protected]

@DonKirkham

Christopher Webb

Senior Engineer / Microsoft Solutions

MCSM: SharePoint

[email protected]

@chriswebb18

(33)

http://blogs.msdn.com/b/kaevans/archive/2014/04/02/de

ploying-a-sharepoint-app-to-azure-as-part-of-a-build.aspx

http://blogs.msdn.com/b/kaevans/archive/2014/03/04/bui

lding-sharepoint-2013-apps-with-windows-azure-paas.aspx

http://blogs.msdn.com/b/kaevans/archive/2014/02/24/cre

ating-a-sharepoint-2013-app-with-azure-web-sites.aspx

http://blogs.msdn.com/b/steve_fox/archive/2013/02/18/b

uilding-your-first-provider-hosted-app-for-sharepoint-using-windows-azure-part-1.aspx

http://blogs.msdn.com/b/kaevans/archive/2014/09/28/ma

king-sharepoint-apps-scale-with-azure-redis-cache.aspx

(34)

Copyright© 2012 Microsoft Corporation

http://azure.microsoft.com/en-

us/documentation/articles/websites-dotnet-webjobs-sdk-get-started/

http://blogs.msdn.com/b/richard_dizeregas_blog/arc

hive/2014/04/07/sharepoint-timer-jobs-running-as-windows-azure-web-jobs.aspx

http://blogs.msdn.com/b/kaevans/archive/2014/03/0

2/building-a-sharepoint-app-as-a-timer-job.aspx

References

Related documents

The Cerner Smart Room is a collection of health care technology solutions that improve clinical workflows and engage patients in the process of care by bridging the gap

Jelasity and Kermarrec [20] proposed the following simple gossip protocol for this problem: In each round, a node contacts a peer chosen uniformly at random, and both nodes

A range of slim profile, durable screwless wiring accessories offering a stylish solution for the home, hotel and office applications.. See main catalogue for more details Fits

Based on SMT predictions ( Khantzian, 1997 ), and established increases in negative affect premenstrually/ menstrually ( Richards et al., 2006 ), we predicted that female gamblers

Windows Azure Active Directory and the Hybrid Enterprise - Today Windows Azure Active Directory On‐premises and private cloud Other apps Other Directories Self‐Service

Workspot = Workspace as a Service (WaaS) 16&#34; VPN Windows Apps Web Apps CIFS SharePoint Native Apps Simplest User. Experience No New Boxes to Install 100% Cloud

Installing the Windows SharePoint Services 2.0, we will set up two more web sites, the SharePoint Site listening on port 8081, and the SharePoint Central Administration web

Whether it’s running in Microsoft data centers or in those of regional providers and enterprises, the Windows Azure platform offers the same PaaS benefits.. One way to understand