Yesterday when I wrote about my experiences about starting to develop Apps for SharePoint 2013, I got some feedback to consolidate the steps. So here it goes…
In nutshell, you follow the blog here at TechNet and setup you developer machine with the required tools. Make sure you give a good read Step 4 Install Development Tools in the blog thoroughly and configure the configure the app domain isolation and services properly. Once the tools and services are in place, here are the steps that you need to follow to make sure you can start developing apps for SharePoint 2013, without issues.
- My farm setup is as below:
- Virtual machine with SharePoint 2013 Enterprise on Windows Server 2012 with 10 GB RAM + Visual Studio 2012 and Office Development Tools for VS 2012.
- SQL Server 2008 R2 with SP1 on Windows 2008 R2 virtual machine (yes, you need to have SP1 installed)
- Windows 2008 R2 virtual machine acting as Primary Domain Controller (PDC)
- Make sure your development user account is different from System Account. Ideally you should install SharePoint (and have the System Account) with least-privilege account and development with different account.
- Make sure your development user is having following permissions within SharePoint:
- User is part of Farm Administrators group
- User is part of Site Collection owners group
- User is local administrator on the SharePoint machine (just to avoid entering admin credentials for every UAC prompt, else not required)
- Make sure your development user is having DB_Owner permissions on the following SharePoint databases:
- Config DB
- Content DB (for the site collection where you are going to deploy apps)
- AppMng_Service_DB_{GUID} (where {GUID} would be a random GUID assigned to the DB name)
Once you are done with these steps, login into SharePoint development machine using development user credentials and start developing Apps for SharePoint 2013.
Happy Apps!