Quick Tip: Debugging Local ASP.NET Core Web APIs on Android Emulators

Shikha Kaul

When developing mobile applications with a web API backend there is always a need to debug locally on your development machine. If you are using Visual Studio for Mac and debugging iOS applications you know it is as easy as running your web API locally and using localhost as the URL for web requests. However, this is not the case for Android debugging, because Android emulators have their own networking configuration whereas the iOS simulator uses the same network as the local machine. But we’ve got you, Android app developers, covered. With a little “know how” you can now also debug your Android apps locally regardless if you developing on Visual Studio on Windows or Visual Studio for Mac.


Discussion is closed.

Feedback usabilla icon