App development in SharePoint 2013 LIVE Introducing Cloud App Model Cloud-hosted Apps Experiences from the Field.

Slides:



Advertisements
Similar presentations
@jerry_yasir SharePoint IIS Code runs from GAC on same w3wp.exe as SharePoint web application 2010 SharePoint IIS Sand box Code runs on SPUCWorkerProcess.exe.
Advertisements

A Developer’s Introduction to SharePoint 2013 Apps Ryan McIntyre, MCITP, MCPD National Architect Neudesic Ryan McIntyre, MCITP, MCPD National Architect.
Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly.
Microsoft ® Official Course Developing Remote-hosted Apps for SharePoint Microsoft SharePoint 2013 SharePoint Practice.
Web Client 2.0 for NAV 2013R2 Lukasz Zoglowek & Thomas S. Jensen
©2012 Microsoft Corporation. All rights reserved..
Fraser Technical Solutions, LLC
SharePoint-Hosted App Provision an isolated sub web on a parent web (separate domain) Reuse web elements (lists, files, out-of-box web parts) No.
Basic SharePoint 2013 App Development start-up for New Developers
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 15 Technical Preview and published July Thierry Gasser TSP
©2012 Microsoft Corporation. All rights reserved. Content based on SharePoint 2013 Technical Preview and published July Introducing.
var site="s15gizmodo" var site="s15gizmodo"
Any device, anywhere, anytime New discovery channels New ways of working Redefined expectations for apps.
Session 1.
Building Mobile Phone Applications in the Cloud NAME TITLE Microsoft Corporation.
Windows Azure Web Sites Speaker Title Organization.
SharePoint 2010 Bing Maps SharePoint Online SQL Server 2008 SQL Azure.
Integrating NAV 2013R2 and Office 365 Office 365 Single Sign-on NAV as an app NAV online document store.
Building Social Games for Windows 8 with Windows Azure Name Title Microsoft Corporation.
What’s new for the Exchange 2010 Developer? Developing Exchange-enabled Enterprise Applications Creating “Cloud Ready” Exchange-enabled Applications Deploying.
customer.
SharePoint Apps and the Architecture of the new Cloud App Model Introducing Cloud App Model Designing Apps SharePoint-hosted Apps Key Learnings.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Browser Identity Provider Access Control Application.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Integration in the Cloud Overview Relay Topic/Queues BizTalk Services (preview)
Windows 8 Application Microsoft Word with an app for Office Internal O365 SharePoint Site Windows Azure Web Sites Windows Azure Workflow Service.
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
demo User Signs Up Temporary Account is Created with Verification Link Sent User Clicks Link Account is Activated Login.Register(userName,
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Trimantra Software Solution Offshore Software Development Outsourcing Company Visit :
Course Agenda Deep Dive into the Building Blocks and Services of the SharePoint Platform Module 1: Developing Advanced Workflow Scenarios in Office 365.
A Developer’s Introduction to SharePoint 2013 Apps Ryan McIntyre, MCITP, MCPD National
Demand Management and Workflow
About Bill Bill Baer (ˈbɛər)
6/17/2018 5:54 AM OSP322 Getting the best of both worlds, making the most of SharePoint hybrid search solutions Shyam Narayan Microsoft © 2013 Microsoft.
0x - Lecture Title Andrew Connell, MVP
Developing an app for SharePoint autohosted in Azure
Office Power Hour New developer APIs and features for Apps for Office
SharePoint Online Management and Control
Integrating Microsoft SharePoint 2010 with Windows Azure
Azure Active Directory
Enterprise Metadata in SharePoint 2013
Setting up team development infrastructure for SharePoint 2013
Office 365 Development July 2014.
Developer Patterns to Integrate Silverlight 4.0 with SharePoint 2010
SharePoint hosting 101 Where do I host my apps?
SharePoint & jQuery: Better Together
Office 365 Development July 2014.
Windows Azure Keenan Newton 3-021
TechEd /6/2018 8:16 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development July 2014.
Getting started with Windows Azure
TechEd /28/ :27 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Agenda OAuth Concepts Programming OAuth.
OPEN DATA FOR THE OPEN WEB
Hooking into Apps for SharePoint
System Admin Best Practices for NAV 2013 R2
TechEd /18/2019 2:30 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Getting Started with SP2013 Apps
Office 365 Development.
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
2/27/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
SharePoint Development
Developing for Windows Azure
TechEd /1/2019 9:47 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
TechEd /27/2019 5:37 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Microsoft Virtual Academy
Presentation transcript:

App development in SharePoint 2013 LIVE Introducing Cloud App Model Cloud-hosted Apps Experiences from the Field

Learn about advanced topics of SharePoint 2013 Cloud App Model development. See how to create complex SharePoint Apps and leverage tools and frameworks like Knockout and JQuery. In this session we will do a live demonstration of how to create a Provider-hosted SharePoint App on Windows Azure websites and deploy it to Office 365. Objectives: Learn advanced topics of SharePoint Apps development Learn how to leverage frameworks and tools Create advanced provider-hosted apps based on Windows Azure and Office 365

Why do customers want to customize? Why do customers want to upgrade? What’s the number one cost driver in projects? What’s the number one reason for support cases? What’s the number one issue blocking upgrade?

Custom Code on server Root cause of most SharePoint outages and issues Lots to deploy Requires a big server touch Not possible in hosted environments Sandbox Solutions Possible in hosted environment Limited set of things you can do In both, developers must know SharePoint API

Start doing Evaluate Apps as preferred option Use CSOM or REST Leverage JavaScript frameworks, like Knockout Host business logic outside SharePoint Use remote provisioning Stop doing Server OM C# Code! New Full Trust Code solutions Sandboxed solutions

Introducing Cloud App Model

New apps A new class of apps enabling new scenarios and user experiences. Familiar toolsets Embracing web standards to provide developers with choice and flexibility. Flexible lifecycle Deploy and maintain your apps publically or internally with flexibility and control.

App Web Parent Web SharePoint-Hosted App Provision an isolated sub web on a parent web Reuse web elements (lists, files, out-of-box web parts) No server code allowed; use client JavaScript for logic, UX Provider-Hosted App “Bring your own server hosting infrastructure” SharePoint Web Get remote events from SharePoint Use CSOM/REST + OAuth to work with SP Cloud-based Apps Your Hosted Site Autohosted App Windows Azure + SQL Azure provisioned invisibly as apps are installed Azure SharePoint Web

JavaScript Library Silverlight Library.Net CLR Library Custom Client Code Client Server _api is new alias for _vti_bin/client.svc REST OData JSON CSOM

Cloud-hosted Apps

Preferred hosting model for almost all types of apps Full power of web – choose your infrastructure & technology May require your own hosting May require you own handling of multi- tenancy & permission management SharePoint-hosted Apps Good for smaller apps & resource storage SharePoint-based; no server-side code Automatically hosted in SharePoint Inherent multi tenancy & isolation

Two Types Provider-hosted Apps Azure Autohosted Apps Trust models Low-trust apps (ACS enabled scenarios) High-trust apps (S2S trust scenarios) Cloud-hosted Model Benefits Not tied to any SharePoint limitations Implement using any technology desired Communicate w/ SharePoint using open standards (REST) Establish identity through certificates or OAuth

OAuth Protocol Flow in SharePoint Client App is able to pull refresh token out of the context token. Client app then passes refresh token to ACS to request oAuth token 1 SharePoint Authenticates user using claims 2 SharePoint requests context token from user 3 4 SharePoint passes context token to user 5 User POSTS to app passing context token 7 ACS returns OAuth token to client app 8 Client App makes CSOM/REST calls to SharePoint site passing OAuth token 9 SharePoint returns site content to app 10 Client App returns HTML to user device 8 9

Demo Building Cloud-hosted Apps

Utilize styles Host App in your app JavaScript Library in App retrieves style sheet from SharePoint Apply style sheet to App page Custom navigation Also allows addition of custom navigation nodes Links to other pages Link to help file

JavaScript Library SP.RequestExecutor.js Located in LAYOUTS directory Domain Registration To ensure only trusted calls cross domains Specific App permissions must be granted Communication Hidden IFrame Post Messaging Proxy Page

For OAuth to work a provider based app needs to be registered in advance. ClientId, ClientSecret /_layouts/15/appregnew.aspx

Experiences From the Field

Office 365 Migrate workloads to Office 365 MT or Dedicated. PLA On-premise using Product Line Architectures (PLA) to standardize platform and run SharePoint as a service. Custom Custom platform and custom solutions for workloads not applicable to Office 365 or PLA.

Standard Deprecate customizations and move to standard functionality Configure On-premise using Product Line Architectures (PLA) to standardize platform and run SharePoint as a service. Apps Custom platform and custom solutions for workloads not applicable to Office 365 or PLA.

Start doing Evaluate Apps as preferred option Use CSOM or REST Leverage JavaScript frameworks, like Knockout Host business logic outside SharePoint Use remote provisioning Stop doing Server OM C# Code! New Full Trust Code solutions Sandboxed solutions

Evaluation Create a Text message on your phone and send it to 1919 with the content: PR I liked it a lot Session Code Morten Performance (1 to 5) Match of technical Level (1 to 5) Relevance (1 to 5) Comments (optional) Evaluation Scale: 1 = Very bad 2 = Bad 3 = Relevant 4 = Good 5 = Very Good! Questions: Speaker Performance Relevance according to your work Match of technical level according to published level Comments Henrik Performance (1 to 5)

© 2013 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.