c# - How to make multiple directory in asp.net mvc -
how can generate url in asp.net mvc contains more default controller, action, id. , how hyphens put in controller?
default url in asp.net mvc is:
{controller}/{action}/{id}
how url made:
stackoverflow.com/questions/28990934/two-models-in-same-view-in-asp-net-mvc or site.com/some-thing/otherthings/more-things/the-things.html
you can create customized urls like, long have controller, action , n parameters example http://yourdomain.com/bla/bla/mystuff/< controller>/< action>/< param1>/< param2>/< param3>, depends on want. maybe http://www.codeproject.com/articles/641783/customizing-routes-in-asp-net-mvc.
Comments
Post a Comment