New Visual Studio Feature is a Game Changer for API Developers – Put localhost Online

Video Review

As a .NET developer who frequently builds mobile and web applications, I am always looking for ways to simplify my workflow and improve my productivity. That's why I was excited when I watched James Montemagno's video Dev Tunnels in Visual Studio - a game changer for developers like me who are tired of dealing with exposing local hosts to remote devices. With Dev Tunnels, I no longer have to deal with complicated workarounds or headaches when trying to debug my applications on Android or iOS emulators or physical devices. Instead, I can easily set up a unique URL that connects to my local machine and allows me to test my app on any device without any hassle. The best part about Dev Tunnels is that it's incredibly user-friendly and straightforward to use. Even if you're not an experienced developer, you can set it up quickly and easily. I love how this feature has simplified my workflow and saved me valuable time and energy. Overall, I highly recommend Dev Tunnels to any developer who wants to streamline their debugging process and improve their productivity. With this powerful tool in my arsenal, I feel confident that I can tackle any project with ease and efficiency.

James Montemagno

The dev tunnels feature of Visual Studio 2022 enables ad-hoc connections between machines that can’t directly connect to each other. A URL is created that enables any device with an internet connection to connect to an ASP.NET Core project while it runs on localhost. This is a complete game changer if you are building backends, websites, and mobile apps with .NET as it allows you to easily share your local development environment with your apps and your colleagues when developing apps from Visual Studio 2022. Today I break down what it is, how to get started, and why you need it in your life.

UPDATE: Starting with Visual Studio 2022 17.6, there is no longer the need to enable! It is on by default 🙂

Docs: https://learn.microsoft.com/aspnet/core/test/dev-tunnels
Announcement Blog: https://devblogs.microsoft.com/visualstudio/dev-tunnels-in-visual-studio-for-asp-net-core-projects/

Join this channel to get access to perks:
https://www.youtube.com/channel/UCENTmbKaTphpWV2R2evVz2A/join

👕 Buy some swag! – https://jamesmontemagno.myspreadshop.com/
☕️ Buy me a coffee – https://www.buymeacoffee.com/jamesmontemagno

Follow:
👨‍💻 GitHub: https://github.com/jamesmontemagno
🦜 Twitter: https://twitter.com/jamesmontemagno
📄 Website: https://www.montemagno.com
📰 Newsletter: https://newsletter.montemagno.com/

Chapters:
00:00 – Intro
00:50 – Scenarios for dev tunnels
01:50 – Sample app walkthrough
04:50 – Enabling dev tunnels in Visual Studio 2022
09:30 – Azure Functions, Websites, and more with dev tunnels
10:10 – Wrap-up

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me… James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: https://cleclothingco.myshopify.com/

What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: https://www.instagram.com/p/BceZ1oNHiQx/

My Setup:
📷 Canon M50 Mark II – https://amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights – https://amzn.to/3umwJVW
🎙 Blue Spark Microphone – https://amzn.to/3qgtYkq
🎙 Blue Pop Filter – https://amzn.to/3jEWM3r
🤳 Rode Microphone Arm – https://amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones – https://amzn.to/372jxta
📲 Stream Deck – https://amzn.to/373Uk1n
📹 Elgato Cam Link – https://amzn.to/3a9eGbh
📷 GoPro Hero – https://amzn.to/374lm90
🖱 MX Master 2S Mouse – https://amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard – https://amzn.to/3aUP4y9

#dotnet #visualstudio #aspnetcore #devtunnels #ngrok