如何浏览视图从Visual Studio的控制? [英] How to navigate view to its controller from Visual Studio?

查看:158
本文介绍了如何浏览视图从Visual Studio的控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题在解决方案资源管理上有29个项目,另外,项目同时asp.net MVC和asp.net web表单结构。

The problem is solution explorer has 29 projects on it, also, project has both asp.net mvc and asp.net web forms structure.

在MVC节,大约有100在控制器文件夹的子文件夹和每个文件夹至少有3,4控制器。视图是完全不同的位置[不是在MVC文件夹]。

In the MVC Section, there are approximately 100 subfolders in the Controller Folder and each folder has at least 3,4 controller. Views are totally in different location[not in the MVC Folder].

我的第一个问题 [有任何工具,将显示之间的关系在解决方案资源管理整个文件页。]

My first question [is there any tool that will show the relationships between pages for whole files in the solution explorer.]

第二个问题 [我怎么能去从它的控制器视图容易吗?]

Second Question [how can I go view from its controller easily ?]

推荐答案

回答你的第二个问题是...

The answer to your Second Question is...

您可以右键单击在控制器的指数法,你会看到一个选项去查看,将这样做。

You can right click on the Index Method of the controller and you will see an option "Go To View" which will do exactly that.

这篇关于如何浏览视图从Visual Studio的控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