ASP.NET MVC 3.0 Routing behaviour
问题 I have controller BlogController with a couple of actions: 1)Index(string id) - show all posts/show single post if parameter id specified 2)New() - add new post 3)Delete() - delete post 4)And some more another actions So if i type in browser mysite/blog i could see all posts if i type mysite/blog/postnameid i want to see single post. the problem is when i type mysite/blog/postnameid it is not working ( The resource cannot be found. ), but if i type mysite/blog/index/postnameid this way it is