Which approach should you recommend?

You are designing a SharePoint 2010 solution that requires custom configuration settings.
The solution will reside in every Web application within the environment because
subsequent features depend on these settings. The server farm that the code is currently
deployed to is going to be replaced with a new one. The content databases will be migrated
to the new server farm. Manual changes to any files will not be allowed after the migration is
complete. You need to ensure that the configuration settings are in place on the new server
farm. Which approach should you recommend?

You are designing a SharePoint 2010 solution that requires custom configuration settings.
The solution will reside in every Web application within the environment because
subsequent features depend on these settings. The server farm that the code is currently
deployed to is going to be replaced with a new one. The content databases will be migrated
to the new server farm. Manual changes to any files will not be allowed after the migration is
complete. You need to ensure that the configuration settings are in place on the new server
farm. Which approach should you recommend?

A.
Place your settings in a file named webconfig.MySolution.xml and place it in the
\14\config directory.

B.
Place your settings in the current web.config file for each Web application.

C.
Place your settings in the hierarchical object store in the SPPersistedObject class.

D.
Place your settings within a feature that uses the SPWebConfigModification property to

persist the information in the web.config file



Leave a Reply 0

Your email address will not be published. Required fields are marked *