KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am learning .NET MVC and an app I'm building has become rather spaghetti-like. In my code I have many actions in different controllers which naturally all produce various views and partialviews. To make matters worse, I have @Html.Action commands which add another layer of confusion. Some of this is left over from the default scaffolding action. Is there any tool that produces a list of all the possible routes in my site and the views they return? I'd also like to find all the unused views and actions without views and generally refactor everything properly. Something like this (please don't comment on this specific example): Route Views returned ------------------------------------------ /User/Edit /User/Edit.cshtml /Admin/User/Edit /User/Edit.cshtml ... Does such a thing exist? Can it be done with a .tt template? Or perhaps my whole approach is wrong..!
Tags (comma-separated)
Save Edits
Cancel