Skip to main content
CSharpUniversity ASP.NET and C# lessons

The search runs entirely in your browser over the published lesson list.

Running the project and reading the result

Pressing run does two jobs in one step: it builds the project and then starts a small web server on your own machine so you can open the pages in a browser.

What you should see

A browser window opens at a local address, usually with a port number. That address only works on your computer. The page you set as the start page loads first.

Two kinds of failure

  • A build failure. The project never started because the code does not compile. Read the error list, fix the first error, then build again.
  • A runtime failure. The project started but a page threw an exception. The message names the line that failed.
Fix one thing at a time. When several errors appear, fix the first one and rebuild. Later errors are often caused by the first and vanish on their own.

If the page looks wrong rather than failing, compare design mode with run mode. If the project will not build, go to reading a compiler error.

New lessons by email

Leave your address and get a short note whenever a fresh lesson is published. No account needed and you can stop at any time.

Thank you. Your address has been noted in this browser session. Connect a mailing service to deliver the notes for real.