I want to create an ASP.NET MVC site so that the controller for a specific URL is stored in the database instead of the URL.
The reason for this is that I am building a CMS system, and users should be able to change the template (controller) without changing the URL. I also think that the controller name does not apply to end users, and I want a clean URL: s.
I understand that I could just add all the routes when the application starts, but for a system with about 100,000 pages this seems like a bad idea.
Is it possible to save url: s in the database and search for each request, and then map this request to a specific controller?
riax source
share