I want the web application to send message to windows application then gets the response back from it , if i used database how can i let any of the application knows that a data is sent to database. They are not running on the same machine. Will WCF be suitable in the situation
Thank you all for your replies
well I would state some ways that you can do this.
You can use sockets. The windows application can communication through raw sockets with your web application. But you would also have to open a socket connection on your web application. I have used a java application to communicate with a php webserver before through socket. My java application was the client during the connection.
another means is HTTP. sending messages from your desktop application to your web application through HTTP. Well I did this while I was doing java so I suggest you research on how c sharp desktop app can send messages and recieve from a web app through HTTP. Note that HTTP is an high level means built on sockets. You web browsers is an example of a desktop application that communications with a web server.
The third and this is the easiet of all. Is is the new library in the asp.net SignalR library I would recommend that you use this. This is very easy believe me. I have actually tried this. It is the best means of all. You can connect your web desktop gui or cui to your web and even your mobile. SignalR is the bomb cos it is work on socket. It gives you a very simple api that allows you to consume it own services for realtime application.
signalR sounds a good solution , but i still cann't find how it works if the server and client are asp.net application and a desktop application , as all examples makes the server web application and the client an html page on the application. Does anyone has a different example