I have written an application that basically gathers up a bunch of text and numerical data from the client PC and stores it as an object. Right now I’m implementing XML serialization so that the file can be saved.
The issue is now, how do I get this data to the server? I have a server running IIS 7 setup but I don’t quite understand the ASP.net life cycle, so I’m not sure how to implement the receiving app.
What should I do?
Thanks
As far as I can tell what you’re going to need is a web service as the others have suggested. This can be easily handled by a WCF service once you learn the basics of them. They are especially good with transmitting SOAP messages which is serialized XML. Developers implement these types of services for the same purpose every day.
I recommend you start looking at the MSDN WCF pages to get acquainted with it and look at some tutorials on CodeProject to get your “hands dirty” and your “feet wet”.
WCF is awesome because you can configure it to transmit however you wish to. You can send data back and forth as binary via TCP, over HTTP, secure HTTP, MSMQ, etc. It wraps service data flow very nicely.