Once you know the requirements of your application, you can decide which technology is the best to use. The following table lists some scenarios and the recommended networking and Web services technology for implementing them, as well as links to topics that show you how to use that technology.
Scenario | Recommended Technology | Documentation |
---|---|---|
Create an end-to-end business application, expose data as a Web service, and create a client to consume the data | WCF RIA Services | WCF RIA Services |
Access data from a third-party REST service | Specify client HTTP handling, and use the WebClient or HttpWebRequest/HttpWebResponse classes | HTTP Communication and Security with SilverlightorAccessing HTTP and REST-Based Services Directly |
Provide access to an existing database using REST services | WCF Data services | WCF Data Services (Silverlight) |
Access server business logic | WCF services | How to: Access a Service from Silverlight |
Create a chat application | WCF services | Building and Accessing Duplex Services |
Stream the same data across an intranet to many clients at the same time | UDP multicast | Working with Multicast |
Build and access a new sockets service for duplex messaging | Duplex with netTCP | Building and Accessing Duplex Services |
Build and access a new sockets service for duplex messaging across the Internet | Polling duplex with HTTP | Building and Accessing Duplex Services |
Access an existing or third-party sockets service for duplex messaging | TCP using sockets | Working with Sockets |
Stream market data | UDP multicast | Working with Multicast |
Provide video and media streaming | UDP multicast | Working with Multicast |
Provide real-time communication | UDP multicast | Working with Multicast |
Device and service discovery | UDP multicast | Working with Multicast |
Looking for quality Silverlight Hosting? Look no further than Arvixe Web Hosting!