Deploying a Web Part Dependent on Database Storage

What is the best way to deploy a web part to WSS3 or MOSS2007 that is database dependent? Should the .wsp code include code for creating the database, should I encapsulate .wsp in another installer that handles the creation of the database, or should I provide two different packages to allow the administrator to handle the creation of the backend?

+3
source share
2 answers

Well, I prefer the SharePoint path where you create the databases from the main SharePoint administration page in Central Administration. Just take a look at how SharePoint handles the creation of new web applications, where you will be asked to name the database server and the name of the SharePoint content database.

, WSP. WSP ( ASPX), , , SQL-. , . SharePoint, SPPersistedObject class, - , , .

MSI , , SharePoint.

+6

-?

, -.

, -, DBA, .wsp. ( , , .)

.wsp msi ( ), , . ( , .wsp.)

0

Source: https://habr.com/ru/post/1710829/


All Articles