I need your help to know about javadoc in asp.net, does exist any javadoc equivalent for .net (asp.net mvc 4)?. I know about ///summary but I don't know if this comments can be exported to xml or html.
Take a look at this answer on how to enable XML documentation directly on VS:
How to generate documentation out of code comments
Have you looked into GhostDoc?
http://submain.com/products/ghostdoc.aspx
Related
I could not find anything about on the net and i´m quite clueless to the XML comment support in doxygen.
My problem is as simple as this:
/// <see cref="GenericClass{TTypeparam}"/>
Which seems to me to be the correct way to reference an open generic in XML comments, does not produce a link in the doxygen output. It just copies the text from the cref attribute to the output.
I know that linking to generics works in doxygen from custom pages by using GenericClass<TTypeParam>. So is this a known bug, or did i miss something obvious?
Btw. I´m using doxygen 1.8.2
Doxygen does not support the { .. } syntax inside cref at the moment. You could regard this as a bug. Feel free to submit a bug report in doxygen's bug tracker for this.
Doxygen just doesn't seem to have a good way to handle generics at the moment (in 1.8.8) - unless you're happy to forget the standard Microsoft-supported XML format (which uses {...} syntax) and switch to using "GenericClass" or "\ref GenericClass" (both of which are of course invalid XML that the Visual Studio tooling won't like).
See doxygen bugs https://bugzilla.gnome.org/show_bug.cgi?id=738173, https://bugzilla.gnome.org/show_bug.cgi?id=738167 and https://bugzilla.gnome.org/show_bug.cgi?id=704090
I am trying to use HTMLUnit in .Net I followed the example in Steven Sanderson's blog http://blog.stevensanderson.com/2010/03/30/using-htmlunit-on-net-for-headless-browser-automation/ which works well. However I have encontered the problem mentioned in How to disable runtime warnings in java? where I want to turn down the noise from Log4J.
As stated I need to do the following:-
System.getProperties().put("org.apache.commons.logging.simplelog.defaultlog","fatal");
But I have no idea how to do this in .Net. Any help would be much appreciated.
Simon
The config system is .NET considerably different to that in Java (he said, not having written any Java for over 10 years!). Take a look here to get you started : http://msdn.microsoft.com/en-us/library/system.configuration.configurationsettings.aspx
You can also write custom config sections/handler for more complex bespoke config scenarios. http://msdn.microsoft.com/en-us/library/ie/2tw134k3.aspx
Looking for a c# class or similar that can parse or convert wiki-formated text to html or similar.
Specs are here:
http://www.mediawiki.org/wiki/Markup_spec
Thanks.
According to this post, you can rip apart the parse helper class from ScrewTurn Wiki
Maybe you are looking for this (Wiki .NET Parser).
Also, you can look an example of parsing on this article.
Some time ago (like 3 or 4 years) I heard about ability to generate JavaScript (client) code based on C#.NET source code. I don't remember details, probably that was for validation purposes only...
If you know something about that, could you please remind?
Thanks a lot.
P.S. Any thoughts are welcome.
I know of two such projects. They compile C# code into client-side JavaScript.
SharpKit - http://sharpkit.net/
Script# - http://projects.nikhilk.net/ScriptSharp
I believe you're talking about the Script# project.
It allows you to compile a sub-set of C# into JavaScript.
For validation purposes, it may be that you saw something like xVal http://xvalwebforms.codeplex.com/.
I believe that MVC2 comes with something like this baked in.
By default I see that Sandcastle is generating HTML pages and links named with GUIDs. Can somehow this be changed to generate user/SEO friendly names for the pages? Ie. instead of f987d4ff-cabc-10af-86cd-620978605d86.htm I want it create 'namespace.class.method.htm', similar to how the .Net MSDN documentation is generated.
Assuming you're using the Sandcastle Help File Builder, you could try this setting, available in the GUI as "NamingMethod":
<NamingMethod>MemberName</NamingMethod>
Don't know if it exactly fits your needs, but it is an alternative to the GUIDs.
Yes.
NamingMethod = MemberName
Additionally you can research implementing your own naming routine. Check out this thread for some more information