Devlico.Us
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @devlicious

Derik Whittaker

Thoughts on Software Development, .Net, OOP, Design Patterns and all things cool



MOSS Development: Getting your environment up and running.

I thought I would post a quick 'Getting-Started' guide for MOSS development.  This post comes from my experience learning how to develop for MOSS.  This post is a quick listing of what is needed to get your environment up and running.

As you may or may not already know, MOSS will only run on Windows 2003 server.  This means that it is best to develop on a 2003 server.  I know that most developers DO NOT have 2003 server as their desktop OS, so you need to setup a VPC image with 2003.

Things you need before you get started

  1. Download the Windows 2003 server VPC from MSDN (assuming you have a MSDN)
  2. Download the .Net 2.0 Redistributable -- found here
  3. Download the .Net 3.0 Redistributable -- found here
  4. Download the Visual Studio extensions for WSS -- found here
  5. Download the MS Virtual PC 2007 -- found here
  6. Download the MOSS install (from MSDN) or purchase it if you don't already own it.
  7. Download your flavor of the VS 2005 IDE (from MSDN) or purchase it if you don't already own it.
  8. Download the latest SDK -- more info here

Once you have all of these downloaded go ahead and fire up the 2003 VPC image.  Before you even attempt to install MOSS.  Go ahead and install both the 2.0 and 3.0 Redistributable's for .net.  After you have installed both of those install IIS 6.0.  This is already on the image and can be installed via the 'Manage your Server' window on 2003.  Finally, re-install ASP.Net 2.0 (run aspnet_regiis.exe -i).

After you have done all of this, install MOSS.  If you have failed to install all the pre-requirements, MOSS will let you know.  After you have installed MOSS, go ahead and install your VS flavor.

Now that you have MOSS installed and VS, you are set to Rock.  BTW, i would install the SDK as well, but that is up to you.

Till next time,


kick it on DotNetKicks.com


Comments

DotNetKicks.com said:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# September 22, 2007 5:39 PM

Health And Fitness Megasite » MOSS Development: Getting your environment up and running. said:

Pingback from  Health And Fitness Megasite » MOSS Development: Getting your environment up and running.

# September 22, 2007 7:06 PM

Harry said:

Awesome write up.

Questions:

1. Do you do NUnit testing for MOSS Dev?

2. Do you follow patterns like ModelViewPresenter?

If so, how are these pieces fit into MOSS development.

# September 23, 2007 3:12 PM

Links (9/23/2007) « Steve Pietrek’s SharePoint Stuff said:

Pingback from  Links (9/23/2007) « Steve Pietrek’s SharePoint Stuff

# September 23, 2007 8:28 PM

Marcin Hoppe said:

@Harry

I am also new to MOSS development and currently I work on my first Web Part. Since the result of your development is compiled into regular .NET assemblies, you can write unit tests as usual. I didn't try to automated UI tests yet but I guess that this would be more troublesome since the solution has to be first deployed into MOSS, Web Part should be added to a page and then it might be tested. Test harness would be an interesting project :).

I try to develop my Web Part using Model View Presenter. Web Part development is basically ASP.NET development using some additional MOSS APIs. I am not very experienced with neither of those (MVP and ASP.NET, I mean) so I can't share any wisdom here.

Are you doing MOSS development as well?

# September 24, 2007 2:24 AM

Harry said:

I used to do MOSS development. And I did it the way most people do, just override certain methods and put crazy code into it.

Coming from ASP.NET and MVP experiences, I really don't like what I was doing. Unfortunately, most SharePoint projects have very tight deadline (since we are using SharePoint as a platform, we don't have to do XYZ from scratch), I didn't have time to really play with it and refactor it the way I can with ASP.NET projects.

This is the only post I found related:

weblogs.asp.net/.../Model_2D00_View_2D00_Presenter-Pattern-with-SharePoint-Web-Parts.aspx

# September 25, 2007 11:05 AM

Anonymous said:

# May 30, 2008 11:33 PM

casper said:

hi,

I am trying to install win2003 for MOSS and when i try to install .net redistrib 3.0

I keep getting this error

Setup cannot continue because one of the required service applications is disabled.To contibue, please ensure that the service is enabled , close and then restart setup.

Background Intelligent Transfer System (BITS)

I did check this service it is running ,looks fine  I also tried after restarting this service.

and tried reintalling the .net 3.0 but it still complains

Any ideas??

# July 15, 2008 10:59 PM

Ephedrine ephedra. said:

Ephedrine.

# July 30, 2008 1:37 AM

Buspar. said:

Buspar experience. Buspar acohol. Buspar anxiety. Buspar.

# November 13, 2008 1:11 PM

Leave a Comment

(required)  
(optional)
(required)  

Enter the numbers above:
Add

About Derik Whittaker

Derik is a .Net Developer/Architect specializing in WinForms working out the northern suburbs of Chicago. He is also believer and advocate for Agile development including SCRUM, TDD, CI, etc.

When Derik is not writing code he can be found spending time with his wife and young son, climbing on his bouldering wall, watching sports (mostly baseball), and generally vegging out. Check out Devlicio.us!

Our Sponsors

Red-Gate!