In my mvc2 project, some URL are shown in the browser like this,
localhost:53289/Paper/ViewAgendaPaper?MeetingId=186&type=2&RefId=186
but i prefer to look it like this,
localhost:53289/Paper/ViewAgendaPaper
In my Global.asax,
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
new { controller = "Default", action = "Index", id = UrlParameter.Optional } // Parameter defaults
);
How to hide the id fields in the URL. Please give me some idea. Thankyou.