Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anybody written a tool for static analysis of an ASP.NET MVC application?

Has anyone written a tool to do static analysis of an ASP.NET MVC application?

Disclaimer: I'm not sure what I want really is static analysis - it just was the closest term I could come up with.

What I'd like is to get a tabulated list of all my controllers, my actions, show whether they respond to GET or POST, what their cache settings are etc.

I'm sure you could keep going and goin with this - and go on to more advanced issues like whether or not every action is actually accessible by a route.

If nobody has done this - is it something that people think would be useful ? What else ought it to do?

like image 298
Simon_Weaver Avatar asked Feb 16 '09 01:02

Simon_Weaver


1 Answers

In order to test routes you can use MvcContrib. It contains many various cool features and route debugging handler is one of them. And at the moment this is all what I saw. It will be rather hard to create a good tool to show all information that you described because architecture of asp.net mvc is very flexible and architecture of projects can be very different. But if you use NHibernate in your projects you should have a look at NHibernate Profiler.

like image 157
zihotki Avatar answered Nov 12 '22 18:11

zihotki