Presentation is loading. Please wait.

Presentation is loading. Please wait.

Configure on-premises SharePoint environment for App/Add-in Koncern-it Dias 1.

Similar presentations


Presentation on theme: "Configure on-premises SharePoint environment for App/Add-in Koncern-it Dias 1."— Presentation transcript:

1 Configure on-premises SharePoint environment for App/Add-in Koncern-it Dias 1

2 About Anders Dissing Freelance SharePoint Consultant - http://www.sharepointkonsulenterne.dk http://www.sharepointkonsulenterne.dk Founder of a Danish SharePoint user group – http://spbg.dkhttp://spbg.dk SharePoint MVP Contact information Email - dissing@sharepointkonsulenterne.dk / dissing@spbg.dkdissing@sharepointkonsulenterne.dk dissing@spbg.dk Twitter - https://twitter.com/andersdissinghttps://twitter.com/andersdissing LinkedIn - https://www.linkedin.com/in/andersdissinghttps://www.linkedin.com/in/andersdissing Koncern-it

3 Agenda History Why app/add-in? Fundamental tems Creating apps for SharePoint that use high-trust authorization - One or more certificate? App domain vs sub App domain Apps upgrade Check list Demo Koncern-it

4 History -Back in SharePoint 2007 (MOSS), Microsoft announced that SharePoint was now a development platform. -There have been many solutions that have been made to SharePoint has been blamed for being a platform with bad performens. -In SharePoint 2010 was sandbox solution introduced. This should be the solution to custom code that destroyed performens on SharePoint. -In SharePoint 2013 was app modelen introduced. Here are custom code moved from SharePoint. Koncern-it

5 Why app/add-in?  Remove custom and potential bad code way from the SharePoint.  App deployment, don’t cost SharePoint downtime.  Build on common web stack technology. So easier it is on bonding new non-SharePoint developer.  Microsoft is still investing in App model, not only to SharePoint but the whole Office suite. Koncern-it

6 Fundamental tems  Host web -The SharePoint website, where the app is initiate from.  App web -A SharePoint website that is create to contain SharePoint artefact.  Remote web -Remote web eg. A local hosted IIS website or website hosted in Azure, amazon, google etc.  High-trust/low-trust -High trust is done via a certificate and between SharePoint server (server-to-server/S2S) and a IIS website to host the app code. High Trust are primarily used on premise. -Low trust is via Azure Access Control Service (AAC) and can be used both on premise and in Office 365 (SharePoint Online). Koncern-it

7 Fundamental tems  Two options for hosting apps  Provider hosted  SharePoint hosted * https://msdn.microsoft.com/en-us/library/fp179930.aspx

8 Fundamental tems  App instans?  SharePoint hosted app?  Url format *http://technet.microsoft.com/en-us/library/fp161230.aspx and http://msdn.microsoft.com/en-us/library/fp179930.aspx

9 Creating apps for SharePoint that use high-trust authorization - One or more certificate?  Creating apps for SharePoint that use high-trust authorization The certificate has to be registered with as a trusted token issuer before SharePoint will trust the tokens that it issues. There are two kinds of token issuers; some can only issue tokens for a particular app for SharePoint, others, called trust brokers, can issue tokens for multiple apps for SharePoint. - https://msdn.microsoft.com/en- us/library/office/jj945118(v=office.15).aspx#TwoKindsOfIssuershttps://msdn.microsoft.com/en- us/library/office/jj945118(v=office.15).aspx#TwoKindsOfIssuers  IsTrustBroker An på om man bruge et eller flere certifikater, skal man bruge -IsTrustBroker. Hvis man bruger et skal - IsTrustBroker sættes. As a practical matter, SharePoint farm administrators determine which type of token issuer is created by the switches and parameter values they use with the New-SPTrustedSecurityTokenIssuer cmdlet. To create a token issuer that is a trust broker, add the –IsTrustBroker switch to the command line and use a unique value, other than an app's client ID, for the –Name parameter. The following is an edited example. - https://msdn.microsoft.com/en- us/library/jj945118.aspxhttps://msdn.microsoft.com/en- us/library/jj945118.aspx  HighTrustConfig-ForSingleApp It is possible to make several SPTrustedSecurityTokenIssuer, eg. How to use AppClientId as part of the token - https://msdn.microsoft.com/en-us/library/office/dn579380(v=office.15).aspx https://msdn.microsoft.com/en-us/library/office/dn579380(v=office.15).aspx Koncern-it

