Migrating Full-Trust Solutions to the Cloud Scot

Slides:



Advertisements
Similar presentations
Getting Started with SharePoint 2013 Apps
Advertisements

Customizing the SharePoint 2013 UI with JavaScript.
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
IntroductionThemes and other branding techniques Building response experiences Controls and other UX elements.
Build /16/2017 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Development models for on-premises Transformation approaches Farm solution considerations.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
Becky Bertram SharePoint MVP
©2012 Microsoft Corporation. All rights reserved..
Fraser Technical Solutions, LLC
Basic SharePoint 2013 App Development start-up for New Developers
App development in SharePoint 2013 LIVE Introducing Cloud App Model Cloud-hosted Apps Experiences from the Field.
Understanding SharePoint 2013 Add-In Security Vulnerabilities
@ScotHillier (function () { }());
@ScotHillier Studies/SearchResult.aspx?q=hillier.
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
Vision: Modernizing the Office Platform © 2011 AvePoint, Inc. All rights reserved. No part of this may be reproduced, stored in a retrieval system,
SharePoint Online – Developing Solutions for the Cloud Chris Mayo Microsoft Corporation
SharePoint Apps and the Architecture of the new Cloud App Model Introducing Cloud App Model Designing Apps SharePoint-hosted Apps Key Learnings.
Advanced Technology Days 18. i 19. studenog 2015., Cinestar Arena Centar.
Microsoft ® Official Course Developing a Publishing Site for Web Content Microsoft SharePoint 2013 SharePoint Practice.
Welcome to the Minnesota SharePoint User Group February 13 th, 2013 SharePoint 2013 – Developers Track - Client Side Rendering.
Cloud Roadshow. Advanced SharePoint add-in Development.
Introduction to the Cloud Solution Provider platform & APIs
Yaroslav Pentsarskyy Involved in SharePoint since 2003 SharePoint MVP (2009- Present) Blog: sharemuch.com.
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
Back to Basics A Tour of Microsoft SharePoint. Who am I? Kenny Duenke Lead Systems Analyst RGA
ALL INFORMATION PRESENTED AS WELL AS ALL SESSIONS ARE MICROSOFT CONFIDENTIAL AND UNDER YOUR NON-DISCLOSURE AGREEMENT (NDA) AND\OR TECHNOLOGY PREVIEW.
Microsoft Office SharePoint 2007 Technical Enablement Tour Patrick Tisseghem (Managing Partner – U2U)
Leveraging Web Content Management in SharePoint 2013 Christina Wheeler.
Both Dutch and Swedish nationality 20+ years of industry experience Living in Stockholm, Sweden MCSM, MCM, MVP, MCSE, MCSD, MCSA, MCPD, MCITP, MCTS PnP.
Office 365: Attack of the Clones! Building reusable site templates with the Office 365 PnP Framework.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
Wes Preston DEV 202. Audience: Info Workers, Dev A deeper dive into use-cases where client-side rendering (CSR) and SharePoint’s JS Link property can.
Wes Hackett Principal Solutions Architect Chris O’Brien Head of Development.
Bob German Principal Architect Future-Proof your SharePoint Customizations: Build 2010 Solutions that become 2013 Apps.
DEV103 – Web Part Transformers – More than meets the eye By: D’arce Hess.
Trimantra Software Solution Offshore Software Development Outsourcing Company Visit :
Redmond Protocols Plugfest 2016 Tarun Chopra Accessing APIs through Add-Ins Sr. Escalation Engineer.
Extreme User Interfaces for Alfresco Kevin Dorr Sr. Solutions Engineer Americas Channel.
A Developer’s Introduction to SharePoint 2013 Apps Ryan McIntyre, MCITP, MCPD National
4/12/2018 5:44 PM BRK3354 Using custom themes and designs to standardize the creation of clean, functional SharePoint sites Sean Squires
SharePoint + CRM Saturday Zurich 2017
Branding Without MasterPages, the Future of UX in SharePoint Online
What's new in the world of SharePoint development and deployment
Automate Custom Solutions Deployment on Office 365 and Azure
Migrating SharePoint Add-ins from Azure ACS to Azure AD
9/11/ :51 AM Cloud Roadshow © 2014 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO.
Line of Business Solutions in SharePoint Online
SPC Developer 6/25/2018 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Upgrading from Full Trust Code to Add-in Model and SharePoint Framework Paolo Pialorsi Senior Consultant - PiaSys.com Track: DEV | Level:
SharePoint power hour Rob Howard Program Manager Build 2014
SharePoint Framework Extensions
SharePoint Online Development Best Practices
Introduction to SharePoint Framework (SPFx)
Transforming SharePoint Farm Solutions to the Add-in Model
The Future of SharePoint Development - Vision, Strategy, and Roadmap
PSC Group, LLc Office 365/SharePoint Online Migration traps and tricks
Office 365 Development July 2014.
Office 365 Development July 2014.
Windows Azure Keenan Newton 3-021
02 | Controlling branding in SharePoint using app model
12/27/2018 4:59 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or.
Moving Your Customizations to the cloud
Getting Started with SP2013 Apps
Site scripts and Site Design
SharePoint 2019 Overview and Use SPFx Extensions
Office 365 Development.
PnP Partner Pack - Introduction
Presentation transcript:

