dotnet

Testing Local APIs on Device with Dev Tunnels and .NET MAUI


Listen Later

Have you ever wanted to test your local APIs from your mobile device? Well, you can't just use localhost, you need a real URL for your APIs, but you don't want to deploy an API just to test it. That is where Dev Tunnels come in to save the day and create a public URL to test those APIs and tunnel it to your machine.
Chapters:
00:00 - Intro
00:45 - App walkthrough & localhost issues
03:30 - Create a Dev Tunnel in Visual Studio 2022
06:50 - Create a Dev Tunnel with the CLI
08:50 - Wrap-up
Resources:
Dev Tunnels: https://learn.microsoft.com/azure/developer/dev-tunnels/
Dev Tunnels in Visual Studio: https://learn.microsoft.com/aspnet/core/test/dev-tunnels
Docs on localhost cleartext: https://learn.microsoft.com/dotnet/maui/data-cloud/local-web-services
iOS Hot Restart: https://learn.microsoft.com/dotnet/maui/ios/hot-restart
Connect with .NET:
Blog: https://aka.ms/dotnet/blog
Twitter: https://aka.ms/dotnet/twitter
TikTok: https://aka.ms/dotnet/tiktok
Mastodon: https://aka.ms/dotnet/mastodon
LinkedIn: https://aka.ms/dotnet/linkedin
Facebook: https://aka.ms/dotnet/facebook
Docs: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
🙋‍♀️Q&A: https://aka.ms/dotnet-qa
👨‍🎓Microsoft Learn: https://aka.ms/learndotnet
#dotnet
...more
View all episodesView all episodes
Download on the App Store

dotnetBy dotnet