Derik Whittaker

Syndication

News


Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
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


Posted 09-22-2007 4:29 PM by Derik Whittaker

[Advertisement]

Comments

DotNetKicks.com wrote MOSS Development: Getting your environment up and running.
on 09-22-2007 5:39 PM

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

Health And Fitness Megasite » MOSS Development: Getting your environment up and running. wrote Health And Fitness Megasite » MOSS Development: Getting your environment up and running.
on 09-22-2007 7:06 PM

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

Harry wrote re: MOSS Development: Getting your environment up and running.
on 09-23-2007 3:12 PM

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.

Links (9/23/2007) « Steve Pietrek’s SharePoint Stuff wrote Links (9/23/2007) « Steve Pietrek’s SharePoint Stuff
on 09-23-2007 8:28 PM

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

Marcin Hoppe wrote re: MOSS Development: Getting your environment up and running.
on 09-24-2007 2:24 AM

@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?

Harry wrote re: MOSS Development: Getting your environment up and running.
on 09-25-2007 11:05 AM

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

Anonymous wrote re: MOSS Development: Getting your environment up and running.
on 05-30-2008 11:33 PM
casper wrote re: MOSS Development: Getting your environment up and running.
on 07-15-2008 10:59 PM

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??

Ephedrine ephedra. wrote Ephedrine.
on 07-30-2008 1:37 AM

Ephedrine.

Buspar. wrote Buspar.
on 11-13-2008 1:11 PM

Buspar experience. Buspar acohol. Buspar anxiety. Buspar.

Hero wrote re: MOSS Development: Getting your environment up and running.
on 05-24-2009 12:22 AM

<a href= freebinnumbersforpansat.dagyyeag.cn >free bin numbers for pansat</a>  

<a href= wizardofozgraphicsformyspace.dagyyeag.cn >wizard of oz graphics for myspace</a>  

<a hr

Adderall prescription. wrote Adderall dosage.
on 05-29-2009 6:09 PM

Adderall san antonio.

Jane wrote re: MOSS Development: Getting your environment up and running.
on 05-29-2009 11:52 PM

<a href= summaryofjoserizalstory.nightauts.info >summary of jose rizal story

Buy soma cod. wrote Buy soma without prescription.
on 06-03-2009 7:13 PM

Buy soma online. Buy soma cheap.

Buy vicodin. wrote Snort a vicodin.
on 06-13-2009 3:00 AM

Vicodin. Dangers of vicodin. Vicodin with no membership fees.

Bill wrote re: MOSS Development: Getting your environment up and running.
on 06-20-2009 11:06 PM

<a href= http://spyware+and+adware+removal+tool.thanauts.info/ >spyware and adware removal tool</a>  

<a href= http://hotel+california+tabs.thanauts.info/ >hotel california tabs</a>  

<a href= http://fixer+upper+home.thanauts.info/ >fixer upper home</a>  

<a href= http://association+of+colleges+and+schools.thanauts.info/ >association of colleges and schools</a>  

<a href= http://darling+nikki+pic.thanauts.info/ >darling nikki pic</a>  

<a href= http://electronic+dog+fences.thanauts.info/ >electronic dog fences</a>  

<a href= http://anne+arundel+college+community.thanauts.info/ >anne arundel college community</a>  

<a href= http://avg+anti+virus+download+free.thanauts.info/ >avg anti virus download free</a>  

<a href= http://free+animation+softwares.thanauts.info/ >free animation softwares</a>  

<a href= http://what+is+a+steer.thanauts.info/ >what is a steer</a>  

<a href= http://hollywood+movie+rentals.thanauts.info/ >hollywood movie rentals</a>  

<a href= http://learned+your+lesson.thanauts.info/ >learned your lesson</a>  

<a href= http://the+second+hand+lions.thanauts.info/ >the second hand lions</a>  

<a href= http://tuna+salad+recipe.thanauts.info/ >tuna salad recipe</a>  

<a href= http://allen+dvd+krista+rental.thanauts.info/ >allen dvd krista rental</a>  

<a href= http://superior+court+of+los+angeles.thanauts.info/ >superior court of los angeles</a>  

<a href= http://salutations+for+letters.thanauts.info/ >salutations for letters</a>  

<a href= http://the+log+house.thanauts.info/ >the log house</a>  

<a href= http://printable+thank+you+card+free.thanauts.info/ >printable thank you card free</a>  

<a href= http://girl+little+model.thanauts.info/ >girl little model</a>

Pharmb437 wrote re: MOSS Development: Getting your environment up and running.
on 07-30-2009 11:40 AM

Very nice site!

Pharmc118 wrote re: MOSS Development: Getting your environment up and running.
on 07-30-2009 11:42 AM

Very nice site!

Pharmg298 wrote re: MOSS Development: Getting your environment up and running.
on 08-10-2009 7:04 AM

Very nice site!

Kir wrote re: MOSS Development: Getting your environment up and running.
on 08-11-2009 1:19 PM

<a href= melinavelbavideos.alsooufs.info >melina velba videos</a>  

<a

Pharme233 wrote re: MOSS Development: Getting your environment up and running.
on 08-21-2009 4:28 AM

Very nice site!

Pharmd415 wrote re: MOSS Development: Getting your environment up and running.
on 08-22-2009 10:12 PM

Very nice site!

Pharmc931 wrote re: MOSS Development: Getting your environment up and running.
on 08-22-2009 10:14 PM

Very nice site!

Pharmk537 wrote re: MOSS Development: Getting your environment up and running.
on 08-24-2009 8:16 PM

Very nice site!

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)