I have successfully created a basic C# application (.Net 4.0 + WPF) that is capable of sending and receiving JSON messages through TCP sockets.
Now, I am looking to enable JavaScript applications on websites and PHP scripts to communicate with my app by sending and receiving JSON messages. Is this feasible?
Given that JS/PHP utilize stateless HTTP connections, how should the communication with my app function? Should the JS/PHP apps send a JSON message to my app and receive a JSON response (HTTP response)? Is this scenario achievable? Additionally, should I implement the use of GET or POST method for exchanging JSON messages with my app?
Your insights are much appreciated as I navigate through these questions. Please feel free to provide any tips, clarifications, or feedback you may have.
Sincerely, Mike