In my mvc application I have Admin area and have default controllers outside area. I want to define route in global.asax file so that both default and admin.
like if user type: {http://localhost/} -> open default route
if user type: {http://localhost/Admin/} -> open admin route
If someone has idea to handle this then please suggest.
Create an Admin area registration file. Such as:
Then call this from your Global.asax