Set up an SharePoint On-Premises environment for developing Provider-Hosted Apps
Rodrigo Pinto, everis
Rodrigo PintoWho am I ?SharePoint Solutions ArchitectSoftware Engineering (15 years)Speaker ( EUSP, SP24,SharePoint Connections, Techdays )
EverisCenter of ExcellenceSharePoint Advisory Team
ContactEmail – [email protected] - @scoutmanpt
Expertise
#evangelize #community
Agenda
• Development Environment• Setting things up• Some tips
DEVELOPMENT ENVIRONMENT
DEVELOPMENT ENVIRONMENT
Operating Environment
• x64-capable CPU• at least 16 GB of RAM (24 GB of RAM ideal setup)
•Windows Server 2008 R2 Service Pack 1 x64 or Windows Server 2012• SQL SERVER 2008 R2 SP1/2012/2014 (SharePoint
SP1)
DEVELOPMENT ENVIRONMENT
• Virtualize!HyperV, Vmware, Vbox
• Use Azure VMs
• Use an All-IN VM• Active Directory / DNS• SQL Server
(2008 R2 SP1/2012/2014*)
• SharePoint
TIP!Use AutoSPInstaller, and AutoSPSourceBuilder
http://AutoSPInstaller.codeplex.com; http://AutoSPSourceBuilder.codeplex.com
* with SharePoint SP1
DEVELOPMENT ENVIRONMENT
Pre-Requisites
Warning!Always consider complete Installationif you are doing FTC & App Dev Model
Limit Storage: SQL Server 2008 R2 SP 1 Express version storage limit to 10 GB per DB
No Domain Service or domain accounts Run under local accounts ( like Network Service account)
Can not create User Profile Service
DEVELOPMENT ENVIRONMENT
Developer Site Collection
DEVELOPMENT ENVIRONMENT
Minimum Services Running
•User Profile Service Application (at least one account* crawled with email)
• App Management Service• Subscription settings Service
*account has to have email configured
DEVELOPMENT ENVIRONMENT
Understanding the App Domain
http://app-bdf2014ea15dacb.spsadriatics.com/sites/zagreb/MyApp
Defined when configuring support for SharePoint apps
App prefix (tenant)
Unique hex string automatically generated
App ID
DNS domain name configured
App domain
URL relative to the webapplication
Host web
Developer setting
App name
http://aka.ms/SPOLocalDevSetup
SETTINGS THINGS UP
SETTING THINGS UP
1. Set Forward Lookup Zone2. Create App Domain
3. Create a Certificate
4. Configure SharePoint 2013 to use certificates
5. Create a new Developer Site
Steps to be taken...
SETTINGS THING UP DEMO
SOME TIPS
SOME TIPS
1. Developer user cant be farm admin2. Make sure all SP Services are running3. Check the loopback check4. Add the IP of the server to the host file.
TIPS...
thank you.
SHAREPOINT AND PROJECT CONFERENCE ADRIATICS ZAGREB, 10/15/2014 - 10/16/2014
Top Related