Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 19, 2013 05:57 PM by danroth27
Jan 19, 2013 07:20 AM|LINK
Is there any step by step reference how I can build a ASP.net API on webhost (this ASP.Net is a web form application written by me and I upload to an external webhost) so this web API provide data feeding to my another Android apps (written by me as well).
Jan 19, 2013 08:50 AM|LINK
Web API exposes simply data in a RESTful way towards the outside world. If you Android code knows how to call a url and parse the data in either xml, json or another format that you plug into both ends then you can communicate with it.
Jan 19, 2013 09:59 AM|LINK
Thanks. I need both way
ie, data from my asp.net website to Android app
Then Android apps when user do sth, save data back to my asp.net site.
What to do ?
Many thanks in advance
Jan 19, 2013 11:25 AM|LINK
what exactly is the issue? You create a Web API and expose data in a RESTful way and you call that from your Android device in a RESTful way.
If you don't know either technology stacks I suggest you first take some time to learn what you need and implement that.
Jan 19, 2013 05:57 PM|LINK
In HTTP lingo to get data from your web API to your Android app you would do a GET request.
To save data from your Android app to your web API you would probably do a POST request.
We have lots of Web API samples on this site that can help get you started. Just go to
www.asp.net/webapi and click the Samples tab.