Season's Savings | ₹5/mo for 3 months
₹199/month after first 3 months. Renews automatically. Terms apply.
E002 – Stop Hardcoding API URLs!
Failed to add items
Add to cart failed.
Add to wishlist failed.
Remove from wishlist failed.
Follow podcast failed
Unfollow podcast failed
-
Narrated by:
-
Written by:
Why does localhost work on your desktop but fail inside an Android emulator?
Hardcoded API addresses can quickly become frustrating when developing cross-platform applications.
In this episode of the TSJDEV Apps Podcast, Thomas Sebastian Jensen explores how Aspire's service discovery helps .NET MAUI applications communicate with ASP.NET Core backends.
Using the TaskBoard project, we'll look at logical service names, endpoint configuration, standalone fallback addresses, and some of the networking challenges developers encounter on mobile devices.
In this episode:
- Why localhost behaves differently across environments.
- How Aspire service discovery works.
- Using logical service names instead of fixed ports.
- Keeping mobile applications independently configurable.
Links & Resources
Episode Show Notes: https://www.tsjdev-apps-podcast.com/e002/
Original Article (English):
https://medium.com/medialesson/connecting-net-maui-and-asp-net-core-with-aspire-89c82577a19d
GitHub – TaskBoard:
https://github.com/tsjdev-apps/maui-aspire-taskboard
Coming Next: Creating a custom seven-segment display with SkiaSharp.
TSJDEV Apps Podcast – Short Episodes. Big Developer Ideas.