asp.net-mvcpartial-viewstracerazor-2

MVC.NET Tracing Partials & Templates


Is there a way to get a trace of what cshtml files are being used to construct a particular page load? For instance:


Solution

  • Try Glimpse. It works much like Firebug does, except for MVC. It shows the execution tree of your views/partials/layout in a tree that looks pretty much the same as you described, including their execution times. It's very extensible as well, and there are plugins to trace Entity Framework, and JavaScript, etc.