Aido
Aido

Reputation: 55

C# Windows Phone Server Connect

I have been searching the internet for an answer but I cannot seem to find one. My question is, how would I go about sending data from a C# program I made on my Windows Phone to a C# server I have running on my PC. I am not looking for any code examples, just a quick overview on how I will do this.

Upvotes: 0

Views: 141

Answers (2)

Dhaval Patel
Dhaval Patel

Reputation: 7591

You have to implement a WCF Restfull Service in .NET which can help you and it will give you a data in XML as well as JSON format,

you can refer the link WCF REST

Upvotes: 1

Eddie Long
Eddie Long

Reputation: 36

What do you mean by 'server'?

Also what is the server meant to do? If it's just for webservices then you could just use a http request: http://msdn.microsoft.com/en-us/library/hh221581.aspx otherwise you could establish a TCP (lossless) or UDP (lossy) connection with the server if you want to send packets back and forth (e.g. a persistent connection is needed).

Upvotes: 2

Related Questions