Thursday, May 26, 2011

Silverlight: How to Communicate with Desktop Application via HTTP - CodeProject

Silverlight LogoImage via WikipediaIntroduction to Article

This article is a free continuation of How to Receive Messages from a Desktop Application and How to Send Message to a Desktop Application where the Silverlight application communicates with the standalone .NET application via TCP. In this article, I would like to show how to implement the communication via HTTP.
The example below implements a .NET application as a service and a Silverlight application as a client. The service listens to text messages and responses with their length. The client then uses the service to get the length of the given text.
The implementation uses the Eneter Messaging Framework. (Full, not limited, and for non-commercial usage free version of the framework can be downloaded from http://www.eneter.net/. The online help for developers can be found at http://www.eneter.net/OnlineHelp/EneterMessagingFramework/Index.html.)


Silverlight: How to Communicate with Desktop Application via HTTP - CodeProject
Enhanced by Zemanta

No comments:

Post a Comment