ASAP Session 3

55
Integrating SPS 2010 and Windows Azure Presented by: Ashvini Shahane (Head Strategic Service Unit - Synergetics)

Transcript of ASAP Session 3

Page 1: ASAP Session 3

Integrating SPS 2010 and Windows Azure

Presented by:

Ashvini Shahane (Head Strategic Service Unit - Synergetics)

Page 2: ASAP Session 3

Discussion Points

• Introduction to Windows Azure

• Why integrate SharePoint 2010 and Windows Azure

• Integration approaches

• Points of Integration

• SharePoint Online – Office 365

Page 3: ASAP Session 3

Cloud Services Models

Software-as-a-Service

consume

“SaaS”Platform-as-a-Service

build

“PaaS”Infrastructure-as-a-Service

host

“IaaS”

Page 4: ASAP Session 3

Cloud Services

Packaged

Software

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

Yo

u m

an

ag

e

Infrastructure(as a Service)

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

Man

ag

ed

by v

en

do

r

Yo

u m

an

ag

e

Platform(as a Service)

Man

ag

ed

by v

en

do

r

Yo

u m

an

ag

e

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Software(as a Service)

Man

ag

ed

by ve

nd

or

Storage

Servers

Networking

O/S

Middleware

Virtualization

Applications

Runtime

Data

Page 5: ASAP Session 3

Microsoft Cloud Offerings

• PAAS

– Windows Azure Platform

• SAAS

– Office 365

– Microsoft CRM Dynamics Online

• IAAS

– VM

Page 6: ASAP Session 3
Page 7: ASAP Session 3

Windows Azure Platform

• Windows Azure

– Windows Azure Compute

– Windows Azure Storage

• SQL Azure

• Windows Azure AppFabric

Page 8: ASAP Session 3

Why Integrate Azure & SharePoint?

• Scalable endpoint cloud-based data and services with SharePoint solutions

• Migrate to hybrid or cloud-based custom services

• Integrate cloud with core features of SharePoint

• E.g. Workflow, collaboration, search, document management, Silverlight, etc.

• Extend Azure applications into Office

Page 9: ASAP Session 3

SharePoint 2010 & Azure

Reach: Extend Azure services into SharePoint

Reusability: Skills and software deployment

Resource: Data & large file storage and management

• Offset data costs

• Wider service availability

• Improved programmability

• Skills translation

• Data/Service mash-ups

• Partner opportunities

Page 10: ASAP Session 3

Setting Up Your Development Environment

• SharePoint• Windows 2008, 2008

R2

• SharePoint 2010

• Office Professional Plus

• Visual Studio 2010

• SharePoint Designer

• IIS

or

• Download the SharePoint VM from Microsoft download center

• Hyper-V

• Azure• Developer Account/Keys

• Azure SDK & App Fabric SDK

• Azure tools for Visual Studio 2010

• SQL Server 2008 R2 Express

• Optional• Silverlight tools for Visual

Studio 2010

• Silverlight 4 runtime

Page 11: ASAP Session 3

Integration Approaches

ASP.NET & IFRAME

SharePointArtifact

<iframe

/>

Hosted Service

SharePointArtifact

SP OM, BCS, etc.

Custom Services

SharePoint Artifact

SP OM, BCS, etc.

Page 12: ASAP Session 3

Points of IntegrationWhat’s Possible?

Azure Integration Description of Integration (SharePoint On-Premises) SharePoint Online

SP COM Interact with Azure data in a list.

BCS Model data from Azure and/or build external list to SQL Azure.

Silverlight Create UI against Azure services or data.

Sandboxed Solutions Silverlight application leveraging Azure deployed to site collection.

Office Custom Client Consume data directly from Azure or BCS list exposing Azure data.

Standard/Visual Web Parts

Leverage services and data from Azure.

Open XML Manage Azure data into a document.

REST Use REST to interact with Azure data to integrate with SP data.

Office Server Services Integrate with Office server-side services.

Workflow/Event Receivers State or events that tie into Azure services or data.

LINQ Use for querying Azure data objects.

