Integrating SPS 2010 and Windows Azure Hosted by: Vikram Rajkondawar Architect Advisor Microsoft Corporation Presented by: Ashvini Shahane (Head Strategic Service Unit - Synergetics)
Integrating SPS 2010 and Windows Azure Hosted by:
Vikram Rajkondawar
Architect Advisor
Microsoft Corporation
Presented by:
Ashvini Shahane (Head Strategic Service Unit - Synergetics)
Discussion Points
• Introduction to Windows Azure
• Why integrate SharePoint 2010 and Windows Azure
• Integration approaches
• Points of Integration
• SharePoint Online – Office 365
Cloud Services Models
Software-as-a-Service
consume
“SaaS”Platform-as-a-Service
build
“PaaS”Infrastructure-as-a-Service
host
“IaaS”
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
Microsoft Cloud Offerings
• PAAS
– Windows Azure Platform
• SAAS
– Office 365
– Microsoft CRM Dynamics Online
• IAAS
– VM
Windows Azure Platform
• Windows Azure
– Windows Azure Compute
– Windows Azure Storage
• SQL Azure
• Windows Azure AppFabric
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
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
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
Integration Approaches
ASP.NET & IFRAME
SharePointArtifact
<iframe
/>
Hosted Service
SharePointArtifact
SP OM, BCS, etc.
Custom Services
SharePoint Artifact
SP OM, BCS, etc.
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.
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>
DEMO
Create a Simple Azure Web Role and access it on SPS site using IFrame
Hosted Service/Data
Web Part
Silverlight
SharePoint
Pros Cons
Use existing service Service dependency
Extensive services/data
Straightforward coding model
BCS
DEMO
SQL Azure in External List
SharePoint Designer & SSS
Custom Azure Services
SharePoint
Pros Cons
Tighter Control Manage services
Deploy as SP Object
Potentially more code
Multiple entry-pointsWeb Part
Silverlight
BCS
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;
…
DEMO
Azure Custom Service
BDC Metadata Model
External List
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);
}
…
DEMOSilverlight, SP COM and Azure External List
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
SHAREPOINT ONLINE
Announcing Microsoft Office 365
What is SharePoint Online
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
Create sites to share documents and insights
with colleagues, partners and customers
SharePoint Online
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
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
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
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
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
SharePoint and the Cloud
33
34
Content Management
35
Search, Insights & Composites
36
SharePoint Sites
37
SharePoint Communities
38
SharePoint Content
39
SharePoint Search
40
SharePoint Insights
41
SharePoint Composites
42
HYBRID
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
Hybrid Co-existence
45
•
•
•
•
•
•
•
•
•
•
•
•
•
Sub-Levels of Administration within SharePoint Online
46
CUSTOM DEVELOPMENT IN THE CLOUD
SharePoint Online
SharePoint Online Development Extensibility
48
* OOTB = Out of the box
The Sandbox
49
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
The Client Object Model
51
Extensibility Overview
52
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
Summary
• Introduction to Windows Azure
• Why integrate SharePoint 2010 and Windows Azure
• Integration approaches
• Points of Integration
• SharePoint Online – Office 365
QUESTIONS?