<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Barry Jones &#187; .NET Documentation in Live Documenter &#8211; Barry Jones</title>
	<atom:link href="http://www.barryjones.me.uk/category/development/clr-development/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.barryjones.me.uk</link>
	<description>General Ramblings</description>
	<lastBuildDate>Mon, 06 Sep 2010 10:05:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>.NET Documentation in Live Documenter</title>
		<link>http://www.barryjones.me.uk/2010/07/net-documentation-in-live-documenter/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=net-documentation-in-live-documenter</link>
		<comments>http://www.barryjones.me.uk/2010/07/net-documentation-in-live-documenter/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 22:55:19 +0000</pubDate>
		<dc:creator>Barry Jones</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[CLR]]></category>
		<category><![CDATA[Development]]></category>

		<guid isPermaLink="false">http://www.barryjones.me.uk/?p=353</guid>
		<description><![CDATA[Today The Box Software released their .NET documentation tool the Live Documenter. There are certainly other tools to output static compiled help files. But the Live Documenter is different. After we have painstakingly entered all of that XML code comments in our source code. We need a nice way to see the fruits of our [...]]]></description>
			<content:encoded><![CDATA[<p>Today <a title="The Box Software" href="http://theboxsoftware.com" target="_blank">The Box Software</a> released their .NET documentation tool the <a title=".NET documentation tool Live Documenter" href="http://theboxsoftware.com/products/live-documenter/" target="_blank">Live Documenter</a>. There are certainly other tools to output static compiled help files. But the Live Documenter is different.</p>
<p>After we have painstakingly entered all of that XML code comments in our source code. We need a nice way to see the fruits of our labours. NDoc emerged years ago and provided a way to get your documentation in to a compiled CHM file, but crashed and burned when generics was released in .NET 2. Documentation tools/generators whatever have never kind of cut the mustard since then.<span id="more-353"></span></p>
<p>Lets have a look at the Live Documenter.</p>
<h2>.NET documentation has never looked so good</h2>
<p>The Live Documenter supports all currently available versions of the .NET framework, project and solution files. So when you want to view your documentation you can just simply point it at your current solution file. You will be greeted by the library view.</p>
<div id="attachment_354" class="wp-caption alignnone" style="width: 310px"><a href="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-assemblies.png" rel="lightbox[353]"><img class="size-medium wp-image-354 " title="Assemblies" src="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-assemblies-300x197.png" alt="View of libraries in the Live Documenter" width="300" height="197" /></a><p class="wp-caption-text">Assemblies in Live Documenter</p></div>
<p>You are presented with a list of all of the libraries in the solution. The black ones have XML comments the grey ones have not. When you select one of the libraries the list of namespaces is displayed in the reading panel on the right. Nice and simple.</p>
<p>Lets just jump in and see what a documented class looks like.</p>
<div id="attachment_358" class="wp-caption alignnone" style="width: 310px"><a href="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-class.png" rel="lightbox[353]"><img class="size-medium wp-image-358" title="Classes in Live Documenter" src="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-class-300x197.png" alt="A view of a class in the Live Documenter" width="300" height="197" /></a><p class="wp-caption-text">Classes in Live Documenter</p></div>
<p>The class is displayed as you expect. The remarks you entered are displayed, the see links you created are displayed AND they link through to the associated class, method, property. The inheritance tree is displayed and the see also links from the documentation. The tree view shows all the other classes, enumeration, interfaces in the same namespace.</p>
<pre class="code">/// &lt;summary&gt;
/// The AssemblyDef provides the top level information and entry point to
/// all types, methods etc reflected from a .NET executable.
/// &lt;/summary&gt;
/// &lt;remarks&gt;
/// &lt;para&gt;The AssemblyDef is the starting point for obtaining reflected information
/// about a .NET assembly. This information is obtained by parsing and discerning
/// information about &lt;see cref="TypeDef"/&gt;s, &lt;see cref="MethodDef"/&gt;s etc from
/// the .NET metadata stored in the &lt;see cref="PeCoffFile"/&gt;.&lt;/para&gt;
/// &lt;para&gt;The assembly implements a mechanism for generating unique identifiers
/// that can be assigned to each of the elements reflected in this assembly. The
/// unique identifier is not really required but can help other applications to
/// store keys and find reflected elements more quickly and uses less memory than
/// string based unique identifiers.&lt;/para&gt;
/// &lt;example&gt;
/// &lt;code&gt;
/// // Instantiate from a full file path and name
/// AssemblyDef assembly = AssemblyDef.Create(myAssemblyPath);
///
/// // Instantiate from an already existing loaded metadata file
/// PeCoffFile peCoffFile = new PeCoffFile(myAssemblyPath);
/// AssemblyDef assembly = AssemblyDef.Create(peCoffFile);
/// &lt;/code&gt;
/// &lt;/example&gt;
/// &lt;/remarks&gt;
/// &lt;seealso cref="PeCoffFile"/&gt;
</pre>
<p>There is a full list of supported XML tags on the <a title="Available XML comment tags on MSDN" href="http://msdn.microsoft.com/en-us/library/5ast78ax.aspx" target="_blank">MSDN website</a>.</p>
<p>The method view is just as good. It displays the exceptions, type parameters, parameters, summaries and remarks as expected.</p>
<div id="attachment_364" class="wp-caption alignnone" style="width: 310px"><a href="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-method.png" rel="lightbox[353]"><img class="size-medium wp-image-364" title="A generic method in Live Documenter" src="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-method-300x197.png" alt="The live documenter shows a generic method" width="300" height="197" /></a><p class="wp-caption-text">Methods in the Live Documenter</p></div>
<p>You can also search the whole solution for methods, classes etc. The Live Documenter will show you an auto-complete search box with the results for you query.</p>
<div id="attachment_366" class="wp-caption alignnone" style="width: 310px"><a href="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-searching.png" rel="lightbox[353]"><img class="size-medium wp-image-366" title="Searching in the Live Documenter" src="http://www.barryjones.me.uk/wp-content/uploads/2010/07/ld-searching-300x197.png" alt="Autocomplete searching in the live documenter" width="300" height="197" /></a><p class="wp-caption-text">Searching in the Live Documenter</p></div>
<p>It handily displays the summary text with each result to help you figure out which result you was actually looking for.</p>
<p>There is plenty more to get excited about with the Live Documenter, it&#8217;s super fast, really good looking and I suggest you download your FREE copy from <a title="Download The Live Documenter by the Box Software" href="http://theboxsoftware.com/products/live-documenter/" target="_blank">http://theboxsoftware.com/products/live-documenter/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.barryjones.me.uk/2010/07/net-documentation-in-live-documenter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

