0% found this document useful (0 votes)
101 views5 pages

Understanding Basics: Setup MOSS 2007 Development Environment

This article will take a look at, basic considerations that you should put into your Development Environment for Share Point Server 2007. We also discuss common developer resources that are, very common in the MOSS developer community, in fact some even become de facto for MOSS development. We will be referring to both Microsoft and non Microsoft products, links are provided, in case if you want to peruse particular item in detail.

Uploaded by

write2rehan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
101 views5 pages

Understanding Basics: Setup MOSS 2007 Development Environment

This article will take a look at, basic considerations that you should put into your Development Environment for Share Point Server 2007. We also discuss common developer resources that are, very common in the MOSS developer community, in fact some even become de facto for MOSS development. We will be referring to both Microsoft and non Microsoft products, links are provided, in case if you want to peruse particular item in detail.

Uploaded by

write2rehan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Understanding Basics: Setup MOSS 2007 Development Environment Page 1 of 5

Published on MessagingTalk (http://www.messagingtalk.org)


Home > Understanding Basics: Setup MOSS 2007 Development Environment

Understanding Basics: Setup MOSS 2007


Development Environment
By Razi
Created 2008-12-28 17:34
Introduction
In this article we will take a look at, basic considerations that you should put into your
development environment for Share Point Server 2007.Moreover, we also discuss
common developer resources that are , very common in the MOSS developer community,
in fact some even become de facto for MOSS development. We will be referring to both
Microsoft and non Microsoft products, links are provided, in case if you want to peruse
particular item in detail.
Installing Microsoft Office SharePoint Server 2007 (MOSS 2007) in Development
Environment
The first step is to install MOSS 2007 on the machine, two things to know upfront. Firstly,
MOSS 2007 comes in two Editions, namely Enterprise Edition and Standard Edition.
Though you can upgrade to Enterprise Edition, even after the initial installation of
Standard Edition, it helps to keep your preferences straight from the very beginning. If you
will need Enterprise features (e.g. Business Data Catalog, Excel Calculation Services,
Forms Server 2007) during development, then simply use the Enterprise Key during
installation. If you want to see Microsoft Comparison Table, showing different versions you
can take a look here [1].
Moving forward, other important decision is, during installation of MOSS 2007 should you
opt for "Stand Alone" or "Complete" installation, actually there is another option "Web
Front End" (but it's not important to explore it at this moment).Mostly for a pure
development environment, either option will work, but "Complete" should get your
preference as with "Complete", you can select the SQL server to host your databases,
plus you can add other servers to the deployment, as if required. The "Stand Alone" , is
much like "Complete" , but the main difference is that , it will not allow, you to chose SQL
Server during installation , and it will automatically use SQL Server ( MSDE or Express
Edition depends on SQL Server version) . Though for development this may be OK, but it
helps to keep development, testing and production environment as similar as possible,
and you will be happy to make that decision.
Lastly, the rule of thumb is if there is a MOSS Service Pack out there, you should have it.
The exception to this is, if your production, or testing for that matter, will not be patched
with service pack(s) before your development is finish, then you may want to wait until all
the environments, are patched with same service pack(s).This is to ensure that there is
consistency, among the environment , and nothing breaks.

http://www.messagingtalk.org/print/908 1/18/2011
Understanding Basics: Setup MOSS 2007 Development Environment Page 2 of 5

Should we go Virtual with Development Environment?


Absolutely, honestly if you are part of large organization, most likely you have to maintain
several development environments, all the time. For example, your Europe office may
have MOSS 2007 installed with SQL Server 2005, on the other hand your Asian regional
office, is using both SQL Server 2005 for older installation and SQL Server 2008 for new
ones. Actually, it can become more complex , if you consider same scenario with different
MOSS 2007 Service Packs.
Ideally you should keep virtual environment(s) with different configuration as required. In
fact you have many options available, when you want to use virtualization (e.g VMware ,
Microsoft Hyper-V(comes with Windows Server 2008) , Microsoft Virtual Server , Microsoft
VPC etc).
It's entirely up to you which product you chose. If you want to know more about, setting
development environment using VPC's, you can get more details here [2]
Visual Studio 2005 / 2008
Life of a developer cannot be imagined without Visual Studio. The latest version of Visual
Studio is 2008, however many companies still using 2005, therefore we talk about both of
them interms of SharePoint development.
Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1
These are the essentially the Visual Studio project templates for developing Web Parts,
Site Definitions, and List Definitions. They also contain an application ,that generates
MOSS 2007 solution file for you. These extensions can be downloaded from here [3]. User
Guide for these extensions , needed to be downloaded separately from here [4]. Lastly, do
take note that, Microsoft does not provide technical support for these extensions.
Windows SharePoint Services 3.0 Tools: Visual Studio 2008 Extensions, Version 1.2
These are similar set of extensions as that of Visual Studio 2005, but for Visual Studio
2008.The biggest gotcha is that, they do not work with x64 bit version of operating
systems. Well as a workaround, you can still take your binaries, from x86 to x64 and they
suppose of work in x64 environment. Microsoft, as expected, recommends testing on your
part, if you adopt this approach. You can download these extensions from here [5], you
have to use the same User Guide that comes with Visual Studio 2005 extensions, here is
the link [6] again.
SharePoint Serve 2007 SDK: Software Development Kit
This is an absolute must item to have on the development environment. MOSS 2007 SDK,
comes with a lot of samples, how to's , developer tools and ECM Starter Kit .You should
download the latest one out there.At the time of this writing , the latest version is 1.4. You
can download it from here [7]
Non Microsoft Tools & Products
Though most of the time you will be doing fine , with Microsoft stack of products and
technologies , but sooner or later, you will find out , that you may need certain functionality
or feature, that is either not available out of box , or not exactly what you are looking for. In

http://www.messagingtalk.org/print/908 1/18/2011
Understanding Basics: Setup MOSS 2007 Development Environment Page 3 of 5

the following sections we will point out some of the common non Microsoft, MOSS 2007
developer related tools.
Most of us already know CodePlex [8] , which a Microsoft Open Source community
development center. It contains plethora of software's, for both MOSS 2007 and other
Microsoft product and technologies. Better, you can start you own project, or become part
of existing project.
SharePoint Visual Studio Development Related Tools
SPVisualDev
In case Visual Studio 2008 extensions, doesn't full fill your requirements, you may want to
take a look at brand new project at CodePlex named SPVisualDev [9].This is another
excellent example of community based development, by developers for developers. One
of its great features is its good integration with another popular tool called WSSBuilder
(see next section for details on that).
For VB.NET developers there is a bad news, as at the time of writing , SPVisualDev only
supports C# project and item templates. But as with other projects at CodePlex, as time
passes support of other languages are eventually made available.
STSDev : Simple Tools for SharePoint Development
STSDev [10] is another nice tool to consider, if you are looking for alternatives to Visual
Studio Extensions. One nice thing you will notice, is that you can download, and view
screen casts explaining, in step by step fashion the installation and features of STSDev.
WSPBuilder
The creation of Solution files in MOSS 2007, can be quite painful and error prone. You
need to made sure that you mention every single file and with proper path. And above all,
you may not want to consume your valuable time in tasks, which are at best laborious in
nature. Just download WSSPBuilder and whole solution creation will feel like a piece of
cake. For download and related information, visit WSSPBuilder [11] at CodePlex.
CAML Builder
CAML (Collaborative Application Markup Language) is SQL like query language used by
MOSS 2007. Though similar to SQL ,at time when writing complex quires , it become time
consuming to get the quires right , without consuming reasonable amount of time editing
them. There are two excellent tools that every developer should have one is Yet [12]
Another CAML Query Tool [12] and other is U2U CAML Query Builder [13]. Both are light
weight stand alone application, and super easy to use.
SharePoint Log Viewers
SharePoint logs provide very useful information to the developers, especially when things
are breaking up and not working as they suppose to work. By default MOSS 2007 logs are
store in text (.txt ) files , and hard to read and , above all there is no way to categorize
them. You can use SharePoint ULS Viewer [14], which will let you view logs, in a more
suitable standalone WPF application, and the best part is you can filter the logs by
Process, Category and Severity.

http://www.messagingtalk.org/print/908 1/18/2011
Understanding Basics: Setup MOSS 2007 Development Environment Page 4 of 5

In case you want to view logs, but from within the SharePoint Central Administration, you
can use WSS/MOSS Log File Reader [15] , this comes as a WSP (solution) which need to
be added to the MOSS 2007 Server.
SharePoint Manager 2007
This is an excellent tool to have, it gives you complete inside of your SharePoint Farm , by
allowing you to drill deep down into site(s) to view, and in some carefully analyzed cases
change , those properties as required.
Apart from its usefulness from MOSS Farm exploration, it's an excellent tool for learning
SharePoint Object Model. In fact, if you want to know working example of SharePoint
OM , this is an ideal sample to have.
Remote Stsadm tool
In some scenarios, especially when you are dealing with multiple development machines,
you may have to execute stsadm command on different machines. The easiest way is to
remotely login and execute the commands , if you are looking for alternative solution , you
can consider relatively new tool called Remote Stsadm tool [16]. The only catch is that, in
order for it to work , there must be a WCF service that should be running on Server, on
which you want to execute the commands.
Conclusion
In this article we covered, some basic considerations related to setting up, MOSS 2007
development environment. We also discuss, number of development tools that allow you
as a developer to develop applications for MOSS 2007, in quicker and better fashion.
MOSS 2007 development is a huge topic, we will try to cover more details in future
articles.
Sharepoint
Privacy Policy | Contact Us | Advertising | Link to Us
© 2005-2009 MessagingTalk.org. All rights reserved.

Source URL: http://www.messagingtalk.org/understanding-basics-setup-moss-2007-development-


environment

Links:
[1] http://office.microsoft.com/en-us/sharepointtechnology/FX101758691033.aspx
[2] http://www.andrewconnell.com/blog/articles/UseVirtualPCsDifferencingDisksToYourAdvantage.aspx
[3] http://www.microsoft.com/downloads/details.aspx?FamilyId=3E1DCCCD-1CCA-433A-BB4D-
97B96BF7AB63&displaylang=en
[4] http://www.microsoft.com/downloads/details.aspx?FamilyId=A8A4E775-074D-4451-BE39-459921F79787
[5] http://www.microsoft.com/downloads/details.aspx?FamilyID=7bf65b28-06e2-4e87-9bad-
086e32185e68&displaylang=en
[6] http://www.microsoft.com/downloads/details.aspx?FamilyId=A8A4E775-074D-4451-BE39-
459921F79787&displaylang=en
[7] http://www.microsoft.com/downloads/details.aspx?FamilyId=6D94E307-67D9-41AC-B2D6-
0074D6286FA9&displaylang=en
[8] http://www.codeplex.com/
[9] http://www.codeplex.com/SPVisualDev
[10] http://www.codeplex.com/stsdev/Release/ProjectReleases.aspx?ReleaseId=13220
[11] http://www.codeplex.com/wspbuilder
[12] http://www.ideseg.com/SharePointYetAnotherCAMLQueryTool2.aspx
[13] http://www.u2u.info/Blogs/karine/Lists/Posts/Post.aspx?List=d35935e0-8c0e-4176-a7e8-

http://www.messagingtalk.org/print/908 1/18/2011
Understanding Basics: Setup MOSS 2007 Development Environment Page 5 of 5

2ee90b3c8e5a&ID=30
[14] http://www.codeplex.com/ULSViewer
[15] http://www.codeplex.com/wssmosslogfilereader
[16] http://www.codeplex.com/netstsadm

http://www.messagingtalk.org/print/908 1/18/2011

You might also like