90 likes | 258 Views
ALM for SharePoint. Chicago Visual Studio ALM User Group July 18, 2012. About Me. Solutions Architect Developer Hockey fan http://www.schaeflein.net/blog. What is “ALM for SharePoint”?. Developing SharePoint components Continuous Integration Assembly versioning Testing Deployment
E N D
ALM for SharePoint Chicago Visual Studio ALM User Group July 18, 2012
About Me Solutions ArchitectDeveloper Hockey fan http://www.schaeflein.net/blog
What is “ALM for SharePoint”? • Developing SharePoint components • Continuous Integration • Assembly versioning • Testing • Deployment • Upgrade
Developing SharePoint Components • Please consult your Solution Architect
Continuous Integration • Typical tasks • FxCop • Sandcastle • Code Analysis • Unit Tests • Coded UI Tests • SharePoint-specific tasks • http://blogs.msdn.com/b/sharepointdev/archive/2011/08/25/creating-your-first-tfs-build-process-for-sharepoint-projects.aspx • Install NetFx 3.5 • SPDisposeCheck • Packaging • Deployment
Assembly Versioning • Understand how SharePoint loads components • Assembly version numbers • Global Assembly Cache (GAC) • Binding Re-directs • Assembly File version
Testing • Unit tests • Refer to Microsoft patterns and practices SharePoint Guidance Library for SharePoint 2010 • http://msdn.microsoft.com/en-us/library/ff798466 • Coded UI tests • No SharePoint specific functionality – just testing web pages
Deployment • Deploy via PowerShell • Need to consider: • Current state of SharePoint • Delete Site Collection? Remove user permissions? • Deployment tasks • Add solution • Deploy solution • Wait for deployment job • Activate Feature(s)
Upgrade • Feature Upgrade meant to upgrade existing components only