Still wondering why you should care about code quality in SharePoint projects?
Then let SharePoint MVP Matthias Einig show you how to develop better solutions and apps with the SharePoint Code Analysis Framework. This session was recorded for the SP24 SharePoint online conference on 16th/17th of April 2014, proudly sponsored by Rencore.
Or just see the results for yourself and request a free trial!
Developing high quality SharePoint solutions/apps with SPCAF
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) available at www.spcaf.com which addresses exactly this gap and you will learn how to easily develop your own rules for it.