Building SharePoint Online Applications in a Hybrid World Chris Johnson General Manager Provoke...

download Building SharePoint Online Applications in a Hybrid World Chris Johnson General Manager Provoke Solutions - Seattle OSP331.

of 42

  • date post

    01-Jan-2016
  • Category

    Documents

  • view

    214
  • download

    0

Embed Size (px)

Transcript of Building SharePoint Online Applications in a Hybrid World Chris Johnson General Manager Provoke...

Building SharePoint Online Applications in a Hybrid World

Building SharePoint Online Applications in a Hybrid WorldChris JohnsonGeneral Manager Provoke Solutions - Seattle OSP3316/13/2012 6:30 PM 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

1Who?Kiwi on loan to the USA SeattleProvoke Solutions Inc. General ManagerEx-10yr Microsoftie, SharePoint Product Management, Program Management and Consulting Services

www.looselytyped.net@LoungeFlyZChris.johnson@provokesolutions.comAgendaSPO FundamentalsScenariosSimple: SharePoint Online consuming dataBridging the divide: Consuming On-premises LOB dataReverse: Consuming SPO data from AzureIdentity & SecuritySummary3Hybrid AppsSharePoint Online + Data, Code, Logic elsewhere= Hybrid App

Caveat: My definition!

SPO Development FundamentalsSimple - Browser

Intermediate - SharePoint Designer 2010

Advanced - Visual Studio 2010Sandbox Solutions - Code, DeclarativeClient Object Model (Silverlight, JavaScript, .NET)

SharePoint Online DevelopmentAccess to the Farm/Web ApplicationAccess to file systemWeb application-scoped or farm-scoped FeaturesGlobal Assembly Cache (GAC)Access to web.configAbility to install code/files on serverTimer JobsAdmin access beyond site collectionRunning with elevated privilegesAccess to External Code/DataAccess to external web service calls

SharePoint Online DevelopmentUnsupported SP2010 Platform FeaturesSandboxed SolutionsDevelopmentSubset of Microsoft.SharePoint - Scoped SPSite, Partial Trust, CASVS2010 support Templates, Intellisense, F5, PackagingDeploymentSite Collection Admin uploads to Solution GalleryExecutes in sandboxed execution environmentAdministrationSolutions consume resource points against quotaSolutions are disabled when quota is exceeded

Client-Object ModelRemote APIs for interacting with SharePoint sitesEasier than SharePoint Web Services, more efficientConsistent with Microsoft.SharePoint namespaceScoped to site collection

Supported platforms.NET 3.5 (and below)Silverlight 2.0 (and above)JavaScript/ECMAScriptHybrid App PatternsWhat we will build out

Simple: SPO Consuming Displaying DataNo external calls from Sandbox codeCode in the BrowserJavaScriptSilverlightFlashX-Domain issuesclientaccesspolicy.xml

DemoSimple: Consuming DataWhat we sawSandbox SolutionVisual Web Part FeatureJQuery Querying WCF ServiceWhat do you do if your Line Of Business data isnt conveniently exposed externally?Bridging the divideConsuming On-Premises LOB dataData on premises SQL, SAP, CRM,

Not exposed to the Web usuallyNetwork issues, Security, No UAG/TMG/Reverse proxy

How do you get at this data from SPO?

Option 1: Reverse ProxyForefront Unified Access Gateway 2010

UAGSharePoint

InternetIntranethttp://www.microsoft.com/forefront/unified-access-gateway/en/us/default.aspxOption 2: Windows Azure OptionsAzureConnectivity: Service BusSecurity: Access Control (ACS)

Azure ConnectConnectivity: Virtual IP network

Windows Azure Virtual NetworkSecure network connectivity between on-premises and cloudSupports standard IP protocols

Enables hybrid apps access to on-premises servers

Simple setup and managementWeb, Worker and VM Roles supported

Supports Windows Azure app domain-joined to corporate Active Directory

