DEV Community

Dev Tunnels in Visual Studio: Your Secret Weapon for Effortless Web API Debugging

Hootan Hemmati on February 08, 2024

Developing and testing web APIs can be a frustrating experience, especially when restricted by localhost access. Firewalls, network configurations,...
Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

Traditionally, this scenario would involve complex network configurations, VPNs, and potential security concerns. However, dev tunnels eliminate these challenges entirely.

Nope - just use ngrok - which has been around for many, many years and does exactly the same thing.

Collapse
 
hootanht profile image
Hootan Hemmati

While Ngrok is a great product that I've used, I wonder why we don't utilize dev tunnel tools that integrate with Visual Studio.

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

Never used Visual Studio myself, but l would think/hope it would be fairly trivial to integrate it.

A standalone, simple command line utility like ngrok has way more utility than a completely custom built-in feature. A good plugin system would allow for easy integration of such external tools.