• No results found

Goals. Provide an overview of SharePoint for Windows Azure. developers. Discuss how SharePoint & Windows Azure integrate from a development and IT Pro

N/A
N/A
Protected

Academic year: 2021

Share "Goals. Provide an overview of SharePoint for Windows Azure. developers. Discuss how SharePoint & Windows Azure integrate from a development and IT Pro"

Copied!
31
0
0

Loading.... (view fulltext now)

Full text

(1)
(2)

Goals

Provide an overview of SharePoint for Windows Azure

developers

Discuss how SharePoint & Windows Azure integrate

from a development and IT Pro

(3)

Agenda

Fundamentals

Why Care?

SharePoint & Windows Azure

Where to Next?

(4)
(5)

What is SharePoint?

(6)
(7)

SharePoint Architecture

ASP.NET/IIS

Windows OS

SharePoint

Events Apps … Services Content Content DB Security Sites … Visual Studio Napa SPD Development Azure Web … Deployment

(8)

SharePoint Farm Topology

SharePoint

**

For more: http://technet.microsoft.com/en-us/library/cc263199.aspx

Web Front End

App Servers

Content DB deployment

development

(9)
(10)
(11)

SharePoint Cloud Continuum

CONTROL

C

O

S

T

-E

F

F

IC

IE

N

C

Y

SharePoint (On-premise) SharePoint Value Prop:

Full h/w control – size/scale Roll-your-own HA/DR/scale

Value Prop:

100% of API surface area Easy migration of existing apps Roll-your-own HA/DR/scale

SharePoint (IaaS)

Hosted SharePoint

Value Prop:

Auto HA, Fault-Tolerance Friction-free scale

Self-provisioning, management at scale

SharePoint Service

(12)

Server-Side Code

Mal-written server-side code can bring down SharePoint server

Strategic direction is cloud-hosted app model

Cloud-hosted apps facilitate an isolated app model off the server

Native Integration

Windows Azure and SharePoint 2013 are natively integrated

You have a variety of options when building cloud-based apps for SharePoint 2013

Extensibility

Extend your code beyond SharePoint (e.g. to customers or device)

Integrate broader Web standards (e.g. OAuth, REST, etc.) in your SharePoint apps

(13)

Windows Azure

Da ta Layer Ser vice Layer In tegra tion Layer Cli en t Layer

PC Tablet Phone Browser GamesConsole On-premises Service On-premises Database Office

SharePoint

Web/Worker Cloud Services

Media Services Web Sites Hadoop

Virtual Machines

Caching

Drive Blobs Tables Queues SQL SQL Reporting SQL Database

Storage Stream Insight

P GA

Connect

(14)
(15)

SharePoint Cloud-Hosted Apps, cont’d

Provisioned to O365-specific Windows

Azure instance

 Packaged as WSP, Web Deploy, or DACPAC

 WSP holds elements for SharePoint app web  WEBDPLOY contains code elements

 DACPAC contains SQL Azure parts

 AppManifest.xml at the root defines core

properties that connects SharePoint with Azure app

Flexible, cloud-hosted app model

 Can be packaged together

 AppManifest.xml at the root defines core

properties

 More flexible for developing web apps,

services or back-ends Windows Azure Corporate catalog Public Marketplace

SharePoint

Deploy Connect Autohosted Web Sites DatabaseSQL Provider-Hosted Web Sites DatabaseSQL Hosted

Services Service Bus Virtual

Machine Storage

Workflow Cache

AppManifest.xml

Core integration through:

• Client App Web Part

• Autohosted App

• Provider-Hosted App

• SPS Extensibility

(16)

Using the Client App Web Part

People.aspx

(ASP.NET MVC) 2 AppManifest.xml

People Data

(XML)

3

SharePoint – O365

Windows Azure

1

Client App Web Part SharePoint Site – O365

People Azure App

(17)
(18)

Creating an Autohosted Cloud App

Default.ASPX

2

AppManifest.xml

SharePoint – O365

O365 Windows Azure

1

_API

SharePoint Site – O365

List

OAuth

