I’m not a big fan of having urls with the “/home” in front. For example: /home/about, /home/contact, etc. Here is a simple way to get your home controller routes to be a little more concise using a route constraint.
Step 1: Create the route constraint.
Step 2: Add a new route mapping above your default mapping that uses the route constraint that we just created. The generic parameter should be the controller class you plan to use as your “Root” controller.
Now you should be able to access your home controller methods like so: /about, /contact, etc. One gotcha here is that if you happen to have an action in your root controller with the same name as one of your controller names, then you will have some conflict. To fix that, you could add more logic to the constraint, but I would just avoid doing that altogether.