E.g. I have three payment controllers, each specific to a third party payment processor, so under my root Views folder, I have one folder for each of these controllers. I would like to move these into Views\Payments\Processor1, Views\Payments\Processor2, etc. instead of the current Views\Processor1 etc.
I am not ready to implement areas yet, so I’m hoping there is some way I can tell MVC to also look in subfolders, or something like that. Can this be done and how?
You could write a custom view engine and override the default view locations:
and then register it in
Application_Start: