You need to type the url in the browser.
You can also create a visual studio code launch file to do this when you do a debug
also you can use a command line
MacOs: open https://localhost:5001
windows: start https://localhostt:5001
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I am attempting to build and test the web API in a MS learning exercise on my laptop, not in the sandbox and I am unable to establish a connection to the port. What are my options?
You need to type the url in the browser.
You can also create a visual studio code launch file to do this when you do a debug
also you can use a command line
MacOs: open https://localhost:5001
windows: start https://localhostt:5001
you don't include {} with port. its just :
httprepl https://localhost:7053 --verbose
if you implemented swagger the swagger file should have been found:
Hi @CMF ,
The tutorial Exercise - Create a web API project is clear, I followed the steps to create a new API application, everything works well.
You can check the following screenshot:
Then, open a new integrated terminal from Visual Studio Code, the new terminal screenshot as below:
You can refer the tutorial and try again.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Best regards,
Dillion