Search
Sign In
Home
Recent
Media
Videos
Podcasts
Screencasts
Learn
Shows
Going Deep
ARCast.TV
InsideXbox
See All Shows...
Forums
Coffeehouse
Tech Off
Feedback
Sandbox
Key Topics
Visual Studio
Continuum
Identity
Interoperability
Azure
Windows
Wiki
Search
Subscribe
Posts
>
mtaulty
Silverlight - Using HttpWebRequest
Posted By:
Mike Taulty
|
Jul 15th, 2008 @ 7:05 AM
|
6,219
Views |
3
Comments
If you are looking to do an HTTP request at a lower level then HttpWebRequest is the class that you're looking for. Here, we take a look at doing an HTTP POST from a Silverlight application using this class.
Tags:
en-GB
,
Silverlight
,
UK
,
UKDevTeam
Media Downloads:
Screencast
Share:
Del.icio.us
Digg
DotNetShoutout
Facebook
FriendFeed
MSDN
Twitter
Rating:
0
0
page 1 of 1
Delete
Edit
Comment on Post
Delete
Edit
Reply
#Jul 17th, 2008 @ 2:42 PM
CKurt
while( ( !succeed=try() ) ) { }
In reply to {0}
Download:
[Pending]
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...
Delete
Edit
Reply
#Jul 18th, 2008 @ 8:58 AM
aL_
Rx ftw
In reply to CKurt
#Jul 17th, 2008 @ 2:42 PM
Download:
[Pending]
that should work. íts just a regular webrequest, nothing .net specific
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
you can host silverlight on any backend (including lamp) you only have to add the mime types
Delete
Edit
Reply
#Jul 24th, 2008 @ 1:29 AM
mtaulty
Mike Taulty
In reply to {0}
Download:
[Pending]
Hi,
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"
Mike.
Delete
Edit
Reply
In reply to {0}
Download:
[Pending]
Delete
Edit
Reply
In reply to {0}
Download:
[Pending]
Delete
Edit
Reply
In reply to {0}
Download:
[Pending]
Delete
Edit
Reply
In reply to {0}
Download:
[Pending]
Delete
Edit
Reply
In reply to {0}
Download:
[Pending]
Delete
Edit
Reply
In reply to {0}
Download:
[Pending]
page 1 of 1
Delete
Edit
Comment on Post
Posts
>
mtaulty
>
Silverlight - Using HttpWebRequest
Be the first to comment!
Reply
Reply to root
In reply to {0}
Start related discussion
Forum:
Site Feedback
Tech Off
The 9 Guy Around The World
The Coffeehouse
Subject:
Tags
*Loading available tags