I am developing a Web API in Visual Studio 2015 and want to use Chrome/Postman to view the JSon results.
Is there any way I can get Postman to launch when I hit F5 to run and for Visual Studio to start a debugging session.
Just start your API in debug mode, and let a Postman tab/app opened. If you have a breakpoint set in your code, when you send a request from Postman, it you hit that breakpoint and you can start debugging. There's also no way VS can know if Postman is ever installed.
Yes, you can!
You have to configure the Web tab of the Web API project to start an external program, pointing it to Chrome and passing in the parameters to tell Chrome to launch the Postman extension.
In Chrome:
In Visual Studio, configure the web tab of the project properties:
Now, when you hit F5... Postman will automatically launch.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With