'ASP.NET MVC2 - Java Stocks style documentation?

Is there anything similar to JavaDocs for ASP.NET MVC2 using the Visual Studio 2010 PRO IDE?

Many Thanks, Joel



Solution 1:[1]

The de-facto standard for documentation on .NET is using XML comments inside the code. Simply position your cursor just before the method declaration and type ///. Visual Studio will automatically infer the arguments and generate the necessary section which you could fill. Then simply enable XML documentation:

alt text

If you want to generate some MSDN style documentation from the resulting XML file here are some tools you could use:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Glorfindel