Connect using android emulator to localhost website [C #]

I have an emulator (from Xamarin Studios, its android), now I am developing an application for this emulator, they must connect to the web service (localhost), which I write using C # in Visual Studio. But the emulator does not connect to the local host and cannot see the site. I want to write a web service with any functions (connect to the database, select, update, etc.), and I want the application to be able to connect to this web service and can use this function.

Hope someone can help me.

Greetz

+4
source share
2 answers

Android-localhost Android. -, IP- . - VS, , .

+2

IIS

HTTP- URL-,

http://localhost(or Ip address)/Urservicename.svc/ServicefunctionName
+1

All Articles