SShortSingh.
Back to feed

Microsoft Dev Tunnels lets developers share localhost publicly without ngrok

0
·1 views

Microsoft offers a built-in tool called Dev Tunnels that generates a temporary public URL pointing to a developer's localhost, using Azure relay infrastructure without requiring firewall port changes. The tool is available for free inside Visual Studio and VS Code, requiring no separate installation or account signup beyond an existing Microsoft or GitHub login. Developers can expose their local server in three ways: via launchSettings.json in Visual Studio, through the Ports panel in VS Code, or using a dedicated command-line interface installable on Windows, macOS, and Linux. Access permissions can be set to private, organization-wide, or fully public depending on the use case. Common applications include testing webhooks from services like Stripe, sharing live demos with clients, and collaborative debugging with teammates.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How to Clean Invalid Emails and Protect Your Email Deliverability

Businesses accumulate data debt over time, including outdated or invalid user email addresses that can harm email deliverability and sender reputation. A practical approach involves sending a policy-update email announcing a 12-month inactivity deletion policy, which simultaneously helps identify bounced or invalid addresses. Bounce reports from this campaign can be exported to flag users with bad emails, who can then be permanently deleted if also inactive. Active users with invalid emails should be prompted through in-app notifications or embedded verification links to update their contact details. Keeping email lists clean improves delivery rates, reduces spam risk, and ensures compliance with data privacy standards.

0
ProgrammingDEV Community ·

How a Routine Patch Update Broke an Enterprise Angular App in 2017

A developer recounts a 2017 incident where a minor patch-version upgrade unexpectedly broke a large enterprise Angular application used to monitor Fair Trade certified products globally. The app needed to support multiple languages with runtime switching, a feature Angular's early i18n system did not natively support at the time. To work around this, the team built a custom solution that scanned the page for elements marked with the i18n attribute and swapped in the correct translations on language change. A routine patch update to Angular disrupted this homegrown approach, revealing how tightly their workaround was coupled to the framework's internal behavior. The developer notes the fault lay not with Angular itself, but with assumptions baked into their own custom implementation.

0
ProgrammingDEV Community ·

Duplicate Email Checks Create Silent Data Conflicts in User Systems

A developer discovered that their signup flow verified users twice — once via a typed OTP code and again through an auth service confirmation link — without either check being aware of the other. Users who completed the OTP step were immediately signed in, making the second confirmation email redundant and easy to ignore. This left accounts in a state where one record showed email ownership proven while another flagged it as unconfirmed, creating a silent contradiction in the database. The auth service's confirmation email was a platform default that had never been disabled after the team built their own OTP-based verification flow. The core lesson drawn is that two separate records of the same fact will eventually diverge, and any system or future feature reading only one of them will silently reach the wrong conclusion.

0
ProgrammingDEV Community ·

Researchers Find 24 Vulnerability Patterns Across 10 Major AI Agent Frameworks

A security research team conducted a 90-day audit of ten major AI frameworks — including CrewAI, AutoGen, LlamaIndex, and Dify — uncovering 24 distinct vulnerability patterns in production LLM systems. The study found that over 60% of MCP server implementations lack basic access controls, allowing any connected client to invoke registered tools including destructive operations. High-severity flaws such as path traversal, SQL injection, SSRF, and tool parameter injection were confirmed in projects from major tech firms including Ant Group, Tencent, ByteDance, and DeepSeek. The team's custom scanner, validated against 80,000 API traces across 13 providers and 33 models, is designed for real-time deployment as a runtime guardrail. All confirmed vulnerabilities were responsibly disclosed through platforms including HackerOne, Bugcrowd, and MSRC, with the team reporting 100% submission pipeline automation.

Microsoft Dev Tunnels lets developers share localhost publicly without ngrok · ShortSingh