.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

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -