I have only 1 controller and have 1 action only in my example like this:
//
// GET: /Home/
public ActionResult Index(string source,string id)
{
    return View();
}
I have 2 routes registered for this action like -:
 routes.MapRoute(
                name: "Default2",
                url: "{source}/{id}",
                defaults: new { controller = "Home", action = "Index" }
            );
            routes.MapRoute(
                name: "Default",
                url: "",
                defaults: new { controller = "Home", action = "Index", source="source1", id = UrlParameter.Optional }
            );
When I call default, it calls Index action, which is OK
when I call like this, /source1/12 - it works.
But when I call like this /source1/12.0 - it does not work and shows up 404 ..
Can anyone suggest why is this happening ?
 
     
     
     
     
    