How to control URL by using MVC -- ver.2


This article will show more information to use Global.asax.cs to Re-Write URL. In case, you want your URL to display like {action}{routes}. So, you don't want to display {Controller} to your URL.

Instead of using "". You might want to try "", which hide your controller.

I changed following steps to make it support "{Action}/{Routes}"

Control / Action


Actually, i didn't want to make change to this's class(still looking for that case)