Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 3
Message 1 of 3

Connect REST WebService to Xamarin

Hi guys,

Finally I´m done with my REST WebService unfortunately there are some things that are still not clear to me. 

To explain you my project, I want to create a Xamarin App, on this App there sould be displayed some data from a MySQL database. The App is should be connected to the database by the WebService.

 

Now my problem is that I don´t know how to connect the WebService to the App and display the data. Do I need to host the WebService on a cloud like Azure. If yes could you please name me some alternatives to Azure, because I don´t really want to pay. Second question how to connect the WebService to the App, do someone know a good tutorial or something. 

I would be very grateful if you help me.

Thanks for your help in advance!

 

 

2 Replies
Highlighted
Commander Lvl 2
Message 2 of 3

Re: Connect REST WebService to Xamarin

A web service must be hosted by a web server. However, the web server does not have to be in "the cloud", it can be on your local machine. Your app will then access the web server via "localhost".

 

You will want to investigate solutions for "local web server" or "intranet web server". There are many choices, some more complex than others. E.g. IIS vs a simple python web server.

 

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!

Highlighted
Copilot Lvl 3
Message 3 of 3

Re: Connect REST WebService to Xamarin

Thanks! Is there a good yt tutorial for the local host way, which you can recommend?