需要C#源码关系图

发布于 2024-08-22 21:51:11 字数 514 浏览 6 评论 0原文

我最近接手了一个用 Visual Studio 2008、C# 编写的 Web 应用程序项目。前一个人的文档很少。我知道它使用母版页,起始页是default.aspx。尽管仍然可以手动跟踪代码(通过大量的时间和辛苦劳动等等),但我相信我不是第一个面临此类问题的人,并且必须有一种更有效的方法来概述整个解决方案文件如何相互关联。

我需要是一个高级图表,概述了哪个页面/控件正在调用另一个页面/控件等......以及它们之间的相关性非常有帮助。

有人知道这是怎么做到的吗?

谢谢你!

顺便说一句,我以前的经验主要是 Visual Foxpro...

编辑:

谢谢 Aim Kai、Fernando 和 Daniel Brückner 的领导。我已经下载并安装了 NDepend 和 Reflector 的试用版。对它们进行了测试,必须说它们都是优秀的产品。 NDepend 似乎是功能更强大的产品,并且可能物有所值。无论如何,在决定之前我会再尝试一下。再次感谢并欢呼!

I recently took over a web application project written in Visual Studio 2008, C#. There was very little documentation from the previous guy. I know it uses master pages and the starting page is default.aspx. Although it may still be possible to trace the code manually (through LOTS of time and hard labor and still some more), I believe I'm not the first person facing such problem and there must be a more efficient method to getting an overview of how the entire solution files are related to each other.

What I need is a high level diagram that gives an overview of which page/control is calling another page/control, etc... and how they're all related will be very helpful.

Anyone know how this is done?

Thank you!

Btw, my previous experience was mainly Visual Foxpro...

Edit:

Thank you Aim Kai, Fernando, and Daniel Brückner for the lead. I've download and installed the trial for both NDepend and Reflector. Tested them and must say they're both excellent products. NDepend seems like the more powerful product, and may be worth the money. Anyway, I'll play around with both some more before deciding. Thanks again and cheers!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

晒暮凉 2024-08-29 21:51:12

NDepend 是一个非常好的工具.. 这也可能有帮助.. .Net Reflector由 Red gateway 提供,带有以下一些插件...

http://www.codeplex.com/reflectoraddins

NDepend is a very good tool.. This may help as well.. .Net Reflector by Red gate with some of the following plugins...

http://www.codeplex.com/reflectoraddins

命比纸薄 2024-08-29 21:51:12

您可以尝试一些Reflector的插件,例如SequenceViz自动图表。请在此处查看完整列表。

You could try some Reflector's add ins, like SequenceViz and AutoDiagrammer. See the full list here.

岁月静好 2024-08-29 21:51:12

NDepend 来救援。但它的目标是大型代码库并且需要花费一些钱。

NDepend comes to the rescue. But it targets large code bases and costs some money.

泪之魂 2024-08-29 21:51:12

如果您可以获取该项目的副本,并将其加载到 Visual Studio 2010 上,则方法级别上有一个“生成序列图”选项 - 您可以在您所在的方法下方看到调用的调用树。

If you can take a copy of the project, and load it up on Visual Studio 2010, there is a "Generate Sequence Diagram" option at the method level -- you can see the call tree for calls below the method that you are on.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文