(TokenHelper)

(19)
(20)

Provider-Hosted Demo Architecture

SharePoint – O365

Windows Azure (Provider)

Applicant Data

3 1

Azure App

Provider-Hosted App

SP List

OAuth

(TokenHelper) 4

Default.aspx

(Read from Azure, Write to SP)

2

(21)
(22)

Creating Client ID and Secret

For single-tenant app

• Register the App

• Add the Client ID to the AppManifest • Add the Client ID and Secret to

Web.config

Also use PowerShell

and Office Store

https://..../_layouts/15/appregnew.aspx

(23)

What do the Tokens Mean?

Token Resolves to:

{AppWebUrl} The URL of the app web in an app for SharePoint. {HostLogoUrl} The logo for the host web of an app for SharePoint. {HostTitle} The title of the host web of an app for SharePoint. {HostUrl} The URL of the host web of an app for SharePoint. {ItemId} The ID of a item in a list or library (an integer). {ItemUrl} The URL of the item being acted upon.

{Language} The current language/culture of the host web of an app for SharePoint. {ListId} The ID of the current list (a GUID).

{RecurrenceId} The recurrence index of a recurring event. {Site} The URL of the current website.

{SiteCollection} The URL of the parent site of the current website. {SiteUrl} The URL of the current website.

{StandardTokens}

This combines three other tokens. It will initially resolve to

SPHostUrl={HostUrl}&SPAppWebUrl={AppWebUrl}&SPLanguage={Language}. Then each of these tokens resolves. If there is no app web, then the &SPAppWebUrl={AppWebUrl} is not present.

(24)
(25)
(26)

Windows Azure is natively supported in SharePoint 2013

Autohosted and Provider-Hosted apps are how you leverage

native integration in O365

You can also integrate many Windows Azure functionality by

extending SharePoint Server APIs (O365 and SPS)

OAuth, OData, and improved CSOM provide APIs to interact and

authenticate with SharePoint

If you want more of SP & Azure, we’re hosting a post-con

workshop on Thursday afternoon starting at 2pm!

(27)
(28)

Get started…

Got to http://dev.office.com

(29)

More Resources

Existing Development Resources

Channel 9 Azure Developer Training Kit

Channel 9 O365 Developer Training Kit

SharePoint and Windows Azure Developer Kit

http://tinyurl.com/3hoga7c

New Development Resources

SharePoint Developer Overview:

• http://msdn.microsoft.com/en-us/library/sharepoint/jj164084(v=office.15)

Office Developer Resources:

• http://msdn.microsoft.com/en-us/office/fp123632.aspx

Sign up for O365 Developer Site

(30)

Apps Dev Center

http://dev.office.com

Apps for Office and SharePoint Blog

http://blogs.msdn.com/b/officeapps

Office Dev Center

http://msdn.microsoft.com/en-us/office

SharePoint Dev Center

http://msdn.microsoft.com/en-us/sharepoint

Ignite

http://Ignite

http://msdn.microsoft.com/en-US/office/apps/fp123626

(31)

References

Related documents

an~esonance, the strain induced in the device compensates completely, resulting in no capacitance change, and the current cannot flow easily into the sample. Thus,

Organizations can use this feature to back up SQL Server databases in an on-premises instance or in an instance of SQL Server running a hosted environment such as Windows Azure

SQL Server 2014 provides a wizard (Figure 18) to deploy the database to another SQL Server instance running in a Windows Azure Virtual Machine.. The complexity is fully automated

With the earnest support of the city mayor, the City Environment and Natural Resources Office (CENRO) embarked on a program calling for the development and maintenance of parks and

• The DMTF's Open Cloud Standards Incubator will develop a suite of DMTF informational specifications that deliver architectural semantics to unify the interoperable management

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

With the Virtual Machine and Virtual Networking services of Windows Azure, it is now possible to deploy and operate a Microsoft SharePoint 2013 Server farm on Windows Azure..

Self adapting-Midnight: Automatically adjusts the dimming curve based on the on-time of past two days (if difference <15 minutes), assuming that the center point of the dimming