Data Transfer on web Server
-
hi I want to send the data as string from desktop applicaton to a webserver and in c# get back response in string. if anybody have any idea then please guide me, how it is possible. thanks pankaj -- modified at 7:16 Friday 2nd September, 2005
-
hi I want to send the data as string from desktop applicaton to a webserver and in c# get back response in string. if anybody have any idea then please guide me, how it is possible. thanks pankaj -- modified at 7:16 Friday 2nd September, 2005
Two options: 1. Use System.Net.HttpRequest. 2. Create a webService on your server and set a webReference in the desktop application. I'd prefer creating a webService over just about any other option because it is much easier to extend and work with in code. You don't have to do any parsing yourself and the error handling is easier.
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon