I've got a unique requirement in my unique ASP.Net MVC project. Basically we are migrating an older Linux based website to MVC and we want to preserve the URLs which were on the last website.
It is not practical to create a new controller for the subdirectory (ex. 'www.mywebsite.com/pickes/cherry-pickle-recipe.html') of the website.
So I want to do one of the following
Create a lookup list for the URLs. The URLs should be checked against a database and if a URL is found certain action should be returned from a certain controller.
Trap all url requests which didn't have a controller and send them to a certain controller-> action.
How should I go about this?