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

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

HomedotnetTesting Local APIs on Devices with Dev Tunnels and .NET MAUI
Testing Local APIs on Devices with Dev Tunnels and .NET MAUI
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
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 implement an API just to test it. That’s where Dev Tunnels comes in, creating a public URL to test those APIs and tunneling it to your machine.

Chapters:
00:00 – Introduction
00:45 – App walkthrough and localhost issues
03:30 – Creating a Dev Tunnel in Visual Studio 2022
06:50 – Create a Dev Tunnel with the CLI
08:50 – Closing

Sources:
Dev tunnels: https://learn.microsoft.com/azure/developer/dev-tunnels/
Dev tunnels in Visual Studio: https://learn.microsoft.com/aspnet/core/test/dev-tunnels
Documentation about localhost text: https://learn.microsoft.com/dotnet/maui/data-cloud/local-web-services
iOS Hot Restart: https://learn.microsoft.com/dotnet/maui/ios/hot-restart

Connect to .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
Documentation: https://learn.microsoft.com/dotnet
Forums: https://aka.ms/dotnet/forums
‍️Questions and Answers: https://aka.ms/dotnet-qa
Microsoft Learn: https://aka.ms/learndotnet

#dotnet

Please feel free to share this video with your friends and family if you found it useful.

Tagged:
If you enjoyed watching Testing Local APIs on Devices with Dev Tunnels and .NET MAUI.
Don't Forget to Say Thank You comment below... ^_^