Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Developing and debugging web parts question

  Asked By: Stella    Date: Oct 27    Category: Sharepoint    Views: 881

From reading and watching many web part tutorials this year on the web
and live presentations, I have noticed most people developing their web
part code on the server, having Visual Studio 2005 installed on the
server, and therefore easily installing and debugging their code. I
have gotten by in the past by pointing my VS2005 output path to the
servers /bin directory and then updating the Sharepoint web.config
SafeControl entry. This way my web part .dll files are copied directly
to correct Sharepoint folder directory on the server on each compile.
This way I can make quick changes from my local workstation, and have
them reflect immediatelly in Sharepoint without re-deploying. However,
I am unable to easily debug the code and use the powerful debugger
utilities VS2005 has.

What is the best strategy for developing and debugging web parts



2 Answers Found

Answer #1    Answered By: Chanel Gaines     Answered On: Oct 27

This should get you started:

It's an MS Word document that talks about web  part development, but
it includes a section on debugging  and remote debugging.

Answer #2    Answered By: Timmy Whitney     Answered On: Oct 27

I recommend doing development on a Virtual Machine running Windows Server
2003, Sharepoint, and Visual Studio 2005 specifically because doing remote
debugging is so difficult.

Didn't find what you were looking for? Find more on Developing and debugging web parts question Or get search suggestion and latest updates.