In Eclipse, there's a JavaDoc View which would display the JavaDoc of whatever the current or last selected element was. I'm trying to find something similar for C# in Visual Studio 2013, but I'm not seeing anything like is. Does it exist? If so how do I activate it?
Thanks!
There are many applications that can generate MSDN style documentation from your XML comments. Here are a few I have used and they work well
VSdocman:
http://www.helixoft.com/vsdocman/overview.html
SandCastle
http://sandcastle.codeplex.com
I found what I was looking for. In Visual Studio, one would use the "Object Browser" to get something similar to the JavaDoc view. To get to it, View->Object Browser.
It does behave differently than Eclipse's JavaDoc view. Rather than tying the documentation to the cursor in the edit view, the Object Browser has a search box where one could search for the object they wish to view documentation on.
I have updated my resharper version to 2016.2 from 2016.1 (on visual studio 2015),
Suddenly it stops showing some the very often used feature specific to MVC like, hint for add view(which doesn't exists) for a action method in a controller, it is not even highlighting a navigation link for a return View();
Even very less information provided in documentation here
Also it is not highlighting hint error message for missing View file for a action method in controller.
Any hint to solve this issue is appreciated in advance. Problem Image
Expected to work as below (taken from documentation url mentioned above):
I'm looking to do a multistep webpage with around 5 steps, at least one of which will require a partial view with a grid and filtering.
I've downloaded the MVCWizard from NuGet, and set up my views, however I can find no example code for the controller.
Has anyone used this control? Do you have a sample controller I could see?
Alternatively, is there another wizard control which would do this?
Many Thanks
John
Sorry. maybe too late for the answers, but I found it now!!! It can help anyone too, so in the nuget page of MVCWizard you can find the example.
Nuget MVCWizard example
I'm using VS.net 2010 ASP.net C# 4.0 and I've got many pages who use the same Masterpage. But for some reasons I didn't find for now, some pages never display in design mode of Visual Studio. Instead of seeing my designed page, I only see a Gray Square where we can read
Error creating control - ContentPlaceHolder1
Request is not available in this context.
Anyone know a reason and/or a way to resolve this?
Must tell that there's no errors in my whole solution and I can start debbuging normaly.
Note : I usualy talk french so feel free to tell me if there's something that wasn't clear!
Not sure but this post looks like the same issue you are facing. Take a look. Hope this helps.
Check This
Question ONE:
I'm still pretty new to .net, but have used Visual Studio for a few recent projects. I'm now working a new project and I was wondering if visual studio had anything built in that would allow you to browse all of the details about a control, etc..
Is MSDN the best place to go for this?
For instance if I wanted to see of all the methods, properties, etc.. Is there anything inside VS?
Question TWO:
Can anyone recommend, books, resources, that deal specificially with Visual Studio? What each window does, etc.. I have used it enough to complete a few projects, but I haven't seen much in the way of exactly what everything does and why.
Thanks for any suggestions.
Use reflector (it's free!) to get in-depth information about classes etc. Visual studio also has a built-in Object Browser.
P.S. Reflector allows you to reverse engineer assemblies as well, allowing you to view the actual code of a class / method.
P.P.S. Google is still a developer's best friend. Need information on a control, search for it on the web. (Which will lead you to MSDN a lot of the times, but will also get you examples and loads of blog entries).
Question ONE:
You can use the Object Browser (menu View\Object Browser) to see a hierarchical list of all known assemblies, classes, interfaces, enums, etc...
This only gives the signature of each item and not the code.
If you want to see the code, use .Net reflector.
You can also use the Object Browser in Visual Studio. There is usually an icon for it at the top (by the Toolbox, Solution Explorer, etc. icons) or you can navigate to it (View -> Object Browser). When it opens, you will see all of the libraries currently referenced (system and third party) on the left hand side. It's hierarchical, so you can start drilling down. There is a search box at the top, if you want to look for a particular class, method or library. That looks at all the system libraries, not just the ones referenced in your current project.
For more help with the object browser, look here.
Q1:
In Visual Studio:
Above the editor there are 2 dropdown lists:
Left: Shows Classes
Right: Shows Class Members
or Click View > Class View: to see all the classes in the whole solution
I had a similar rub when I started using VS after I had done a lot of Java coding. I was used to the Java API documentation to research properties and such.
I found the VS equivalent IMO, here:
http://msdn.microsoft.com/en-us/library/ms229335.aspx
You can browse every class method, property, constructor, etc. right there. Their examples are decent.
In response to question 1, what I usually do is highlight the bit of framework code I'm interested in and hit F1 to bring up the documentation. For example:
Button myButton = new Button();
If you highlight the first Button and hit F1, you'll get an overview on Buttons in Windows Forms. If you highlight Button() and hit F1 you'll get the documentation on the Button class constructor.
In response to question 2, I'm not sure a book is the answer. I think reading a book on all the components of Visual Studio might be overkill. I'd say to keep on hacking away at your projects and page-fault information in via MSDN, Google, and StackOverflow as you need it. As with any IDE and framework, the more you use it the better you'll get at navigating and learning the ins and outs.