Ask a questionAsk a question
 

AnswerWeb Part Deployment

  • Tuesday, November 03, 2009 5:16 PMJustin Rassier Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hey Everyone,

    I know this may have been beat to death but I have been searching in circles trying to get a solid introduction to deploying web parts within MOSS 2007.

    I have Visual Studio 2008 and a 2007 Sharepoint server. I am looking to develop some web parts and as per usual, was trying to start with the "hello world" type introduction. I am confident in learning how to actually program web parts, but when it comes to deploying them, there does not seem like there is a well documented "correct" way to go about things.

    The best solution appears to package the web part with a feature and deploy by collecting the files into a .wsp file. It starts to get confusing when every little blog on the internet has their own way of structuring their project directories and xml documents to work, but no complete step by step guide from scratch. And if there is a walkthrough it seems to have been made by microsoft in 2003.

    If anyone really has a stripped down, accepted means of deploying a web part and how to tackle it, even down to directory structure and why and where things go and what happens at each step, I would much appreciate it, as well as I am sure many others.

    I appreciate everyone's help and apologize for my ranting.


    Justin Rassier

Answers

  • Wednesday, November 04, 2009 6:34 PMAndré Lage Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    all response are correct, but when i read your post i have the felling you are litle confuse because having multiple ways to create a WSP solution, yes is true like Dave, Magnus and Avinash say, WSPbuilder is the most easy because you dont see what happen on Background like create the DDF, Manifest.XML and other files, that files are very important to understand what they do and why we need them.
    WSPBuilder is a robust and easy way to create your WSP, 99% of all solution i made are correctly load to my WSP, but that 1% wspbuilder fail, why or some dll dont add on Solution, or the safecontrol is not correctly add on Manifest.xml or something like this, that why you need to understand step by step how to create your WSP, when that 1% happend you know what to do....

    Here some link can help you understand
    Development Tools and Techniques for Working with Code in Windows SharePoint Services 3.0

    Hope this help...

    André Lage Microsoft SharePoint, CRM and Sybase Consultant
    Blog:http://aaclage.blogspot.com
    Codeplex:http://spupload.codeplex.com/http://simplecamlsearch.codeplex.com/

All Replies