Friday, 15 April 2011

c# - How to make multiple directory in asp.net mvc -


How do you create a URL in asp.net mvc in which the default controller is greater than the action, id and the hyphen in the controller How is it applied?

The default URL in asp.net mvc is:

  {controller} / {action} / {id}  

how to do this Create a URL:

  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 the desired URL, As you have a controller, an action and an N-parameter for example, for example & lt; Controller> / & LT; Action> / & LT; Param1> / & lt; Param2> / & lt; Param3>, it depends on what you want. Maybe it will help you.


No comments:

Post a Comment