I plan to write an MVC blog engine that supports multiple blogs. When creating a blog, the user will be able to choose the path along which his blog will be available.
For instance:
/ blogs / firstBlog /
/ new projects / <big> secondBlog /
/ Foo / bar / thirdblog /
This route information will be stored in the database. Instead of MVC, using only the routes statically declared in Global.asax.cs, I would like to read the routes from the database first. Then, if he does not find anything, cancel the routes declared in Global.asax.cs. Is it possible? If so, what would you suggest doing this?
thank
source
share