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

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

Disclaimer: I'm not sure I really want a static analysis - that was the closest term I could come up with.

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

I’m sure that you can continue and continue with this - and move on to more complex questions, for example, whether each action is really accessible along the route.

If no one has done this, is that what people find useful? What else do you need to do?

+7
asp.net-mvc static-analysis
source share
1 answer

To check routes, you can use MvcContrib . It contains many different interesting functions, and one of them is a route debugging handler. And at the moment, that's all I saw. It will be quite difficult to create a good tool to display all the information that you described, because the architecture of asp.net mvc is very flexible, and the architecture of projects can be very different. But if you use NHibernate in your projects, you should take a look at the NHibernate Profiler .

+1
source share

All Articles