Run web api project via command line over Visual Studio

By | November 3, 2019

If you have created a Web Api project and want to run it via command line via Visual Studio

You must first download the Productivity Power Tools plug-in from this address

https://marketplace.visualstudio.com/items?itemName=VisualStudioPlatformTeam.ProductivityPowerPack2017

After you should right click on the service project

Choose Power Commands and the Open Command Prompt

That will open up a command prompt at that a project location.

To start the service we’ll just type a dotnet run.And this now show us where is the service listening

We can take this and put into a browser to look at data

2 thoughts on “Run web api project via command line over Visual Studio”

  1. maintest

    I really like what you guys tend to be up too. This kind of clever work and reporting!
    Keep up the good works guys I’ve incorporated you guys to blogroll.

    Reply ↓

Leave a Reply

Your email address will not be published. Required fields are marked *