.net - Get A Visual Representation Of Solution's Dependency Chain And Member Hooks?
Feb 17, 2010
I've been tasked with researching some .NET code that isn't mine. It's a little hard to figure out because there are so many hooks in different areas. In other words, everything seems to be very highly coupled.I'd like to be able to do the following:Very easily see a hierarchical (tree) view of projects and their direct dependencies (not just references)Be able to easily (visually) trace specific API hooks back from a dependent class to it's dependency. For example: If ProjectA.ClassA.Method1() has a call to ProjectB.ClassB.Method2() within the method, I want to be able to see itAnd hey, maybe visually isn't the best way to go. But it seems to always work better for me that way. I'll take any and all suggestions of course
View 5 Replies
Similar Messages:
Mar 20, 2010
I'm trying to create a .NET solution and add class libraries to it. First - in VS2008 I go to File > New > Project > Other Project Types > Visual Studio Solutions > Blank Solution. Then - after VS2008 creates the blank solution I right click on the solution and select Add > New Project > Visual C# > Class Library. However, when I add the Class Library to the solution, the solution icon disappears from Solution Explorer (although the solution name is still in the VS2008 title bar). Why does the solution icon disappear
from the Solution Explorer when I attempt to do this?
View 2 Replies
Sep 10, 2010
I am stumped by a serious issue in Vs 2008.
I created a Blank solution called HelloWorld.Then I added a new Class Library project by the name of HelloWorldService.After creation of the
Class Library project the Solution name disappeared from Solution Explorer.
As a result of which I can now only add new items into the Class Library project but cannot add new item to the solution.
This appears to be a pretty old problem as I found it in another link on the internet.
[URL]
It seems to be a bug.Has MS released a patch or a fix for this.
View 6 Replies
Feb 14, 2010
Even though I when I create a linqtosql class I mark C# as the language it was always shows up as a Visual Basic file in the App Code file. I can't get it to stop doing that. ????? What is going on?
View 5 Replies
Jan 20, 2011
I have a javascript that as a function called OpenChild(). when trying to debug(F5) I receive the error : 'OpenChild' is not a member of 'ASP.childmaster_master'.
View 2 Replies
Feb 25, 2010
I have two member roles at my project:
1.) Administrator
2.) Member
From the toolbox in Visual Studio 2008, I have dragged and dropped the create user wizard into the stage. I aim that a guest can register itself and automatically join the "member" role. Not the role "administrator". How can I do that?
View 9 Replies
Feb 4, 2011
I have a website which was created by someone; now I am trying to open it.
My doubt is will that project contain a solution? Within Visual Studio, I am trying to open through the open website option, but I didn't find a solution.
Is that right way? How best can I open a website with Visual Studio?
View 4 Replies
Nov 25, 2010
I have following model class:
public class WebModel
{
public List<ArticleModel> Articles { get; set; }
}
public class ArticleModel
{
public int ID { get; set; }
public double ValueParam { get; set; }
}
Then I have the controller with the two actions:
[Authorize]
public ActionResult Index()
{
WebModel model = new WebModel();
ModelConverter.ConvertToModel(model, controller);
return View(model);
}
[Authorize]
[HttpPost]
[ValidateInput(false)]
public ActionResult Index(WebModel model, string saveButton)
{
ModelValidation.ValidateWebModel(model, ModelState);
if (ModelState.IsValid)
{
return RedirectToAction("Create", "Article");
}
ModelConverter.ConvertToModel(model, controller);
return View(model);
}
And this is my view:
<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Web.Models.WebModel>" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
<%var controller = Session["controller"] as Web.Code.SessionController; %>
<%Html.BeginForm(); %>
<div>
<table width="100%">
<%foreach (var article in Model.Articles)
{%>
<tr style="text-align: right">
<td>
<%:Html.DropDownListFor(m=>m.Articles.FirstOrDefault(f=>f.ID == article.ID).ID, new SelectList(controller.CurrentProdukt.Articles.AsEnumerable(), "ID", "Name", article.ID)) %>
</td>
<td>
<%:Html.TextBoxFor(m => m.Articles.FirstOrDefault(f => f.ID == article.ID).ValueParam)%>
</td>
</tr>
<%} %>
</table>
</div>
<table style="width: 100%">
<tr>
<td>
<input type="submit" name="saveButton" value="Save" />
</td>
</tr>
</table>
<%Html.EndForm(); %>
</asp:Content>
If I press the submit button, I get to the second action method in the controller (the one with the HttpPost attribute). In this action, the object model itself is not null, but the "Articles" list inside is null.
View 2 Replies
Aug 12, 2010
I have to modify a exist web application in Asp .Net, the problem is that I have the application just on the server.
I copy the application on my pc but now I have to create the appropriate solution and project to modify it.
I've all the file .cs and the dll already deployed.
How can I create the web application with .net ?
View 1 Replies
Mar 23, 2011
I have first installed VS2005 and then installed VS2008. After installing, whenever i create a solution in VS2008, i am able to create it properly. if i double-click the solution file, i am able to open the project. Recently i had a problem in my IIS 5.1 and i uninstalled it and the installed it again. After doing that whenever i try to open a VS2008 solution file, i am getting the following error The selected file is a solution file, but was created by a newer version of this application and cannot be opened.". I even tried creating a blank solution using
File->New->Project->Other Project Types-> Visual Studio Solutions-> Blank Solution.
I then added a new project to this solution. I closed the solution and again when i double-click on the newly created solution file i am getting the same error as previous one. I found some solution in the net, tried that and didn't work at all.
View 2 Replies
Mar 3, 2011
I've got a Visual Studio 2010 solution that has multiple web applications in it. I've set one as the startup project but when I debug Visual Studio is starting up a development server for each web application in my solution. Is there anyway I can have Visual Studio only start up the development server for just the default startup project?
View 2 Replies
Apr 1, 2010
How can we Rebuild solution in vs2008 without visual studio?
View 1 Replies
Jul 6, 2010
As is shown here
[URL]
I do not have SQL Express installed as I already have SQL 2008 (Developer) on my Dev machine. When I say add new item -> SQL Database, give it a name and say "yes" to it creating me the app folder I then get the message that I need to have SQL Express installed and I can download it from blah blah.
Why will it not let me use/recognise my installed instance of SQL Server?
View 5 Replies
Apr 26, 2010
I have a TFS Server all set up, I can connect to it, see the collection and i have created a new project.
When I create a new project in VS2010 and right click on the solution and select add to source control,
I get the following error:
[Code]....
View 1 Replies
Jun 28, 2010
how to create an empty Solution in Visual Web Developer 2010 Express Edition.
File > New Project, and then -- where?
Maybe it's now allowed? I can't work with solutions at all then?
View 2 Replies
Feb 24, 2010
this seems to be a problem only on my new PC, not my prior PC or my coworkers PCs. But, as far as I know, I have installed VS2005 the same way, including the VS80-KB915364-X86-ENU.exe and WebApplicationProjectSetup.msi additions.
I have a VS2005 Solution called 'Intranet' made up of several web projects. One of those web projects is also called 'Intranet'. All of the projects should load as Web Application Projects, which they did on my prior PC.
Now, the 'Intranet' project seems to be opening as a Web Site project. The name of the project in the solution now shows as "C:...Intranet" instead of just "Intranet" and is not recognized as being part of the SourceSafe project(no lock icon shows). If I right-click this project, "Build Web Site" is one option.
View 3 Replies
Oct 14, 2010
I have problem using Visual Studio.NET 2003. When I open solution made early ago, choose the code of the existing .aspx page, could not change it, because when type nothing happened, no letter, no sign, like the keyboard is "dead" (but it is not, ofcourse).
View 6 Replies
Jan 21, 2011
I have a solution file with 2 projects inside, one will be handling the presentation portion and the other is for database data retrieval. I was wondering if its possible to pass a value from the presentation.aspx in the "presentation" project to the db.aspx in the "database" project? They are both in the same solution file.
View 8 Replies
Dec 25, 2010
At work, we've developed a custom ASP.NET Web Portal (That's very similar to iGoogle). We have "Apps" (self-contained, large web forms) and "Modules" (similar to Google Gadgets).Currently, we use a single-solution model. Right now, we have:
3 core projects
60 application projects
80 module projects
To reduce copy and pasting between projects, we're going to factor out common functionality (Data Access, Business Logic) into separate projects. I'd also like to introduce Unit Tests, which is going to increase the number of projects even more.We've already reached the point where Visual Studio is choking on the number of projects. We generally only load the 3 core projects and then whatever app's/module's project we're working on.Would a different solution structure help us out? Our number of projects is only going to increase.
In general, an app or module only references the 3 core projects. Soon, apps/modules may start referencing the Data Access/Business Logic projects. But in general, apps and modules do not make references between themselves.So to recap, what is the best practice for solution structure when there are MANY projects that use a small number of core projects?
View 1 Replies
Jan 13, 2010
how can I share one or two aspx file in two separated solution that if i change aspx file in both solution apply changes. Is it possible in visual studio 2008 or in Team foundation server?
View 1 Replies
Jul 29, 2010
In my company app we have organized it something like the following:
1. Solution (Transcripts)
Solution Folder - Lib
Solution Folder - Debug
Solution Folder - Release
Class Library Project
Web Project
My Question:
1. All my references from Web Project are referencing to the DLL's in the Lib folder under Solution (Transcripts). Why can't we refere to DLL's directly under Web Project why the need of creating a new solution folder "Lib"?
2. When we publish the Web Project. Does that mean that all the DLL's under Lib solution folder also gets published?
View 2 Replies
Jul 3, 2010
I am planning to develop an application with asp.net mvc 2. In my project it is very large project.How to plan the solution structure in visual studio 2008. My requirement is module wise solution structure in visual studio 2008 using asp.net mvc2.
View 3 Replies
Jun 22, 2010
Is there a way to change the colors (or perhaps add an overlay) to the files in Solution Explorer?It would be great to be able to 'tag' the files with different colors so that you can see for example what status the different files have.
View 2 Replies
Nov 15, 2010
I'm working with VS2010 and I wonder should I use one Solution for multiple web applications (web sites) or is it better to create separate web applications (with it's own solution) for each web site?
View 4 Replies
Nov 30, 2010
I'm trying to migrate an old asp.net 1.1 application to target the new .net 4.0 framework. There are good guides available on this [URL]. However, all approaches start with the assumption that the 1.1 project contains a solution file which one has to open using VS 2010 and go through the conversion wizard.
In my case, the project does not have any solution file, giving me a sort of chicken and egg issue.
Is there a way to add a 1.1 .net soution file with or without VS 2010? Using command line tools? What is so special about a solution file anyway?
View 3 Replies