Answer by Todd Smith for ASP.NET MVC and REST URI's
You can use the [AcceptVerbs] attribute on your action methodpublic class BookmarksController : Controller{ [AcceptVerbs(HttpVerbs.Get)] public void Bookmarks(string user) { //add your bookmark }...
View ArticleAnswer by Pablo Retyk for ASP.NET MVC and REST URI's
first you need to create a new route in global.aspxroutes.MapRoute("Bookmarks", "{controller}/{user}/{action}/{id}");then add a new actionpublic class UsersController : Controller{...
View ArticleASP.NET MVC and REST URI's
How would I handle something like the below uri using ASP.NET MVC's routing capability:http://localhost/users/{username}/bookmarks/ - GEThttp://localhost/users/{username}/bookmark/{bookmarkid} -...
View Article
More Pages to Explore .....