Home > Development, MOSS, SDK, Visual Studio > MOSS development recipe

MOSS development recipe

I’ll start off by saying that it narks me that MS have forced a good chunk of MOSS development to happen on a server. This to me is nuts; Why they haven’t released a dev copy of MOSS is beyond me. After all we have SQL Server Development edition (which is Enterprise in all but license) and that can run on a workstation running 2000, XP or Vista. So why not MOSS?

I wouldn’t mind so much if it were easy to debug etc. remotely but it’s not. So, the net result of this is that we’re all forced to have a copy of Windows 2003 + SQL Server + MOSS + Visual Studio 2005. Unless you’re lucky to have an MSDN subscription (which is a nice expense in it’s own right) such a setup can set one back mucho dollar, pounds sterling, euros, yen etc.

However, it is what it is. So, that said I thought it would be handy (having built up my umpteenth development server environment) to list out what is needed.

MOSS Development Recipe (serves 1-2, 0 calories, 0 grams fat)

Instructions

  • Pre-heat your environment by creating a virtual PC image on your workstation.
  • Take the windows server installation media and install slowly. Keep installing until all prompts have been removed and server is stood up.
  • Install & configure Windows Update and run through the update process until server is protected.
  • Ensure IIS 7 is installed and configured.
  • Install SQL Server and associated Service Pack. Stir slowly and carefully as this process is apt to take 30 to 45 minutes. Caution: make sure you install using a Case Insensitive collation (US users may be comfortable for example with SQL_Latin1_General_CP1250_CI_AS).
  • Install MOSS and let stew for 20 minutes. Caution: Unless your development server is joined to a domain it is advised you configure MOSS to use NTLM authentication wherever possible and not Kerberos.
  • Once installed slowly go thru the configuration process. Warning: always ensure that all user names are entered using the Domain\LoginId Nomenclature – failure to observe will result in a lumpy none functional service.
  • Install Visual Studio 2005. I’d suggest a somewhat minimal environment here since your development on the server should be relegated to MOSS projects only. A nice minimal configuration would be (for VS Professional):

  • Install Visual Studio Service Pack 1. Turn heat down to low and let simmer for anywhere between 30 minutes and 3 hours until Service Pack 1 fully integrated with Visual Studio. Warning: this process can not be sped up in any way – patience is the key here.

 

  • Install the SharePoint Services 3.0 SDK.
  • Install the SharePoint Server 2007 SDK & ECM Starter Kit.
  • Install the Visual Studio 2005 extensions for .Net 3.0.
  • Install the November CTP of the SharePoint tools Visual Studio Extensions.

You should now have an development environment ready for you to install and debug your various MOSS features.

My personal preference here is to use the server as an installation and test machine only. I like to have my main project developed on my laptop (with all the extra bells and whistles that environment has (e.g. CodeRush or Visual Assist X) plus the usual necessary paraphernalia such as Lutz’s Reflector, Stramit CAML Viewer, Office 2007 etc. When I come to installation and debugging then I like to run a process that pushes all the code onto the server, then switch to that for the next stage.

Advertisement
  1. May 14, 2007 at 07:04 | #1

    Note that not only can you run SQL Server on XP, but you can even run Active Directory (ADAM) on your XP box if you want to develop against directory services.It is quite annoying that you can do all that yet not develop for SharePoint.

  2. May 14, 2007 at 14:24 | #2

    I’d love to know the real reason why this is so; although knowing MS it’s probably the Traditional ‘no bloody good reason at all’.Sigh….

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.