
New Visual Studio Feature is a Game Changer for API Developers - Put localhost Online
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: learn.microsoft.com/aspnet/core/test/dev-tunnels
Announcement Blog: devblogs.microsoft.com/visualstudio/dev-tunnels-in…
Join this channel to get access to perks:
youtube.com/channel/UCENTmbKaTphpWV2R2evVz2A/join
👕 Buy some swag! - jamesmontemagno.myspreadshop....
☕️ Buy me a coffee - www.buymeacoffee.com/jamesmontemagno
Follow:
👨💻 GitHub: github.com/jamesmontemagno
🦜 Twitter: twitter.com/jamesmontemagno
📄 Website: www.montemagno.com/
📰 Newsletter: 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: 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: www.instagram.com/p/BceZ1oNHiQx/
My Setup:
📷 Canon M50 Mark II - amzn.to/3P8R7lp
💡 Nanoleaf Elements Lights - amzn.to/3umwJVW
🎙 Blue Spark Microphone - amzn.to/3qgtYkq
🎙 Blue Pop Filter - amzn.to/3jEWM3r
🤳 Rode Microphone Arm - amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones - amzn.to/372jxta
📲 Stream Deck - amzn.to/373Uk1n
📹 Elgato Cam Link - amzn.to/3a9eGbh
📷 GoPro Hero - amzn.to/374lm90
🖱 MX Master 2S Mouse - amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard - amzn.to/3aUP4y9
#dotnet #visualstudio #aspnetcore #devtunnels #ngrok
コメント