Newbie Development environment question

I need help figuring out what / where I need to install to develop for SPS 3.0. I plan to use Visual Studio 2005. But from what I have read you have to install it on a Windows 2003 server with Sharepoint installed (at leas that is for the extensions)? I have Sharepoint 2007 Designer installed and you can edit sites from a client BUT I also need to link in a legacy database in DB2 - and that does not work from SPS 07 Designer.

I can do DB2 connections using Visual Studio 2005 - but what is required to be installed and where (I know I need SDKs and extensions - not sure which ones) - so I can do SPS site development?

Thanks for any help.

[666 byte] By [follmerd] at [2008-1-1]
# 1

Many will disagree or say you shouldn't, but you can develop solutions on your Workstation (XP or other). Simply make a copy of the SharePoint DLLs you need to reference, or reference them through the network if you have access (VS.NET will give you a warning but all will work).

I have not had a problem yet developing on my WinXP box. I usually make a local copy of the DLLs I need to reference and I usually compile directly to the server. But that part is up to you.

Good Luck!

KenMorency at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...
# 2
Thanks for the info.. I'm assuming I can use the Microsoft.Sharepoint.dll and this is all I need. Another question - how do I open the site in VS 2005? Do I open the http site or go via a UNC name to the remote server? And if I go via the UNC to I edit the templates directory or where the site is located in IIS? Thanks again for the help!
follmerd at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...
# 3

I say that your best bet is to develop from a Win2003 machine, either actual or virtual, with WSS v.3 or MOSS 2007 installed, then Visual Studio. You will have fewer problems and can test throughly before deploying to production. To reference a site from Visual Studio, either local or remote is to use some version of the following lines:

SPSite collection = new SPSite("http://mysite/");
SPWeb site = collection.OpenWeb();

You will then have a reference to your site collection. Each of the objects above have constructor overloads, and collections that you want to inspect and become familiar with in order to effectively work with them; that is do more than rotely access them. You can find some good examples to further your understanding at http://tedpattison.com/.

I hope this helps.

RobertHolmes at 2007-9-12 > top of Msdn Tech,SharePoint Products and Technologies,SharePoint - Development and Programming...

SharePoint Products and Technologies

Site Classified