<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>SharePoint Software Quality, .NET and ModernUI apps</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/torstenmandelkow/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/torstenmandelkow/feed.xml</link>
    <description>Covers topics related to software quality in SharePoint projects</description>
    <lastBuildDate>Wed, 17 Apr 2019 04:20:24 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Free SharePoint Customization Assessment - Are you ready for the SharePoint future?</title>
      <link>https://docs.microsoft.com/archive/blogs/torstenmandelkow/free-sharepoint-customization-assessment-are-you-ready-for-the-sharepoint-future</link>
      <pubDate>Mon, 29 Sep 2014 06:57:00 GMT</pubDate>
      <dc:creator><![CDATA[Torsten Mandelkow]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/torstenmandelkow/2014/09/29/free-sharepoint-customization-assessment-are-you-ready-for-the-sharepoint-future/</guid>
      <description><![CDATA[Matthias Einig and his team at RENCORE AB published some days ago a great tool to assess the...]]></description>
      <content:encoded><![CDATA[<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"><span lang="en-US">Matthias Einig and his team at RENCORE AB published some days ago a great tool to assess the </span><span lang="de">migratability </span><span lang="en-US">of SharePoint customizations.</span></p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"><span lang="en-US">I</span><span lang="en-US">t takes a WSP solution with full trust code and provides guidance, how this code could be migrated by using a modern approach with CSOM or App Model.</span></p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;" lang="en-US">Learn more about it:</p>
<p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" lang="en-US"><a href="https://www.youtube.com/watch?v=OUYW3XyApfU"><span style="font-family: Calibri; font-size: 11pt;">Short Demo Video</span></a></p>
<p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" lang="en-US"><a href="https://blogs.office.com/2014/09/25/office-365-developer-podcast-episode-017-matthias-einig-transforming-sharepoint-full-trust-code/"><span style="font-family: Calibri; font-size: 11pt;">Jeremy Thake interviewing Matthias Einig in his Office Podcast</span></a></p>
<p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" lang="en-US"><a href="https://visualstudiogallery.msdn.microsoft.com/4f253106-c1bc-47ae-8513-f58a616c58ba"><span style="font-family: Calibri; font-size: 11pt;">Download the free SharePoint Code Migration Assessment tool</span></a></p>
<p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" lang="en-US"><a href="https://www.spcaf.com/analyzers/migrationassessment/"><span style="font-family: Calibri; font-size: 11pt;">Product page</span></a></p>
<p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" lang="en-US">&nbsp;</p>
<p style="margin-top: 0px; margin-bottom: 0px; vertical-align: middle;" lang="en-US">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/1057.MA1.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/1057.MA1.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/1057.MA1.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/1057.MA1.jpg" alt="" border="0" /></a></p>]]></content:encoded>
    </item>
    <item>
      <title>Free SharePoint Code Analysis Tool available</title>
      <link>https://docs.microsoft.com/archive/blogs/torstenmandelkow/free-sharepoint-code-analysis-tool-available</link>
      <pubDate>Tue, 08 Oct 2013 03:54:00 GMT</pubDate>
      <dc:creator><![CDATA[Torsten Mandelkow]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/torstenmandelkow/2013/10/08/free-sharepoint-code-analysis-tool-available/</guid>
      <description><![CDATA[Those who know me, also know that I&rsquo;m passionate about SharePoint development process and code...]]></description>
      <content:encoded><![CDATA[<p>Those who know me, also know that I&rsquo;m passionate about SharePoint development process and code quality since many years. This passion resulted first in creation of <a href="https://visualstudiogallery.msdn.microsoft.com/6daef348-197a-43f6-a091-95226e6ea5bc" target="_new">SPSF SharePoint Software Factory</a> together with my "old" fellow Matthias Einig, later we created <a href="https://spsd.codeplex.com/" target="_new">SPSD SharePoint Solution Deployer</a> and finally <a href="https://visualstudiogallery.msdn.microsoft.com/d3b2aaf7-0d6a-4995-a4e5-4153c57e3889" target="_new">SPCAF SharePoint Code Analysis Framework</a> has been added. <br />Therefore I'm indescribable happy and proud that after many years of work last week the final release of the free SharePoint Code Checker (SPCop) has been published by Matthias. SPCop is based on the SharePoint Code Analysis Framework and is available for free. Developers can use it directly in Visual Studio and can analyze their SharePoint code with more than 300 rules (check out the list of rules <a href="https://docs.spcaf.com/v4/SPCAF_ANALYZER_RULES.html">here</a>). <br />We can now detect syntax errors in XML directly in Visual Studio and not only after a deployment to SharePoint. We can now easier follow best practices and can learn how to develop better SharePoint solutions. In the future also more rules for analysis of SharePoint apps wil be added and will make it easier to develop high quality SharePoint apps.<br /><br />So, see for yourself:</p>
<p><strong>SharePoint Code Check (SPCop)</strong> is the free code analysis component of <strong>SharePoint Code Analysis Framework (SPCAF)</strong>.</p>
<div>SPCop is a Visual Studio Extension to analyze SharePoint code. This includes</div>
<ul>
<li>SharePoint solutions (.wsp) for SharePoint 2007 / 2010 / 2013</li>
<li>SharePoint 2013 apps</li>
</ul>
<div><strong>SPCop</strong>&nbsp;cannot only analyze assemblies like other tools as FxCop or SPDisposeCheck. It can also&nbsp;<strong>analyze all the XML code in SharePoint packages like Features, ContentTypes, ListTemplates&nbsp;</strong>and all the other files like controls (.ascx), pages (.aspx) and master pages (.master), stylsheets (.css), JavaScript (.js) etc.&nbsp;<strong>SPCop&nbsp;</strong>can be used directly in&nbsp;<strong>Visual Studio 2010/2012/2013</strong>&nbsp;to analyse SharePoint projects.</div>
<div><span><span style="color: #ff0000;"><strong>NOTE: </strong></span><strong>SPCop </strong>also includes all memory disposal rules previously checked by SPDisposeCheck. As <strong>SPCop</strong> also supports SP2013 assemblies (which SPDisposeCheck doesn't), we recommend that you use <strong>SPCop</strong> instead.</span></div>
<div>&nbsp;</div>
<div>Read more about <strong>SPCAF</strong> and try it out on the <a href="https://www.spcaf.com/">website</a>.</div>
<div>&nbsp;</div>
<div><strong><span style="font-size: medium;">Use SPCop directly&nbsp;in Visual Studio</span></strong></div>
<div>&nbsp;</div>
<div><span style="font-size: small;"><span style="font-size: 1.17em;"><a href="https://www.spcaf.com/images/VSG/visualstudio_spcop.jpg"><img style="max-width: 550px;" src="https://www.spcaf.com/images/VSG/visualstudio_spcop.jpg" alt="" border="0" /></a></span></span></div>
<div>&nbsp;</div>
<div><strong><span style="font-size: medium;">Get Errors and Warnings and open the files directly in VS</span></strong></div>
<div>&nbsp;</div>
<div><span style="font-size: small;"><span style="font-size: 1.17em;"><a href="https://www.spcaf.com/images/VSG/errorlist.jpg"><img style="max-width: 550px;" src="https://www.spcaf.com/images/VSG/errorlist.jpg" alt="" border="0" /></a></span></span></div>
<div><br /><strong><span style="font-size: medium;">Download from Visual Studio Gallery</span></strong></div>
<div><span style="font-size: 1.17em;"><a href="https://visualstudiogallery.msdn.microsoft.com/c991a9ed-7a7b-465f-9be3-923443fd6e7b">https://visualstudiogallery.msdn.microsoft.com/c991a9ed-7a7b-465f-9be3-923443fd6e7b</a></span></div>]]></content:encoded>
    </item>
    <item>
      <title>Free ModernUI Charts for WPF, Windows Store Apps und Silverlight published</title>
      <link>https://docs.microsoft.com/archive/blogs/torstenmandelkow/free-modernui-charts-for-wpf-windows-store-apps-und-silverlight-published</link>
      <pubDate>Mon, 06 May 2013 05:21:00 GMT</pubDate>
      <dc:creator><![CDATA[Torsten Mandelkow]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/torstenmandelkow/2013/05/06/free-modernui-charts-for-wpf-windows-store-apps-und-silverlight-published/</guid>
      <description><![CDATA[Some days ago I have published a free library with chart controls which can be used in client...]]></description>
      <content:encoded><![CDATA[<p>Some days ago I have published a free library with chart controls which can be used in client applications. The library can be used in WPF desktop applications, in Windows Store apps and in Silverlight applications.</p>
<p>Download the binaries, source code and some test applications: <a href="https://modernuicharts.codeplex.com/">https://modernuicharts.codeplex.com/</a></p>
<p>Or directly try them in the Silverlight application: <a href="https://www.mossblogger.de/charts/">https://www.mossblogger.de/charts/</a></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/5342.Light_preview.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/5342.Light_5F00_preview.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/5342.Light_preview.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/5342.Light_5F00_preview.jpg" alt="" border="0" /></a></p>
<p><strong>Intention 1</strong><br /> I needed Modern UI Charts for my own application which should run on Desktop (WPF), Web (Silverlight) and Windows 8 devices and I didn't want to use 3 different third party charting components. That&rsquo;s why I created the charts from scratch and used them in the tool &ldquo;SharePoint Code Analysis Framework (SPCAF)&rdquo; (<a href="https://go.spcaf.com/VSGallery">https://go.spcaf.com/VSGallery</a>) which I have developed with <a href="https://www.codeplex.com/site/users/view/matein78" target="_blank">Matthias Einig</a>.</p>
<p><strong>Intention 2<br /></strong>I think that XAML is the greatest way to "describe&rdquo; the UI of an application via a markup language. I don&rsquo;t want to miss things like data binding, styling of controls, data templates, animation of state changes, easy re-use of custom controls, design support with Blend and many more. I don&rsquo;t hope that HTML5 and JavaScript are the only future for our UIs. That&rsquo;s why I wanted to discover how the same XAML could be used &ldquo;cross-plattform&rdquo; in WPF, Silverlight and Windows 8. For the charts I wanted to use as much as possible of the same XAML code which is available on all these plattforms. So finally the code for the charts uses the lowest common XAML subset of all three worlds. Check out the sample application in this project and see how it works.</p>
<p><strong>Features</strong></p>
<p>Dark Layout</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/5270.Dark_preview.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/5270.Dark_5F00_preview.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/5270.Dark_preview.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/5270.Dark_5F00_preview.jpg" alt="" border="0" /></a></p>
<p>Custom Color Palette e.g.&nbsp;with gradients, mono chrome</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/0876.CustomPalette_preview.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/0876.CustomPalette_5F00_preview.jpg"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/57/64/0876.CustomPalette_preview.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-57-64/0876.CustomPalette_5F00_preview.jpg" alt="" border="0" /></a></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint Code Analysis Framework BETA released!</title>
      <link>https://docs.microsoft.com/archive/blogs/torstenmandelkow/sharepoint-code-analysis-framework-beta-released</link>
      <pubDate>Sun, 14 Apr 2013 23:34:00 GMT</pubDate>
      <dc:creator><![CDATA[Torsten Mandelkow]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/torstenmandelkow/2013/04/14/sharepoint-code-analysis-framework-beta-released/</guid>
      <description><![CDATA[Matthias Einig recently published the SharePoint Code Analysis Framework (SPCAF).
Get it...]]></description>
      <content:encoded><![CDATA[<p><a href="https://www.matthiaseinig.de/" target="_blank">Matthias Einig</a> recently published the <strong>SharePoint Code Analysis Framework (SPCAF).</strong></p>
<p><strong>Get it <a href="https://go.spcaf.com/VSGallery" target="_blank">here</a>&nbsp;as BETA.</strong></p>
<p>The&nbsp;<strong>SharePoint Code Analysis Framework (SPCAF)</strong>&nbsp;provides tools to analyze SharePoint code. This includes</p>
<ul>
<li>SharePoint solutions (.wsp) for SharePoint 2007 / 2010 / 2013</li>
<li>SharePoint 2013 apps</li>
</ul>
<p><strong>SPCAF</strong> cannot only analyze assemblies like other tools as FxCop or SPDisposeCheck. It can also&nbsp;<strong>analyze all the XML code in SharePoint packages like Features, ContentTypes, ListTemplates&nbsp;</strong>and all the other files like controls (.ascx), pages (.aspx) and master pages (.master) etc.</p>
<p><strong>SPCAF</strong> can be used directly in&nbsp;<strong>Visual Studio 2012 or 2010</strong>&nbsp;to analyze SharePoint projects. It also provides a&nbsp;<strong>client application&nbsp;</strong>to analyze existing WSP packages, can be integrated into a<strong>&nbsp;Team Build&nbsp;</strong>via a custom build activity, it can be run on&nbsp;<strong>command line&nbsp;</strong>or as&nbsp;<strong>MSBuild task&nbsp;</strong>during each local build.<strong></strong></p>
<h3><span style="font-size: 1.17em;">Use SPCAF directly&nbsp;in Visual Studio</span></h3>
<p><img id="99722" src="https://www.spcaf.com/images/VSG/visualstudio.jpg" alt="" width="650" height="358" /></p>
<h3>Get Errors and Warnings and open the files directly in VS</h3>
<p><img id="99723" src="https://www.spcaf.com/images/VSG/errorlist.jpg" alt="" width="650" height="564" /></p>
<h3>Visualize Dependencies</h3>
<p><img id="99721" src="https://www.spcaf.com/images/VSG/dgml.jpg" alt="" width="650" height="701" /></p>
<h3>Use the client application to analyze existing WSPs or APPs</h3>
<p><img id="99735" src="https://www.spcaf.com/images/VSG/client_dashboard.png" alt="" width="650" height="371" /></p>
<h3>Highlights</h3>
<ul>
<li><a title="Documentation" href="https://go.spcaf.com/11vX0eJ" target="_new">Contains ~300 rules to validate SharePoint code for correctness, solution design, best practices etc.</a>.</li>
<li><a title="DGML File" href="https://go.spcaf.com/SampleDependencies" target="_new">Creates dependency diagrams in DGML to visualize dependencies within SharePoint code</a></li>
<li><a title="How to" href="https://go.spcaf.com/YVUCPY" target="_new">Can be seamlessly integrated into your development process</a></li>
<li><a title="Client" href="https://go.spcaf.com/13jk2G2" target="_new">Provides a client application to analyze WSP and APP files.</a></li>
<li><a title="Team Build" href="https://go.spcaf.com/14wtieF" target="_new">Can also be run during a Team Build (supports TFS 2010 and TFS 2012)</a></li>
<li><a title="SDK" href="https://go.spcaf.com/17oQO96" target="_new">Can be extended with custom rules or custom metrics</a></li>
</ul>
<h3>Sample analysis results</h3>
<ul>
<li><strong>Rules</strong>&nbsp;reports shows errors and warnings&nbsp;<a title="Rules" href="https://go.spcaf.com/11hNvig" target="_new">Open sample report</a></li>
<li><strong>Dependency</strong>&nbsp;diagram visualizes package dependencies&nbsp;<a title="DGML" href="https://go.spcaf.com/SampleDependencies" target="_new">Open sample&nbsp;report</a></li>
<li><strong>Inventory</strong>&nbsp;reports lists all contents of the packages&nbsp;<a title="Inventory" href="https://go.spcaf.com/17GW1vW" target="_new">Open sample report</a></li>
<li><strong>Metric</strong>&nbsp;reports shows complexity and amount of elements in the code&nbsp;<a title="Metrics" href="https://go.spcaf.com/15fT45U" target="_new">Open sample report</a></li>
</ul>
<h3>Who should use it?</h3>
<ul>
<li><strong>SharePoint Architects</strong>&nbsp;can ensure proper application design and detect violations against best practices</li>
<li><strong>SharePoint Developers</strong>&nbsp;can ensure that their code is correct and that errors in XML code can be found early directly in Visual Studio and not only after deployment to SharePoint.</li>
<li><strong>SharePoint Quality Assurance</strong>&nbsp;can ensure that WSP packages are developed according to the best practices and the e.g. Customization Policies are not violated.</li>
<li><strong>IT Pros</strong>&nbsp;can ensure that the WSP files does not contain &ldquo;dangerous&rdquo; code and that they can install the packages without fear. The inventory reports gives a detailed overview about the contents in the packages and is a good documentation of the code.</li>
</ul>]]></content:encoded>
    </item>
    <item>
      <title>The Need for SharePoint Code Analysis</title>
      <link>https://docs.microsoft.com/archive/blogs/torstenmandelkow/the-need-for-sharepoint-code-analysis</link>
      <pubDate>Tue, 09 Apr 2013 23:40:00 GMT</pubDate>
      <dc:creator><![CDATA[Torsten Mandelkow]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/torstenmandelkow/2013/04/09/the-need-for-sharepoint-code-analysis/</guid>
      <description><![CDATA[SharePoint has grown over years and is today widely used in companies and businesses as intranet or...]]></description>
      <content:encoded><![CDATA[<p>SharePoint has grown over years and is today widely used in companies and businesses as intranet or internet portal and as collaboration plattform. One major reason for the success of SharePoint is the extensibility. The powerful API provides "boundless" possibilities to customize and extend SharePoint with custom code.</p>
<h3>Risk of Customizations</h3>
<p>Sometimes this extensibility is good and sometimes it is bad. Inappropriate customization can lead to a SharePoint environment, which cannot be managed anymore. Performance problems, crashed environments and unsatisfied users are the results. And often the migration to newer versions of SharePoint is impossible because of these customizations which leads to huge efforts to migrate at least the stored data in SharePoint.</p>
<h3>Rules and Policies</h3>
<p>But prohibit the customization of SharePoint is not an option for many companies because this would constrain the potenzial of SharePoint. So we need to find a way to customize SharePoint but prevent that the code impacts SharePoint in negative ways.</p>
<p>One way is to establish rules, conventions and policies which define how SharePoint customization must happen and also which type of customization is not allowed. These rules and policies must be defined (e.g. in customization policies) and must be accepted by all involved people, like developers, architects and also by the business side because these policies may limit the adaptability of SharePoint.</p>
<h3>You cannot manage what you cannot measure</h3>
<p>When these policies and rules are defined they must be controlled and measured, ideally with tools for code analysis, like FxCop, StyleCop, FxCop Metrics, SPDisposeCheck, CAT.NET etc. However, all these tools have one crucial limititation: they cannot analyze SharePoint XML code. The tools can only analyze assemblies and C# source code, but they cannot find errors or issues in the XML of Features, Content Types, Solution packages, Site Definitions etc. The tools can also not analyze the solution packages and can not detect if a SharePoint system file is overridden during depoyment.</p>
<p>Thats why SharePoint Code Analysis Framework (SPCAF) has been developed: SPCAF "reads" SharePoint solution packages (.WSP) and "converts" the SharePoint XML into an analyzable structure. This new structure of the code is used by 4 major tools to analyze der SharePoint code: <br />&bull;SPCop checks the code for violations against more than 300 rules.<br />&bull;SPMetrics calculates SharePoint code metrics and helps for instance to measure the complexity of the code.<br />&bull;SPDepend analyzes dependencies between the SharePoint artefacts (like Features, ContentTypes etc.) and detects dependencies to external components.<br />&bull;SPInventory creates a detailed inventory of all elements in SharePoint packages.</p>
<p>These tools can be used by architects, developers, qualiy managers or IT operators to ensure that SharePoint code is conform to their customization policies and conventions.</p>
<h3>People behind</h3>
<p>The SharePoint Code Analysis tools have been developed by Torsten Mandelkow and Matthias Einig. Both are working since many years as consultants, architects and developers in SharePoint development projects. During their work they were faced with lots of problems in SharePoint development and started to develop tools for their own to make SharePoint development easier and faster and to improve the quality of SharePoint code. Some of these tools have been published and some of them can be found on codeplex.com.</p>]]></content:encoded>
    </item>
  </channel>
</rss>