Quantcast
Channel: Silverlight 5 forum
Viewing all articles
Browse latest Browse all 1083

Patch Tuesday breaks in browser WebClient UploadStringAsync

$
0
0

In our Silverlight application that runs in browser without full trust enabled, we have the need to call a different server that hosts a PHP page.  We do a POST and retrieve the response (e.g.  IsUserHaveAccount.php - Post Username, password). Here is stackoverflow example of the concept: http://stackoverflow.com/questions/6178918/silverlight-4-0-using-webclient-uploadstringasync-post-request-to-net-4-webser

With the latest 5.1.40416.0 release of Silverlight, I know make the call and I get a SecurityException.

My guess is that this is more than likely related to the other patch Tuesday break I mentioned here.

Are there any other ways to do a POST of data?  

I have considered making a call from Silverlight to Javascript but once the POST has been done to the PHP page, I will need to get the response back from Javascript, scrap it and then call back into Silverlight via a Web Method.  All possible but it feels like a mess waiting to happen since I will need to keep track of a few objects during the call.

-Tim


Tim H


Viewing all articles
Browse latest Browse all 1083

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>