I would like to display the view in the folder if no controller/action matches.
For example http://www.site.com/Home/Index, if I have the normal default route {controller}/{action}/{id} then I need a HomeController with method Index.
And there is a folder in Views folder called Home and the file Index.cshtml
If i try http://www.site.com/About/Index i need to create the AboutController and the method index.
But I have just the folder About and file Index.cshtml.
I would like that if the default route does not match but I have a Folder and a File in the Views folder that match the patern: {controller} is the folder {action} is the view; then that view is displayed.
How could I achive that?
For missing actions you can override HandleUnknownAction.
For missing controllers you can implement a custom DefaultControllerFactory and override GetControllerInstance with something like this: