Matthias einig transforming share point farm solutions to the app model

  • View
    245

  • Download
    1

Embed Size (px)

Text of Matthias einig transforming share point farm solutions to the app model

Transforming SharePoint Farm Solutions to the App Model#SPSBE17Matthias Einig, MVPApril 18th, 2015

Template may not be modified Twitter hashtag: #spsbe for all sessions1Thanks to our sponsors!PlatinumGoldSilver

Who is that guy?matthias.einig@rencore.sewww.matthiaseinig.deMatthias EinigCEO, SharePoint MVPStockholm, Sweden

3Microsoft SharePoint Server 2013 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.BasicsFull Trust Code vs. App

Package/Application/Code that uses Server Side Object ModelDeclarative CodeInfrastructure specific components (e.g. HTTP Handlers)

Package/Application/Code that uses Client Side Object Model / RESTCould run with Office365Runs off the SharePoint box

Will Farm Solutions be supported with SharePoint Server 2016We will make though investments mainly on the app model side also for on-premises to better align the development story: Write once and use it cross cloud and on-premisesYes.Vesa Juvonen, MicrosoftVesa

6Will you ever support farm solutions in Office 365? Farm solutions are deployed cross SharePoint farm and theyd impact multiple customersNo.Vesa Juvonen, MicrosoftVesa: Time: 42:00

7Transforming your codeFrom farm solutions and full trust codeTo app modelVesa 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.4/18/20158What is Transformation?9Microsoft SharePoint Server 2013 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Magic11Microsoft SharePoint Server 2013 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Transformation != MigrationWhat does transformation mean?

look at what you have then implement from scratchwhilere-using concepts, patterns and data

Why?15Microsoft SharePoint Server 2013 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.Why would you transform?Moving from on-prem to Office365 or HybridSharePoint version updateChanged / New RequirementsCannot start on a greenfield (time, money, complexity)Maintenance problems caused by customizations

How?Replace / gradually update existing FTC components

Re-use code / data structures / solution concepts/ integrationsHow would you transform your code?Major Changes19Microsoft SharePoint Server 2013 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.Major ChangesNo SSOM, use CSOM/RESTAvoid Feature FrameworkAvoid CAML (WebTemplates, Content Types, etc.)Avoid MasterPagesMinimize BrandingRun code outside of SharePoint (Client, Provider) Consider SharePoint/Office365 as a service

CAML == BADTimeTeam SiteCustom Web Templateonet.xmlX feature activationsonet.xmlX feature activationsonet.xmlX feature activations +2onet.xmlX feature activations +4onet.xmlX feature activationsonet.xmlX feature activations>Significant differences on the outcome unless web template onet.xml has been updated cross site collections with the changes which were also done for out of the box team site.Web Template onet.xml is created by copying team site onet.xml and by adding stapled features to the onet.xml

Service updates for introducing new capabilities to team sites also using feature stapling

Source: TEE2015 DEV-B308http://matte.in/TTE2015Transform Reimagine!22Microsoft SharePoint Server 2013 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.Transformation != CopyPasteIs SharePoint/Office365 now providing already the functionality?Does your solution benefit from the SharePoint UI?Are you relying on 3rd party systems? Does it have to be SharePoint?Are the business requirements still valid?Process24Microsoft SharePoint Server 2013 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, 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.

Assessment & PlanningDevelopment & TestingDeploymentReadinessThe Transformation ProcessApp Model techniquesApp Part Full Immersive appUI Custom ActionsRemote Provisioning

Hostingon-prem/Office365, Provider/SharePoint hostedReadiness

New provisioning approachesProvider Hosted App using CSOM/REST.NET Console App using CSOM/RESTPowerShell using CSOM/RESTSharePoint Hosted Apps usingREST/JSOMMechanical TurkDiscuss existing solution with the business.Discuss the requirements with the business.Learn how the existing customization are usedDecide what to keep, change and remove.Assessment: RequirementsUnderstand what customizations you have.Understand what they do.Understand why you have them and if you need them.Understand the impact they make on the environment.Understand the involved effort to transform.Assessment: CodeDemo

Gather insights Get GuidanceOpen Source Analysis rulesAnalysis rules for MAWorking together with the community and MSExtensible

Contribute and earn free SPCAF Professional licenses

http://matte.in/SPCAFGitHubDevelopmentOffice Pattern & Practiceshttps://github.com/OfficeDev/PnP Community project lead by MicrosoftCore Library, PowerShell cmdlets, samples, reference implement