TNA
TNA

Reputation: 616

Send Data from aspx to C# windows app

I want to send data from my Windows form to client wep page(.aspx).Pls help me.

Upvotes: 0

Views: 1067

Answers (4)

Aneef
Aneef

Reputation: 3729

I would say use httpwebrequest and httpwebresponse to do this. it will be easy to do also.check the link below

http://www.codeproject.com/KB/IP/httpwebrequest_response.aspx

Upvotes: 0

xavoDev
xavoDev

Reputation: 51

ther are several ways,

1) If you want to send data from window app to Web App then Use Query String.

2) If you want to send data from Web App to Windows app then you can User Either Remoting or Webservice.

3) You can user Biztalk Server for Integration.(this would be quite expensive).

4) You can build your own messaging mechanism, write all you information into a file and ask you application to read the file.

Upvotes: 0

Christian C. Salvadó
Christian C. Salvadó

Reputation: 827198

You could use Web Services within your ASP .NET application and consume them them from your WinForms app.

Give a look to these articles:

Upvotes: 3

Kirtan
Kirtan

Reputation: 21695

You can use .NET Remoting for doing this. Your desktop app can act as a remoting server, whereas your web app will be the remoting client.

The marshalled object exposed by your server (Windows app) will be accessed by the web application, which will call a method for getting the data. Your windows app will provide the data as a serializable object to your web application, which it will deserialize and process.

Upvotes: 0

Related Questions