Microsoft ® Official Course Developing Remote-hosted Apps for SharePoint Microsoft SharePoint 2013 SharePoint Practice.

Slides:



Advertisements
Similar presentations
Bob German Principal Architect Introduction to Cloud Hosted Apps Your apps here!
Advertisements

@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.
Extending Your Reach with SharePoint and Office. Ignite: Office SharePoint Azure.
Microsoft ® Official Course Client-Side SharePoint Development SharePoint Practice Microsoft SharePoint 2013.
A Developer’s Introduction to SharePoint 2013 Apps Ryan McIntyre, MCITP, MCPD National Architect Neudesic Ryan McIntyre, MCITP, MCPD National Architect.
App for SharePoint (*.app) Widgets Dashboards Data roll ups.
Microsoft ® Official Course Creating Robust and Efficient Apps for SharePoint Microsoft SharePoint 2013 SharePoint Practice.
SharePoint Apps in SharePoint 2013
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Silver SponsorsGold Sponsors Bronze Sponsors SharePoint App Model Redefine your SharePoint Customisation Erwin Tsai SharePoint Solution Architect Techfly.
Managing Identity and Permissions
Microsoft ® Official Course Publishing and Distributing Apps Microsoft SharePoint 2013 Sriram – SharePoint Practice.
Microsoft ® Official Course Introducing Apps for SharePoint SharePoint Practice Microsoft SharePoint 2013.
Jonas Thomsen, Ph.d. student Computer Science University of Aarhus Best Practices and Techniques for Building Secure Microsoft.
 Any device, anywhere, anytime  New discovery channels  New ways of working  Redefined expectations for apps.
©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.
Intro to Apps Minnesota SharePoint User Group Raymond April 2014.
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.
App development in SharePoint 2013 LIVE Introducing Cloud App Model Cloud-hosted Apps Experiences from the Field.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Any device, anywhere, anytime New discovery channels New ways of working Redefined expectations for apps.
SPC204 Security Problems in SharePoint 2010 Authentication and Authorization.

Office 365 Platform Flexible Tools App Manifest Web Page HTML/CSS/JS App.
App Manifest Web Application (HTML, CSS, JS, …) APP.
Marat Bakirov Readify. 2 3 ServerClient Browser Host Web Server Host SharePoint & Exchange Office APP Client APIs Server APIs.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
First Look Clinic: What’s New for IT Professionals in Microsoft® SharePoint® Server 2013 Sayed Ali (MCTS, MCITP, MCT, MCSA, MCSE )
Securing Microsoft® Exchange Server 2010
Refine Author business logic Customize screen layouts / branding Define custom queries Extend Explore ecosystem components Create custom controls.
Module 8 Configuring and Securing SharePoint Services and Service Applications.
Using Promise Patterns with JavaScript, jQuery, and the SharePoint 2013 App Model Doug Hemminger SharePoint Solutions Architect, Protiviti.
Module 5: Designing a Terminal Services Infrastructure.
Module 5 Configuring Authentication. Module Overview Lesson 1: Understanding Classic SharePoint Authentication Providers Lesson 2: Understanding Federated.
23/04/2017 Desarrollando una integración entre Azure Websites y SharePoint Online de Office 365.
Windows 8 Application Microsoft Word with Apps For Office Internal O365 SharePoint Site Windows Azure Cloud Services Windows Azure Workflow Server.
Module 7: Implementing Business Intelligence Solutions.
Module 6 Securing Content. Module Overview Administering SharePoint Groups Implementing SharePoint Roles and Role Assignments Securing and Auditing SharePoint.
Enabling Developers with Development Features Presented by: Ricardo Wilkins SharePoint Solutions Architect.
SharePoint Apps and the Architecture of the new Cloud App Model Introducing Cloud App Model Designing Apps SharePoint-hosted Apps Key Learnings.
Microsoft ® Official Course Developing a Publishing Site for Web Content Microsoft SharePoint 2013 SharePoint Practice.
Module 9 User Profiles and Social Networking. Module Overview Configuring User Profiles Implementing SharePoint 2010 Social Networking Features.
Microsoft ® Official Course Implementing Enterprise Content Management Microsoft SharePoint 2013 SharePoint Practice.
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
Microsoft ® Official Course Module 9 Working with Business Connectivity Services.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Bob German Principal Architect Future-Proof your SharePoint Customizations: Build 2010 Solutions that become 2013 Apps.
Martina Grom MVP Office 365 How to (remote) control Office 365 with Azure Toni Pohl MVP Client Dev
Trimantra Software Solution Offshore Software Development Outsourcing Company Visit :
2012 © Trivadis BASEL BERN LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN WELCOME The SharePoint 2013 App Model.
A Developer’s Introduction to SharePoint 2013 Apps Ryan McIntyre, MCITP, MCPD National
Converting SharePoint on- premise Apps to Office 365 Jos Auker-Woor M377.
OAuth and Application Identity
Microsoft List Schedule April – May 2016
Migrating SharePoint Add-ins from Azure ACS to Azure AD
SharePoint Cloud hosted Apps
Office 365 Development July 2014.
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.
Hooking into Apps for SharePoint
SharePoint Online Authentication Patterns
TechEd /18/2019 2:30 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
SharePoint Development
04 | Apps and SharePoint Chris Johnson | SharePoint Guru
Western Mass Microsoft Technology Users Group
Presentation transcript:

Microsoft ® Official Course Developing Remote-hosted Apps for SharePoint Microsoft SharePoint 2013 SharePoint Practice

Module Overview Overview of Remote-Hosted Apps Configuring Remote-Hosted Apps Developing Remote-Hosted Apps

Lesson 1: Overview of Remote-Hosted Apps Introducing Remote-Hosted Apps Authentication Mechanisms Provider-Hosted Apps Auto-hosted Apps Discussion - Choosing an App-Hosting Model

Introducing Remote-Hosted Apps SharePoint app: Pages, lists, and other resources in app web Authentication provided by SharePoint Isolation provided by farm or tenancy Auto-hosted app: Can only be installed in Office 365 Authentication provided by Windows Azure ACS Isolation provided by auto-provisioning SQL Database Provider-hosted app: App provider must maintain the remote web Authentication provided by an S2S trust Isolation must be built by the provider

Authentication Mechanisms Internal authentication: SharePoint pages and sites SharePoint-hosted apps Remote-hosted apps that use the cross-domain library External authentication: With OAuth and Windows Azure ACS Auto-hosted Apps With an S2S Trust Provider-hosted apps

Provider-Hosted Apps Host Web Remote Web Database S2S Trust SharePointWeb Server Managed CSOM Cross Domain Library

Auto-hosted Apps Host Web Remote Web SQL Database OAuth Trust SharePoint in Office 365 Windows Azure Managed CSOM Cross Domain Library

Discussion - Choosing an App-Hosting Model Which app-hosting model would you use in the following scenarios? A shared knowledge base A photo library A Customer Relationship Management app

Lesson 2: Configuring Remote-Hosted Apps Configuring Auto-Hosted App Authentication Configuring Provider-Hosted App Authentication Requesting App Permissions

Configuring Auto-Hosted App Authentication Understanding app principals and app identifiers App manifest requirements: Web.config requirements

Configuring Provider-Hosted App Authentication Registering app principals App manifest requirements Configuring an S2S trust Web.config requirements

Requesting App Permissions <AppPermissionRequest Right="Read" Scope=" /> <AppPermissionRequest Right="Write" Scope=" /> <AppPermissionRequest Right="Read" Scope=" /> <AppPermissionRequest Right="QueryAsUserIgnoreAppPrincipal" Scope=" /> <AppPermissionRequest Right="Write" Scope=" />

Lab A: Configuring a Provider-Hosted SharePoint App Exercise 1: Configuring An S2S Trust Relationship Exercise 2: Creating a Provider-hosted App

Lab Scenario The finance team at Contoso stores sales ledgers and purchase ledgers for different regions in separate lists on their site. Invoices are issued and paid in local currency, so each ledger entry is stored with a region. Entries in the Regions list store the currency and exchange rate for each region. The chief financial officer wants to view and compare sales ledger and purchase ledger balances for each region in one place. Your task is to implement this functionality in a provider-hosted app. In this lab, you will configure trust relationships and configure the app settings. In the next lab, you will develop the functionality of the app.

Lab Review The certificate you created and used in this lab to configure the S2S trust relationship is not suitable for a completed provider-hosted app that is published to the Office Store. Why is this? In the default code for the Contoso Ledgers app, what method on the TokenHelper class is used to obtain the client context object?

Lesson 3: Developing Remote-Hosted Apps Choosing Technologies Coding Security Requirements The Chrome Control

Choosing Technologies Server-side technologies: Non-Microsoft technologies ASP.NET Web Pages Web Forms MVC Server-side calls to SharePoint: Managed CSOM REST API Client-side calls to SharePoint: JavaScript CSOM REST API

Coding Security Requirements Token types: Context tokens Access tokens Refresh tokens Using the TokenHelper class: Accessing the context token Obtaining an access token and including it in subsequent requests

The Chrome Control Use the Chrome Control to inherit style and links from the host web.

Lab B: Developing a Provider-Hosted SharePoint App Exercise 1: Working with SharePoint Data Exercise 2: Using the Chrome Control

Lab Scenario Now that you have created a server-to-server trust relationship and configured your app settings, you can start to add functionality to your app. The app must sum ledger balances for each region, convert all balances into U.S. dollars, and present a summary of the information. You want to ensure that the app inherits the look and feel of the host web and so you have decided to implement the Chrome Control.

Lab Review The Contoso Ledgers app you created accessed data in the host web and displayed it to the user. If you created the necessary lists in the app web, what changes could you make to your code?

Module Review and Takeaways Review Question(s) Best Practice

Module Review and Takeaways