EnterpriseWindows Azure

TechReady136/13/2012 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.19Azure Service Bus

Create on-premises serviceCreate service and deploy to Windows AzureConnect via Service BusConnect via remote device

You can connect and use the service from any WCF conversant device, application or platform

SharePoint List or LOBWCF Web Service

Service BusListener ServiceWCF

On PremisesDemoConsuming On-Premises LOB dataWhat we sawSame as Simple ScenarioSandbox Visual Web Part, JS, Azure WCF ServiceAzure Service Bus On-Premises WCF ListenerLOB System My data is in SharePoint Online? How do I get at it?Reverse: Consuming SPO data from Azure

Reach into SPO to Return or Save DataSharePoint Remote API options:Web ServicesClient Side Object ModelJavascriptSliveright.Net Managed CodeAuthentication to SPOO365 uses Microsoft Online Services IDLive ID like, not the sameHeadedBrowser popup for authenticationSuits client applicationsFollows MS-OFBA Protocol HeadlessNo user interactionProgrammatic only

Headless AuthenticationCall Office 365 STS

Azure Application

WCF/WIF

API Call

STSWrite-up and SamplesHeadedMSDN: Remote Authentication in SharePoint Online Using Claims-Based AuthenticationCode Sample includedBlog: Authentication with SharePoint Online and the Client Side Object Model

HeadlessBlog: Part 2: Headless Authentication with SharePoint Online and the Client Side Object ModelCode sample includedDemoReaching into SharePoint OnlineWhat we sawAzure Web Role ApplicationWindows Identity Framework (WIF)Web Service Calls to O365 Secure Token Service (STS)Extracting the cookiesAttaching the cookies to the CSOM callMaking a call to SharePoint OnlineIdentity & SecuritySecurityUAGForms to NTLM

AzureAzure ACSADFS Shared tokensAzure ConnectWindows AuthDomain Auth

Into SPOOnline IDImpersonationService AccountSummarySummaryIts not all doom and gloomThere are options!Leverage Azure to assistService BusACS

Developer Training KitSharePoint & Windows Azure Developer Kit

Getting StartedWCF, Windows Azure & SharePointWindows Azure & OfficeBusiness Connectivity Services & Windows AzureBI Solutions using SQL AzureBing Maps, Windows Azure & SharePoint

http://www.msdn.com/training

Related ContentOSP334: Why Microsoft SharePoint and Windows Azure are Just Find Me Later At ATE evening!

OSP302: Building Integrated Microsoft Office 365, SharePoint Online, 35The Business Collaboration Platform for the Enterprise & the Internet

The capabilities of SharePoint 2010 provide a powerful business collaboration platformDeliver the Best Productivity Experience

Cut Costs with a Unified Infrastructure

Rapidly Respond to Business Needs

The Business Collaboration Platform for the Enterprise and the InternetManage Resources Improve efficiency and save money by better managing work and allocation of resourcesMaximize Portfolio Returns Make informed investment decisions and effectively communicate results across a portfolio of projectsKeep Teams Productive Save time and improve project results by centralizing team collaboration on deliverables and tasksImprove SharePoint ROI Effectively manage requests to maximize the ROI of your SharePoint environmentwww.sharepoint.microsoft.comwww.microsoft.com/project

Project and SharePoint Better TogetherResources

Connect. Share. Discuss.http://northamerica.msteched.com

Learning

Microsoft Certification & Training Resourceswww.microsoft.com/learning

TechNet

Resources for IT Professionalshttp://microsoft.com/technet

Resources for Developershttp://microsoft.com/msdn

38

Complete an evaluation on CommNet and enter to win!

39Please Complete an Evaluation Your feedback is important!

Multipleways to Evaluate SessionsBe eligible to win great daily prizes and the grand prize of a $5,000 Travel Voucher!

Scan the Tagto evaluate thissession now on myTechEd Mobile

40

2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.6/13/2012 6:33 PM 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changi