How to set page as default page in web application c# and open that page while using URL Routing

EmadKhan
 
on May 24, 2016 09:16 AM
3276 Views

I am creating new web application asp.net c# project. Now in there i am using url routing. The basic url would be while developement is localhost/VAEBS . Now i want that whenever www.VAEBS.com or localhost/VAEBS is opened in browser it must open my login page, like this localhost/VAEBS/LoginScreen . Yet it is openeing login screen on typing localhost/VAEBS , but it is not showing LoginScreen text in url , which needs to be like this localhost/VAEBS/LoginScreen

Download FREE API for Word, Excel and PDF in ASP.Net: Download
Shashikant
 
on May 24, 2016 09:50 AM

Please refer below link

http://stackoverflow.com/questions/2704338/asp-net-4-0-web-forms-routing-default-wildcard-route

also you can simply add dummy apsx page and set it as start page and then on page load you can redirect to Default page