Silverlight 4 Beta Networking. Part 3 - HTTP POST

Sign in to queue

Description

A set of short screencasts providing a "tour" of the network capabilites in the Silverlight 4 beta. We'll look at raw HTTP access, socket access and WCF capabilities.

In this video, we take a look at doing a simple HTTP POST with both the WebClient and HttpWebRequest/Response APIs.

The next video in this series is here and the previous videos are;

Part 1 - WebClient and HTTP GET, XML
Part 2 - WebClient and HTTP GET, RSS, ATOM, JSON

Embed

Download

Download this episode

The Discussion

  • User profile image
    Mike Greenway

    Am I thinking right? I can ues the HttpWebRequest/Response APIs to send a querry to the server,  run the querry over a large XML file on the server and returns just the xml nodes I wish to display/manupulte on the client.  A poor mans data base call? Is there anything really wrong with doing this?

  • User profile image
    mtaulty

    Yes, you can do that if you like. Or you can use WCF and do a similar thing via SOAP services and get a nicer programming model. Or you can use a framework like WCF Data Services to expose a data model ( Entity Framework/LINQ to SQL/Custom ) from the server side over easy to access RESTful services including a standard for how a URI can represent the query over that data. WCF RIA Services would be another choice at a higher level of abstraction stil..

     

    Lots of choices...

Add Your 2 Cents