Deploy web parts

Lasă un comentariu

7 Mai 2009 de liviustoica55


There are several ways to deploy web parts, and here I use what I find the simplest for
development purposes, which is to manually copy the web part’s signed assembly (.dll) to the
Global Assembly Cache (GAC), manually add the corresponding <SafeControl> element to
SharePoint’s Web.config file, and then use a site collection’s web-part gallery pages to add the
web part. However, when you’re ready to move your web parts into production, you’ll want to
create a solution package to deploy it to your SharePoint farm. Creating a solution is, unfortunately,
more work than it ought to be. But Microsoft has created an add-in called Windows
SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1, which as of this writing
can be found at 

http://www.microsoft.com/downloads/details.aspx?FamilyID=3E1DCCCD-1CCA-433ABB4D-
97B96BF7AB63&displaylang=en

Among the many features this add-on includes is a template
for creating web parts that will make debugging and deploying your work much easier.

Lasă un răspuns

Completează mai jos detaliile despre tine sau dă clic pe un icon pentru autentificare:

Logo WordPress.com

Comentezi folosind contul tău WordPress.com. Dezautentificare / Schimbă )

Poză Twitter

Comentezi folosind contul tău Twitter. Dezautentificare / Schimbă )

Fotografie Facebook

Comentezi folosind contul tău Facebook. Dezautentificare / Schimbă )

Fotografie Google+

Comentezi folosind contul tău Google+. Dezautentificare / Schimbă )

Conectare la %s

%d blogeri au apreciat asta: