Starting Projects
Explore how to start multiple projects simultaneously in ASP.NET Core using Visual Studio 2022 and Visual Studio Code. Learn to configure startup projects for debugging, run web service and MVC client projects, and test their interaction to build and consume web services effectively.
Up to this point, we have only started one project at a time. Now, we have two projects that need to be started, a web service and an MVC client website. In the step-by-step instructions, we will start individual projects one at a time, but we should use whatever technique we prefer to start them.
Using Visual Studio 2022
Visual Studio 2022 can start multiple projects manually one by one if the debugger is not attached, as described in the following steps:
Step 1: Set the “Startup Project” for the solution as the Current selection.
Step 2: Select a project in Solution Explorer so its name becomes bold.
Step 3: Navigate to “Debug | Start Without Debugging” or press the “Ctrl + F5” key.
Step 4: Repeat steps 2 and 3 for as many projects as needed. ...