Build and run the Web API project

  1. In Solution Explorer, right-click the solution.

  2. Select Build Solution.

  3. After the build succeeds, run the project using one of the following methods:

    • Press F5 to start in debug mode.

    • Press Ctrl + F5 to start without debugging.

  4. After the Web API starts successfully, access the API endpoints or the health check page in a web browser.