These are my slides from the ShareCamp2013 in Munich http;//www.sharecamp.de
SharePoint development and fun do not always have much in common! Everyone who has ever developed for SharePoint in Visual Studio might know what I mean. Even a small SharePoint solution consist already of a large amount of different files (xml, cs, js, css, resx, jpg, aspx, etc) which may be structured differently depending on the preferences and experience of the developer.
Particularly the extensive XML Schema for manifest.xml, feature.xml, element.xml, Content Types, List Definitions, etc. is an endless source of surprise and cannot be debugged at all in Visual Studio. As a way out, many developers choose to develop standard SharePoint artefacts programmatically rather than following the declarative approach which make the solutions even more complex.
As a result it is really hard to analyze SharePoint solutions, find violations against the XML schema, best practices, coding guidelines or to pinpoint performance sinks and cyclomatic dependencies of artefacts.
Neither Visual Studio nor other tools like FXCop, StyleCop etc. allow to perform SharePoint specific automatic code analysis.
This session will show the SharePoint Code Analysis Framework (SPCAF) which addresses exactly this gap and you will learn how to easily develop your own rules for it.
SPCAF is available at www.spcaf.com
11. Run SPCAF in TeamBuild as Quality Gate
• Custom Build Activity
• Supports TFS 2010/2012 and Team Foundation Service (Cloud)
Build in TFS on premise Build in Team Foundation Services
12. • SPCAF runs on Azure (WCF Service)
• Available Clients:
Windows 8 App Desktop Client (WPF) Web Client (Silverlight)
SPCAF on Azure
14. Where do I get it? Follow us!
The SharePoint Code Quality Team
Torsten Mandelkow
@tmandelkow
blogs.msdn.com/b/torstenmandelkow
Matthias Einig
@mattein
www.matthiaseinig.de
15. Analyse SP Code... Run SPCAF... Customize SPCAF...
... for rule violations ... in Visual Studio ... with custom rules (SDK)
... for dependencies ... on Command Line ... with custom settings
... for metrics ... in Team Build
... for inventory information ... on Azure
Free BETA available now at www.spcaf.de
Hinweis der Redaktion
Deploy into the open heart (SP Hive)Overwrite System Files- Conflicts with other solutions
Demo VS integrationSPCopSPDependSPMetricsSPInventoryDevelop a rule