Code Map for ASP.NET Projects in Visual Studio 2013 Ultimate - asp.net

I need to visualize complex business logic on a single ASP.NET page that has over thousands of lines code so I decided to give Visual Studio's own "Code Map" feature a shot, which is described here: http://msdn.microsoft.com/en-us/library/jj739835.aspx
The tool looks like this:
I tried with VB.NET and C# (including MVC) projects and it was working very well... or that's what I thought, until I tried to use code map tool on an ASP.NET project.
Instead I got this helpful window:
I couldn't find any documentation that says "it's not supported" so I guess I'm doing something wrong? Is there any way to get this tool work, manually trying to add did not help either. I'm open to suggestions.

It appears you're using a File System Web Site Project. These have nebulous support in Visual Studio 2012 and later. I say "nebulous" because I haven't found anything that explicitly states they're deprecated, but the documentation for them is only provided for Visual Studio 2005, 2008 and 2010.
If you need Code Map support for your project, consider converting it to a Web Application.

Related

Cannot load ClassDiagram.cd on Visual Studio. "URI formats are not supported"

When I try to open a class diagram for my asp.net webforms project I get the following error. The Class Diagram (.cd) files get generated but I can't open them.
I do have some classes that use the URI class but i don't really think that could be the issue. Right? Why would a class diagram care about one of my classes using a URI datatype?
I'm using vb.net Visual Studio 2012 and the project is targeting .net 4.0. I'm aware there is another question in stack overflow asked about the same issue, however there were no answers posted to it and it's close to a year old.
Help will be greatly appreciated, thank you.
I had the same problem and was able to fix it in Visual Studio 2012 Professional just now for a website I am working on with my team.
This is not about one of your classes using the URI data type.
My setting under "WEBSITE" in Visual Studio was previously set to "Use IIS Express". When it is set this way, you can select the alternative option, again under "WEBSITE" which is "Use Visual Studio Development Server". I'm not certain, but I think this is what the other posters describe above when they say "open web site in file system mode". When I am not using IIS Express, the class diagram generates, is not blank, and opens fine for viewing in the IDE.
Please open web site in file system mode (and not in IIS express ) and it will work.
when you load the website, visual studio will tell you that it is already using IIS Express to serve websites do you want to continue using it or not, select no so that you can use visual studio and bot the IIS. my things worked after that

If I build a web application in ASP.NET, am I married to Visual Studio?

Doesn't Visual Studio generate all kinds of things when you build asp.net websites? I haven't used it in a while but back in webforms with a the dal and a bll, VS generated xml files and other things (don't remember what). And, while I technically could use notepad to fix it, VS seemed to be the only way to make sure things worked right.
How about today with MVC or something else asp.net? Am I tied to Visual Studio forever if I want to build websites? I liked in PHP that I can open up a file and it be simple to change things and it just works.
I am not knocking Visual Studio. It is a great product, but for those in my group that do not use it, it is a learning curve. Not asking for why asp.net is better than php or vice versa, just about visual studio.
EDIT: Is Visual Studio the BEST way to build asp.net projects?
You can use MonoDevelop, Webmatrix, Visual Studio Express but i suggest SharpDevelop, its open source.
sharpDevelop (short for SharpDevelop) is a free IDE for C#, VB.NET and Boo projects on Microsoft's .NET platform. It is open-source, and you can download both sourcecode and executables from this site. In addition, you can find the latest information and changes on #develop, as well as get in touch with the team in the forum.
More Information
SharpDevelop Website
MonoDevelop
Webmatrix
Visual Studio Express
No, you can build with MSBuild from command line, just simple msbuild.exe app.sln
You can also use MonoDevelop, which will run on Windows/Mac/Linux.
You could use Microsoft WebMatrix, which is free and aims to simplify the web development process. Another alternative is MonoDevelop, which is an open source IDE for multiple platforms.

convert JSP site to ASP.NET

I am using Visual Studio 2010 Ultimate. I have an existing site which was written in Java and has many JSP files (as well as many other file types). I want to convert the site to ASP.NET. I see that in the past there was a Java Language Conversion Assistance. In further research it appears that the tool is built into Visual Studio. However, I cannot find any documentation that steps me through how to run the Wizard. Where can I find it in VS 2010?

IDE Suggestion required.Envionment : ASP.NET-VB-JAVASCRIPT

I am working on a ASP.Net project creating a Outlook like calendar scheduler app.
I need to implement javascript on the webpages, but VS 2005 that I am using now is not very helpful, like intellisense or debugging,etc.. in case of javascript. I am planning to use jQuery in the app too.
Questions :
Is there some feature of VS 2005 that helps in javascript, that i dont know, or should I move to VS 2008 (is it better than VS 2005 in this regard?) ?
And also tell me a good IDE to practice javascript, in a HTML-Javascript environment. I am not going to use Rails or PHP or python.
Thanks.
It would be helpful for you to provide details on what sort of "help" you're looking for.
VS2008 has better JavaScript support than VS2005 in general, including JavaScript debugging. Here's a link from Scott Guthrie about VS2008 JavaScript support.
With jQuery, you can add intellisense to Visual Studio to help you out. Here's another link to a post from Scott Guthrie about enabling the intellisense.
I agree that VS 2008 is much better for the environment you are considering, as you can easily add intellisense support for jQuery. VS 2008 can also debug inside it's own webserver or IIS which means that it's very easy to test your environment.
For our projects we use VS 2008 and code using the MVC framework which has incorporated jQuery. I run each web project inside the debug environment before we deploy to IIS for final testing. I use firebug to debug JS in Firefox, Chrome and safari have their own debuggers and VS 2008 handles IE for me.
Another nice feature of VS 2008 is the ability to publish projects to a specific location copying only the required files. I wouldn't want to publish to a live environment but to create the required files within the final testing environment first is a much needed time saver.
Regarding your second question, RubyMine is a great environment for writing JavaScript - great IntelliSense, and it teaches you best practices, too (something that Visual Studio lacks).
It's quite funny that this isn't that much advertised on the product highlights page (it's in brackets, heh)...

How to make visual studio 2008 ASP.NET designer faster?

Visual studio designer for asp.net applications is generally very slow and i would like to know if there are any tips or guidelines for settings in order to get better.
The problem is usually noticed when i try to make a change in design or source view, especially in source view it may get non-responding for a couple of seconds.
I experienced a very similar issue when I first installed Visual Studio Team System 2008 Development Edition. I have issues with VS design view and could not switch to "Split View"
Reference the following ASP.NET thread link to see if any of this information helps..(Warning: It is quite long).
Do you notice any difference when starting in Safe Mode?
devenv.exe /SafeMode
I assume that you have already installed the hotfix for VS2008 ASP.Net Designer performance issues? Link

Resources