Sending/Receiving large data between webservice and console application

leviatsun

New Member
this is my first post on SO :)I would like to communicate data, in this case from a DataTable over to a web service that saves to a database. I have tried different things. Through a 'Stream' with XML or a complete DataSet binary serialized and JSON recently. What I believe is that JSON might be the best option. By HttpWebRequest I send one line at a time from a DataTable with JSON to web service. The question is: Is this the best way to do it and how many connections will IIS manage? Do you have an alternative to the transmission of larger data to "sync" with another database through a webservice? I have read alot of posts on SO and don't find what I'm looking for.I want a reliable transportation structure that doesn't timeout or waste connections/bandwidth.
 
Top