Reputation: 371
I'm new to Web Page development, and my first question always is - do we normally declare a starting page whenever designing web pages?
Sometimes I get confused when building a web application in VS, I notice that when working on built web apps, we can't normally do the "Start Debugging" and a new window will appear for the application to be debugged. Instead, we normally go to the browser and type an address of the "starting page".
I'm relatively new to web page development, and I've been always curious why do we do that and how can we easily follow which page to start with?
Thanks!
Upvotes: 0
Views: 55
Reputation: 218812
In Visual Studio IDE, if you are working with an ASP.NET web application/website, you can right click on a page and select "Set as Start page
". If it is an MVC project, you can not do this. But you can go to the project properties and Set it under "web" tab of your project properties.
Upvotes: 0
Reputation: 5758
You can specify the start page for your web application:
properties
,Web
tab,specific page
and browse for the page you want to start withThis technique also lets you pass querystring
parameters to your starting page and to specify logical routes
in an MVC
application - e.g.
Upvotes: 1