Search code examples
c#asp.netvisual-studioiiskestrel

debug on public IP address running ASP.NET in visual studio 2019


I wonder if is it possible to debug an app ASP.net (here a web api) by using public IP address. Indeed, it is mandatory for me to use the IP public of my dev computer to send data to my web api (data are coming from an another website request).

Edit :

Visual studio seems to only use localhost. I have tried to forward port but this doesn't work. It seems it is the normal behavior of visual studio.


Solution

  • So I have fixed my issue by using this :

    https://marketplace.visualstudio.com/items?itemName=vs-publisher-1448185.ConveyorbyKeyoti