10 App domain vs sub App domain  For security reasons, the domain name that you choose should not be a subdomain of the root domain name that hosts other applications. This is because other applications that run under that host name might contain sensitive information that is stored in cookies that might not be protected. Code can set or read cookies across different domains that are under the same domain. - https://technet.microsoft.com/en-us/library/fp161237.aspx https://technet.microsoft.com/en-us/library/fp161237.aspx  App domain = mycompanyapps.com  Sub app domain = apps.mycompany.com Koncern-it

11 Apps upgrade  SharePoint App  http://blogs.msdn.com/b/ocarpen/archive/2012/08/15/scripts-to-install-update-or-uninstall-a- sharepoint-2013-app-with-powershell.aspx http://blogs.msdn.com/b/ocarpen/archive/2012/08/15/scripts-to-install-update-or-uninstall-a- sharepoint-2013-app-with-powershell.aspx  How to: Update apps for SharePoint  https://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx https://msdn.microsoft.com/en-us/library/office/dn265910(v=office.15).aspx AppWeb - https://msdn.microsoft.com/en-us/library/office/dn265911(v=office.15).aspxhttps://msdn.microsoft.com/en-us/library/office/dn265911(v=office.15).aspx HostWeb - https://msdn.microsoft.com/en-us/library/office/dn265912(v=office.15).aspxhttps://msdn.microsoft.com/en-us/library/office/dn265912(v=office.15).aspx RemoteWeb - https://msdn.microsoft.com/en-us/library/office/dn265913(v=office.15).aspxhttps://msdn.microsoft.com/en-us/library/office/dn265913(v=office.15).aspx Update event - https://msdn.microsoft.com/en-us/library/office/dn265919(v=office.15).aspxhttps://msdn.microsoft.com/en-us/library/office/dn265919(v=office.15).aspx  Demo: https://code.msdn.microsoft.com/SharePoint-2013-Use-app- b15dc651/sourcecode?fileId=76760&pathId=835942101https://code.msdn.microsoft.com/SharePoint-2013-Use-app- b15dc651/sourcecode?fileId=76760&pathId=835942101

12 Check list  Microsoft Checklist: https://msdn.microsoft.com/EN- US/library/office/jj220035.aspxhttps://msdn.microsoft.com/EN- US/library/office/jj220035.aspx  Microsoft Seller Dashboard: https://msdn.microsoft.com/en- us/library/office/dn356576(v=office.15).aspxhttps://msdn.microsoft.com/en- us/library/office/dn356576(v=office.15).aspx  My notes:  Permission  Version number  AppPrincipal (client id) is matching both web.config og appmainfest.xml

13 Demo Configure on-premises SharePoint environment for App/Add-in Koncern-it

14 Extra  PeoplePicker - https://github.com/OfficeDev/PnP/tree/master/Components/Core.People Picker https://github.com/OfficeDev/PnP/tree/master/Components/Core.People Picker  AntiForgeryToken  Resize  Bootstrap viewport scale  Apps for SharePoint UX design guidelines - https://msdn.microsoft.com/en- us/library/office/jj220046(v=office.15).aspx https://msdn.microsoft.com/en- us/library/office/jj220046(v=office.15).aspx  Introducing Office UI Fabric  https://blogs.office.com/2015/08/31/introducing-office-ui-fabric-your-key- to-designing-add-ins-for-office/ https://blogs.office.com/2015/08/31/introducing-office-ui-fabric-your-key- to-designing-add-ins-for-office/  Install, uninstall or update via PowerShell - http://blogs.msdn.com/b/ocarpen/archive/2012/08/15/scripts-to-install- update-or-uninstall-a-sharepoint-2013-app-with-powershell.aspx http://blogs.msdn.com/b/ocarpen/archive/2012/08/15/scripts-to-install- update-or-uninstall-a-sharepoint-2013-app-with-powershell.aspx

15 SPBG  Need a danish SharePoint community? http://spbg.dkhttp://spbg.dk  22-10-2015 17:00 - SPBG ERFA omkring CRM og SharePoint i København

16 Say thank you to our Sponsors :

17 Stick around for RAFFLE and the AFTER EVENT!  All our volunteers and organisers do not get paid for organizing this event – If you see them, please:  Give them a hug  Shake their hand  Say thank you  Spread the word  Get involved yourself  Don’t forget to thank the sponsors for their support  Thank the speakers for donating their time, energy and expenses


Download ppt "Configure on-premises SharePoint environment for App/Add-in Koncern-it Dias 1."

Similar presentations


Ads by Google