.net - MVC2 Url with a dash -


i have view (page) called datagrowth.aspx, how can display in browser so:

http://localhost/solutions/data-growth/

trying asp.net mvc2

thanks

you add

[actionname("data-growth")] 

attribute controller action. can choose rename view data-growth.aspx or modify return statement to

return view("datagrowth"); 

Comments

Popular posts from this blog

mod rewrite - Doing external redirect. .htaccess NS flag not working. How to achieve similar results? -

mysql - How to insert just year and month into date field? -