Search Federate search to include Azure data.

Page 13: ASAP Session 3

ASP.NET & IFRAME

Content Editor Web Part

Site Page

SharePoint

<iframe>

Pros Cons

Simple & lightweight

Styling & Formatting

No code No ‘deep’ integration

No deploymentto SP

No Distribution through SP artifact

<IFRAME id=“azureTest"

src="http://fabrikamhockeyazure.cloudapp.ne

t/Default.aspx" scrolling="auto">

</IFRAME>

Page 14: ASAP Session 3

DEMO

Create a Simple Azure Web Role and access it on SPS site using IFrame

Page 15: ASAP Session 3

Hosted Service/Data

Web Part

Silverlight

SharePoint

Pros Cons

Use existing service Service dependency

Extensive services/data

Straightforward coding model

BCS

Page 16: ASAP Session 3

DEMO

SQL Azure in External List

SharePoint Designer & SSS

Page 17: ASAP Session 3

Custom Azure Services

SharePoint

Pros Cons

Tighter Control Manage services

Deploy as SP Object

Potentially more code

Multiple entry-pointsWeb Part

Silverlight

BCS

Page 18: ASAP Session 3

Integrating Azure and BCS…

myAzureSvc.Service1Client myWCFProxy = new

myAzureSvc.Service1Client();

var salesData = myWCFProxy.getAllCustomers();

List<Entity1> mySalesInfoList = new List<Entity1>();

foreach (var item in salesData)

{

Entity1 tempEntity = new Entity1();

tempEntity.Identifier1 = item.tempCustID;

tempEntity.tempCustTitle = item.tempCustTitle;

tempEntity.tempCustFirstName = item.tempCustFirstName;

tempEntity.tempCustLastName = item.tempCustLastName;

tempEntity.tempCustEmail = item.tempCustEmail;

tempEntity.tempCustPhone = item.tempCustPhone;

mySalesInfoList.Add(tempEntity);

}

myWCFProxy.Close();

return mySalesInfoList;

Page 19: ASAP Session 3

DEMO

Azure Custom Service

BDC Metadata Model

External List

Page 20: ASAP Session 3

Integrating SilverLight and Custom Azure Services

context = new

ClientContext("http://intranet.contoso.com");

if (context != null)

