O'Reilly logo

Learning NServiceBus by David Boike

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running the solution

One thing that will be useful when developing NServiceBus solutions is being able to specify multiple startup projects for a solution.

  1. In the Solution Explorer, right-click on the solution file and click on Properties.
  2. On the left, navigate to Common Properties | Startup Project.
  3. Select the Multiple startup projects radio button.
  4. Set the Action for the service project and the MVC project to Start and order them so that the MVC project starts last.
  5. Click on OK.

Now, build the solution if you haven't already, and assuming there are no compilation errors, click on the Start Debugging button or press F5.

So what happens now? Let's take a look.

When you run the solution, both the MVC website and a console window should appear as shown ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required