Auto Deployment of Sharepoint Webparts

First of all let me apologize for the nearly 5 month void in my blog. Finally I am once again getting sore eyes from feeds & forums.

I just started out on a Sharepoint project and as usual the learningcurve is vertical. We're going to do some webpart development, which in itself seems pretty trivial. Deployment though a bit more cumbersome. I wanted to avoid having to run :

stsadm.exe -o addwppack
and
stsadm.exe -o deletewppack

..every time I had a webpart ready for release. As a code warm up after my long break I made a Windows Service for the Sharepoint Dev server. The service creates a "hotfolder" that can be shared with other machines. When a webpart cab file is deployed to this folder (i've set it up in the Release build configuration in vs.net) the service picks up the file and does the plumbing needed to make the newly built part availible in the portal. When you delete the file from the "hotfolder" the webpart is also removed from the portal.

Let me know if you want it:) *Warmed up*

UPDATE: I finally realized that I'd never get the time to actually improve on this to the point I would like, so I simply posted the source on my samples on GDN.

Filed under:

Comments

# Pieter Jansen van Vuuren said:

Hi,

I'd love a copy of this tool, i am currently on a project were we have already developed around 50 webparts, managing the deployment of that is hectic and time consuming!

My email: nospam_pieter@pieter.co.za_spamme

Cheers

Pieter

Tuesday, January 27, 2004 2:12 PM
# Madhu Nair said:

Hi ,
Can you please send me this too.

My email : mnair@softrax.com

Tuesday, February 17, 2004 6:50 PM
# Bryant Likes said:

I'm interested in checking out this tool.

bryant at sqlxml dot org

Thanks!

Friday, February 27, 2004 6:31 PM
# Jay Little said:

If possible, please feel free to send along your extremely useful tool.
Thanks.

Tuesday, March 02, 2004 10:53 AM
# Jay Little said:

porterj at tampabay.rr.com

Wednesday, March 03, 2004 3:35 PM
# Donna Rumley said:

Can you please send me this tool? It sounds very useful

drumley@ameritech.net

Thanks!

Monday, March 15, 2004 1:41 PM
# Kimmo Jernstrom said:

I would appreciate if you could send this tool to me or provide a download link.
kimmo at jernstrom.org

Thanks.

Monday, March 15, 2004 4:33 PM
# Ike Nwagbo said:

Thanks in advance. Can us please sen me a copy?

ike@sba.gov

Thursday, March 18, 2004 11:37 AM
# tushar Pandit said:

pl. help me for web part deployment

Tuesday, March 23, 2004 1:02 AM
# Jeramie Rentfrow said:

Could I get a copy of this?

Thanks,

Jeramie R.

jeramier@rocketgaming.com

Wednesday, March 24, 2004 9:32 AM
# Alex Mora said:

Can you please send me this too?
Thanks.

Wednesday, March 24, 2004 10:29 AM
# Ali Khawaja said:

Can you please send it to me also?

Thanks
akhawaja@sbcglobal.net

Friday, March 26, 2004 10:50 AM
# gareth said:

please can u send me this aswell!
shawga@ananzi.co.za

thanks,
gary

Friday, April 02, 2004 5:10 AM
# victor said:

I want it too! Plz!
st0rm2000@mail.ru

Saturday, April 03, 2004 5:36 AM
# maheswaran said:

Can you please send me this tool?
It will be very useful ..has it takes LOT of time for me to DEPLOY .. !

Thanks in Advance.

Regards
mahesh

Monday, April 12, 2004 7:04 AM
# Ben said:

I have three web parts that we use throughout our SPS 2003 site as a standard. Every new area gets each of the three web parts in a standardized location. When I create a new area, it can be repetitive to have to remove the two web parts that SharePoint adds and to have to add in the three that we regularly use. Any suggestions?

Tuesday, June 08, 2004 10:23 AM
# satish said:

I want it too! Plz!

bflsrc@yahoo.com

Monday, April 21, 2008 9:42 AM
# transparent bikini said:

it is very nice to have transparent bikini model

Wednesday, June 10, 2009 4:42 PM
# name said:

It is a very good thing,

Wednesday, July 29, 2009 7:32 AM
# name said:

I want to say thanks!,

Wednesday, July 29, 2009 9:30 PM
# name said:

Your Site Is Great!,

Thursday, July 30, 2009 7:37 AM