Skip to content

Your First Visual Studio Program: Hello World

Professor F edited this page Mar 23, 2021 · 9 revisions
  1. Start up Visual Studio (the first time you start up, you will have to log in—not shown)

  2. Click on the Create a New Project button

  3. Type ASP.NET Web Application

  4. Select ASP.NET Web Application (.NET Framework) then click the Next button

  5. Change the Project name to HOMEWORK1 (and REMEMBER THE FILE LOCATION, YOU'LL NEED THIS FOR SUBMISSION)

  6. Click the Create button

  7. Select Empty then click the Create Button

  8. Right-Click over the globe icon & expand Add > Add New Item…

  9. Click on Add New Item…

  10. Change the file name to HelloWorld

  11. Click the Add button, this creates the file HelloWorld.html (see right panel)

  12. Add Hello World (Your Name) in between the

    tags
  13. Run your program by clicking the green run arrow, near the middle of the screen

  14. Switch windows back to Visual Studio (not shown) and click the red stop icon near the middle of the screen

You're done!