I would like to just set default action to call when use visit the site
Example:
When he type www.abc.com
He should view www.abc.com/somecontroller/someaction
But the path should not be shown which is /somecontroller/someaction
Please help me I have tried this
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { action = "Index", id = UrlParameter.Optional }
);
But this also shows the complete path. Thankyou.