I am using the following code to achieve something like domain.com/actionName1, domain.com/actionName2 and so on to reach actions that reside in home controller.
routes.MapRouteLowercase("DefaultRoutes",
"{action}",
new { controller = "Home" },
new { action = new homeActionConstraint() });
It works fine. But how do I stop user from entering domain.com/home/actionName1 etc. and still reaching the action instead of 404 or something?