ASP.NET MVC2 - Java Stocks style documentation?
Is there anything similar to JavaDocs for ASP.NE开发者_开发技巧T MVC2 using the Visual Studio 2010 PRO IDE?
Many Thanks, Joel
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:
If you want to generate some MSDN style documentation from the resulting XML file here are some tools you could use:
- SandCastle
- NDoc
精彩评论