using visualstudio F5 to view a page in the browser

  • Thread starter dharma25 via DotNetMonster.com
  • Start date
D

dharma25 via DotNetMonster.com

After ive created a page and click on the start icon in visual studio to
view the current page in the browser.... it always displays some other page
from the site. then I have to manually enter my filename in the browser to
call the page i want to.??
 
K

Kevin Spencer

In the Solution Explorer, right-click the page you want to load and select
"Set as Start Page" from the context menu.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.
 
M

Mark Fitzpatrick

Both F5 and the Start icon are for debugging the application, not for
previewing the current page in the browser. The Start debugging action must
point to one single page in the application as an entry page to the process,
that way it can begin showing debug information and step through your
application. You set the start page by right-clicking the web application
root icon, selecting properties, then selecting Configuration Properties |
Debugging and entering in the page under the Start Page option. To view a
particular page, right-click that page in the solution exlporer and select
View in Browser.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top