In The Mix

As a SharePoint architect I have the business behind me and the Developers and IT Pro on my shoulders.

Remote SharePoint Development using CloudShare December 16, 2013

Filed under: SharePoint 2013 — fmuntean @ 2:50 pm

There are many ways to develop SharePoint 2013 solutions or apps.

Some of these options are:

  • Have SharePoint locally on the laptop or on a VM.
  • Use Office 365 SharePoint Online and have Visual Studio installed locally.
  • Use a VM online like Azure and CloudShare then remote into those to do development.

and now there is one more:

  • Use CloudShare to install SharePoint 2013 and have Visual Studio installed locally.

Personally I like the option to develop using SharePoint Online however I would like to have a little bit more control over the SharePoint Farm that I develop against. So I start looking into alternatives and found one:

Using CloudShare and have both options of developing on the VM itself and remotely like with the SharePoint Online. For this to happen we need to enable the SharePoint to be available on the internet and enable SharePoint Apps infrastructure to be available on the internet too.

Danny Jessee posted on CloudShare  Blog (http://blog.cloudshare.com/2012/11/09/setting-up-the-cloudshare-sharepoint-2013-rtm-farm-to-support-apps/) showed how to enable Apps inside SharePoint using a local DNS server.

We will turn that around and use a public DNS server which would help us getting Apps working inside SharePoint from the Internet.

To make things simpler and be able to follow the entire process I put together all the steps necessary to create a single server Farm with Apps enabled from the internet: (if you only look on how to enable the remote app development check step 3 bellow)

  1. Install single SP Server VM
    1. Windows Server 2012
    2. SharePoint Foundation 2013 (single server Farm)
      1. Prerequisites
      2. Install binaries
      3. SharePoint Products Configuration Wizard
  1. Extend the SP WebApp to use the external URL
    1. The initial installation creates a Web App that uses the computer name. CloudShare provides a static external url to access the VM so we will use this URL to access SharePoint from Internet by extending the Web App to respond to this URL
  2. Configure the SP App domain to point the external address
    1. What we need is a wildcard CNAME DNS entry to a custom domain that will be used by SharePoint to generate apps urls.
    2. For this we will use a www.cloudns.net free subdomain which allows
    3. Create new zone and Configure a Wildcard CNAME DNS entry for the  external address of the VM

I have created a zone under cloudns.us named spapps and then added a CNAME entry: (use your own zone name)

*.spapps.cloudns.us

 CNAME  External url for the SharePoint VM from step 2 above
  1. Configure SP to point to the newly created app domain

Central Admin -> Apps -> Configure App URLs
(need to have “App Management Service” and “SettingsServiceApp” installed and running: Follow http://technet.microsoft.com/en-us/library/fp161236.aspx on how to get those two services up and running.)

ConfigureAppUrls

Associate the App Service Proxy with the Web App

Central Admin -> Application Management -> Service Applications -> Configure Service Application Associations

  1. Create App Catalog (optional)
  2. Add an app form the SharePoint store ( World Clock and Weather from Bamboo Solutions should do it)
  3. Create a Developer site collection
    /sites/dev using Developer site Template
  4. Start Visual Studio and Happy codding SP Apps remotely.

With this approach I am able to develop remotely with no need to remote desktop and I also have full access to the SharePoint Farm to configure it as I see fit.

 

One Response to “Remote SharePoint Development using CloudShare”

  1. […] Another SharePoint Blog Post From SharePoint Development – Google Blog Search: […]


Leave a comment