{

SPClientOM.Web site = context.Web;

SPClientOM.ListCollection lists = site.Lists;

var theBCSList = lists.GetByTitle("Speaker

Evals");

SPClientOM.CamlQuery cq = new

SPClientOM.CamlQuery();

IQueryable<SPClientOM.ListItem> bcsListItems =

theBCSList.GetItems(cq);

bcsList = context.LoadQuery(bcsListItems);

context.ExecuteQueryAsync(speakerEvalsLoaded,

speakerEvalsLoadedFailed);

}

Page 21: ASAP Session 3

DEMOSilverlight, SP COM and Azure External List

Page 22: ASAP Session 3

Contoso Cloud AppMy Contoso Application

• SharePoint Site

• Managing Store Sales– Excel Services

– JavaScript OM

– Azure Service Call

– Silverlight & REST

• Managing Franchise Store Information– SQL Azure

– BCS

– Bing Maps

– WCF Azure Service

• Managing Proposals– BCS

– Office 2010

– SP COM

– Content Type

Page 23: ASAP Session 3

SHAREPOINT ONLINE

Page 24: ASAP Session 3

Announcing Microsoft Office 365

Page 25: ASAP Session 3

What is SharePoint Online

Page 26: ASAP Session 3

SharePoint Deployment Flexibility

SharePoint 2010

Self-hosted in your data center

Dedicated hardware

Central Admin access

Partial and full trust customization

Authenticated via AD

Available to companies of any size

SharePoint Online - Standard

Hosted in MSFT cloud data center

Multi-tenant/shared hardware

Admin outsourced to MSFT

Partial trust customization

Authenticated via certs and forms

Available to companies of any size

SharePoint Online - Dedicated

Hosted in MSFT data center

Dedicated Hardware

Central Admin access

Partial and full trust customization

Authenticated via AD

Designed for 5000+ seats

Page 27: ASAP Session 3

Create sites to share documents and insights

with colleagues, partners and customers

SharePoint Online

Page 28: ASAP Session 3

My Sites

• Solve document version control problems

• Share personal information and professional

expertise

• Follow colleagues through notes and activity

feeds

• Set document-level permissions to protect

sensitive personal content

• Access important documents from anywhere

Page 29: ASAP Session 3

Team Sites

• Manage and share important documents

to help teams work together efficiently

• Co-author documents and proposals in

real time and manage important meeting

notes with Office Web Apps

• Track key project milestones and

schedules with shared-calendars

• Enable real-time communication with

colleagues right from within SharePoint

Online

Page 30: ASAP Session 3

Intranet Sites

• Access key business process information (e.g.

operational policies, training guides and expense

reports)

• Search across your company for important

documents and people

• Participate in community discussion forums and

share innovative ideas

• Alert employees to new and exciting

developments using blogs

Page 31: ASAP Session 3

Extranet Sites

• Eliminate document control issues by

providing a single place to share documents

with customers and partners

• Control and manage the information shared

outside the organization

• Create wiki pages for customers and partners

to find answers to frequently asked questions

• Enable real-time communication with

customers and partners right from within

SharePoint Online

Page 32: ASAP Session 3

Websites

• Designed for small businesses and professionals

• Simple out-of the box web templates to

personalize sites

• Update your content quickly and easily using

familiar tools

• Allow customers to search for information easily

on your site

Page 33: ASAP Session 3

SharePoint and the Cloud

33

Page 34: ASAP Session 3

34

Page 35: ASAP Session 3

Content Management

35

Page 36: ASAP Session 3

Search, Insights & Composites

36

Page 37: ASAP Session 3

SharePoint Sites

37

Page 38: ASAP Session 3

SharePoint Communities

38

Page 39: ASAP Session 3

SharePoint Content

39

Page 40: ASAP Session 3

SharePoint Search

40

Page 41: ASAP Session 3

SharePoint Insights

41

Page 42: ASAP Session 3

SharePoint Composites

42

Page 43: ASAP Session 3

HYBRID

Page 44: ASAP Session 3

The Pathway to the Cloud

On-Premises Cloud ServiceCoexistence

Complete control and ownership of hardware, maintenance, resources,

and administration

Migrate some capabilities to SharePoint Online and access both on premises and online sites

with the same domain credentials

Microsoft will regularly deliver new features and capabilities to SharePoint Online

Single sign-on experience online and on premisesWith identity federation and directory synchronization

Page 45: ASAP Session 3

Hybrid Co-existence

45

Page 46: ASAP Session 3

Sub-Levels of Administration within SharePoint Online

46

Page 47: ASAP Session 3

CUSTOM DEVELOPMENT IN THE CLOUD

SharePoint Online

Page 48: ASAP Session 3

SharePoint Online Development Extensibility

48

* OOTB = Out of the box

Page 49: ASAP Session 3

The Sandbox

49

Page 50: ASAP Session 3

Silverlight provides the opportunity for developers to create the next generation of Rich Internet Applications (RIAs). SharePoint Online integrates closely with Microsoft Silverlight to enable you to build compelling user interfaces that interact with SharePoint Online data

Silverlight

50

Page 51: ASAP Session 3

The Client Object Model

51

Page 52: ASAP Session 3

Extensibility Overview

52

Page 53: ASAP Session 3

Development Process

spo.contoso.com

• Develop and debug on-premises– Visual Studio 2010– F5 Debugging

• Confirm solution in staging site collection– Dedicated site collection to dev

team– Upload *.wsp– Acceptance testing

• Deploy – *.wsp uploaded to Solution

Gallery

Upload/ Activate/ Deactivate

Page 54: ASAP Session 3

Summary

• Introduction to Windows Azure

• Why integrate SharePoint 2010 and Windows Azure

• Integration approaches

• Points of Integration

• SharePoint Online – Office 365

Page 55: ASAP Session 3

QUESTIONS?