Powered by Blogger.

Sunday, March 2, 2014

Set start page in visual studio 2012




In this post we will discuss how we can set start page in visual studio 2012. Also you can check out my previous posts on:

- MVC Framework VS Classic ASP.NET

- asp.net mvc 4 tutorial

- Asp.Net MVC4 sample application

There are 2 ways we can set the start page in visual studio. 1st approach is very simple and we are very much familiar with it. The other approach we usually use less.

1st Approach:
From the Solution explorer Right click on the page which you want to make the start page and then select "Set As Start Page" as shown in the fig below:



2nd Approach:
From the Solution explorer, Right click on the Project and Property Pages. This will open the Property pages dialog box.

There select the Start Options from the left side and from the right side you can chose "Specific page" radio button. Then you can select the page which you want to make the start page as shown in the fig below:





0 comments

Post a Comment