E002 – Stop Hardcoding API URLs!
Impossibile aggiungere al carrello
Rimozione dalla Lista desideri non riuscita.
Non è stato possibile aggiungere il titolo alla Libreria
Non è stato possibile seguire il Podcast
Esecuzione del comando Non seguire più non riuscita
-
Letto da:
-
Di:
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.