I have an action taking two GUIDs:
public class MyActionController : Controller
{
//...
public ActionResult MoveToTab(Guid param1, Guid param2)
{
//..
Yes, it is possible to map your parameters to System.Guid
routes.MapRoute(
"MoveToTab",
"{controller}/{action}/{param1}/{param2}",
new { controller = "MyAction", action = "MoveToTab",
param1 = System.Guid.Empty, param2 = System.Guid.Empty }
);
or
routes.MapRoute(
"MoveToTab2",
"myaction/movetotab/{param1}/{param2}",
new { controller = "MyAction", action = "MoveToTab",
param1 = System.Guid.Empty, param2 = System.Guid.Empty }
);