Silverlight - Using HttpWebRequest

Play Silverlight - Using HttpWebRequest

The Discussion

  • User profile image
    Could I post something to a PHP page and get the response from there ?

    I wont to run silverlight without having to run a ASP.NET server somewhere...
  • User profile image
    that should work. íts just a regular webrequest, nothing .net specific Smiley you'd get the html from the php page in your response strem and just read that and xml and do whatever to it. the same would be true for posting Smiley
    you can host silverlight on any backend (including lamp) you only have to add the mime types
  • User profile image

    Yes, agree!

    Silverlight makes very little requirement as to what kind of web server it's served off ( you probably need to add the MIME type for the XAP extension ) so it can be IIS or A.N.Other web server.

    Equally, it makes very little requirement about what kind of web servers you talk to whether that's via web services, WebClient, HttpWebRequest or whatever.

    Generally, it "Plays Well With Others" Smiley


Add Your 2 Cents