Page History: AdminNotes
Compare Page Revisions
Page Revision: 04/21/2014 06:53
May be able to use this link syntax to run fit tests
If you want to copy this page in your own wiki, you can simply
copy the markup and paste it into a page in your wiki.
Note: actual table styles might depend on the wiki
theme you are using.
SharePoint
How to backup and restore a site¶
logon to the server and open a command prompt
Navigate to the site where you can execute the following command;
stsadm -o backup -url
-filename site1.bak
stsadm –o restore –url -filename site1.bak –overwrite
Add Static Code Analysis
Enable "Basic Correctness" code analysis for the solution.
Use the "Rename" refactoring tool to bring class and method names into compliance.
Suppress messages at the class or method level and avoid turning off rules at the solution or project level.
System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA2204:Literals should be spelled correctly", MessageId = "typeof", Justification = "Workaround for a bug in CA: https://connect.microsoft.com/VisualStudio/feedback/details/521030/")
Using the renaming tool rarely causes problems but a code impact analysis should be done and all affected code should be tested using the automated acceptance tests or by manual testing.