Back to Aspnetcore

Run The App

aspnetcore/blazor/security/includes/run-the-app.md

latest716 B
Original Source

Run the app from the Server project. When using Visual Studio, either:

  • Select the dropdown arrow next to the Run button. Open Configure Startup Projects from the dropdown list. Select the Single startup project option. Confirm or change the project for the startup project to the Server project.

  • Confirm that the Server project is highlighted in Solution Explorer before you start the app with any of the following approaches:

    • Select the Run button.
    • Use Debug > Start Debugging from the menu.
    • Press <kbd>F5</kbd>.
  • In a command shell, navigate to the Server project folder of the solution. Execute the dotnet watch (or dotnet run) command.