Problem: Every time I try to debug a new project that’s derived from training materials, I end up with a blank page.
When I “View Source” on the debugging page, all I see is this:
Solution: need to set the default page in the Web project:
- In Solution Explorer, browse the Project suffixed with “.Web”
- Right-click on the .aspx page you wish to launch by default, and choose “Set As Start Page”
Note for others: it took me a while to figure out how to represent HTML code right in the posting here, as Blogger will (by default) interpret the HTML code and render it on the page. I finally found this helpful article which provided a link to a great simple encoder that makes sure you get to read my HTML code:
http://passiveweb.blogspot.com/2009/10/how-to-add-code-block-to-blogger-post.html
LikeLike
I just wish I could quickly figure out how to keep the line breaks in my HTML code so it was more readable. At this point I think I've done enough to help myself later when I forget this lesson again, so I just don't have the strength to figure out where else I went wrong.
LikeLike
Excellent! Thanks for this – I've been looking at this feature for ages. Followed your instructions and it works a treat!
LikeLike