Migrating Full-Trust Solutions to the Cloud Scot

@ScotHillier dies/SearchResult.aspx?q=hillier channel9.msdn.com/Search?t erm=hillier#ch9Search /? s earchTerm=hillier

Apologizing in advance Out with the old…In with the new… Apps for SharePointSharePoint Add-Ins App WebAdd-In Web App PartAdd-In Part SharePoint App ModelSharePoint Add-In Model Apps for OfficeOffice Add-Ins Office App ModelOffice Add-In Model

 Branding  Provisioning  Sandbox Solutions  SharePoint Add-Ins v Office 365 APIs Agenda

The challenges

Branding Techniques

Theming

Setting theme Microsoft.SharePoint.Client.ListItem themeEntry =... web.ApplyTheme(themeEntry["ThemeUrl"] as FieldUrlValue, themeEntry["FontSchemeUrl"] as FieldUrlValue, themeEntry["ImageUrl"] as FieldUrlValue, false); web.MasterUrl = (themeEntry["MasterPageUrl"] as FieldUrlValue); web.Context.ExecuteQuery();

Alternate CSS

Setting alternate CSS and logo $http({ url: " method: "POST", headers: { "accept": "application/json", "contentType": "application/json", "X-RequestDigest": digest, "X-HTTP-Method": "MERGE", "content-length": 84 }, data: { "AlternateCssUrl": " "SiteLogoUrl": " }});

Display Templates

JavaScript injection methods

Script Editor Web Parts

Adding User Custom Actions to a Site executor.executeAsync({ url: + + hostWebUrl + "'", method: "POST", body: JSON.stringify({ 'Sequence': 0, 'Description': 'CDNManager', 'Location': 'ScriptLink', 'ScriptBlock': script }), headers: "content-type": "application/json", "accept": "application/json", "X-RequestDigest": jQuery("#__REQUESTDIGEST").val() }, success: function (data) {...}, error: function (err) {...} })

Utilizing JSLink (function () { // Initialize the variables for overrides objects var overrideCtx = {}; overrideCtx.Templates = {}; // Override field data overrideCtx.Templates.Fields = { // PercentComplate = internal name of the % Complete // View = you want to change the field rendering of a view // <dev... = here we define what the output of the field will be. 'PercentComplete': { 'View': '<div class="progress"... ' } }; // Register the override of the field SPClientTemplates.TemplateManager.RegisterTemplateOverrides(overrideCtx); })();

JavaScript injection challenges

JavaScript Injection with CDN Manager

Provisioning Techniques  SharePoint Add-In  Office 365 APIs  PowerShell

SharePoint Online Host Web Add-In Web Azure Web Sites CSS png aspx master js New/Existing Sites and Webs

SharePoint Online Azure Web Sites CSS png aspx master js New/Existing Sites and Webs

SharePoint Online PowerShell Client j New/Existing Sites and Webs

PnP Provisioning Engine

Proxy Process Proxy Process (SUCWorkerProcessProxy.exe) Worker Service ( ) (SPUCWorkerProcess.ex e) Host Services () Host Services (SPUCHostService.exe) Untrusted Code Declarative Items: Web Templates Lists and Libraries Site Columns and Content Types File deployment Custom Actions Client Code

Sandboxed Solutions The Good  Customize SharePoint without a farm solution:  Declarative Features (lists, libraries, files, client side code)  User Code (web parts, InfoPath forms, event receivers, workflow actions)  Multi-tenant friendly The Bad and the Ugly  Limited server side API  Provisioned content is brittle  Versioning is a black art  No central way to manage, update  Scalability Problems

What does it all mean?

SharePoint Add-In Challenges

Office 365 API Benefits

Office 365 API capabilities MailContactsCalendar Files Users & groups Discovery Service

Included in Office 365 Subscription Users & Groups managed in Office 365 Portal Changes persisted in Azure AD

Single auth flow for Office 365 Azure AD Graph, Exchange, SharePoint Device apps and web sites Admin and end-user consent Secure protocol OAuth 2.0 No capturing user credentials Fine-grained access scopes Supports MFA and federated user sign-in Long-term access through refresh tokens

Application Types Custom developed Third-party, published in the gallery Office 365 SharePoint, Exchange Dynamics CRM Thousands of others Custom Applications Web Application and/or WebAPI Native Client

Implicit Flow and Angular JS

Implicit Flow with ADAL.JS

References