php - ASP.NET: Routing rules -


coming php background know can configure in cakephp , codeigniter:

to have request http://mydomain.com/admin/product/view handled products controller , admin_view method.

public function admin_view() 

will handle request /admin/product/view, while

public function view() 

will handle request /product/view

how do in asp.net mvc? can help? thank you.

you may organize type of code using areas concept in asp.net mvc. link help.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -