开发者

manupulate url in MVC2

开发者 https://www.devze.com 2023-01-17 16:01 出处:网络
On my page I have a lot of textpages and to save some time. I would like to make one controller/Action to handle all this sites. However, this gives me some problems with the URL (I dont want it to sa

On my page I have a lot of textpages and to save some time. I would like to make one controller/Action to handle all this sites. However, this gives me some problems with the URL (I dont want it to say something like http://MySite.com/DynamicPages/TextPages). I figure that I should be able to store all URL's in the database and then get the action to call from here.

I tried some differnt things and seached the web for solutions, but found nothin开发者_如何学编程g. Do anyone have some suggestions or know a article I can read about a solution.


I found uot I could use the routes for what I wanted.

0

精彩评论

暂无评论...
验证码 换一张
取 消