I have MVC3 application, where I want to keep short URL. what is the best or clean way to do this? Lets say I have two controllers Account and Home. I have all the account related tasks Logon, Logoff, Profile, FAQs etc. in Account controller. All the main tasks in home controller like TaskA, TaskB, and TaskC. I am looking for URL as below:
- www.mydomain.com/Logon
- www.mydomain.com/Logoff
- www.mydomain.com/Profile
- www.mydomain.com/FAQs
- www.mydomain.com/TaskA
- www.mydomain.com/TaskB
when user first come to the website they need to redirect to Logon page. At any time user should also able to switch from once controller action to another controller action (from TaskA to Logoff).
what is the clean way to do this?