MVC3 generate list of controllers/actions with their attributes (esp. action filters)
Is there a reasonable way to generate a complete list of all controllers/actions in a project, along with their various attributes - notably acti开发者_如何转开发on filters?
Our project is relatively small now, but as it grows we'd like to be able to generate a comprehensive list of all controllers/actions and their [Authorize] settings to make sure that the developers haven't missed anything, and exhaustively searching the source code isn't a viable option.
I know this might seem elementary, but how about keeping documentation on the project, or is there another reason for not taking this approach? A Detailed Design Specification and a Functional Requirements Specification would cover those needs. These should be maintained by the softare engineer pre and post code deployment.
-------EDIT-------
Found a similar post here
精彩评论