开发者

MVC - One Page different URL

开发者 https://www.devze.com 2023-01-12 19:13 出处:网络
I Have one view page, of which the content ain\'t always the same, ie: partial views are loaded on demand.

I Have one view page, of which the content ain't always the same, ie: partial views are loaded on demand.

What i want to achieve is:

Allow users to create Virtual Pages (each with it's own url), but the pages must all point to that view.

I hope i am making sence.

Any idea's?

I have alrea开发者_Go百科dy looked at: http://rebuildall.umbraworks.net/2009/11/17/ASP_NET_MVC_and_virtual_views


Close but I would say from a MVC point of view you need a custom routing engine that you can plug lookup custom URL and point them to the single view.

Scott Gothrie MVC Url Routing

0

精彩评论

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