asp.net mvc 2 - Silverlight 4, Google Chrome, and HttpWebRequest problem -


My Silverlight 4 application, hosted in ASP.Net MVC 2, is OK when used via Internet Explorer 8 Both development server and remote web server (IIS 6.0) however, when I try to browse through Google Chrome (version 5.0.375.70) it throws a "Remote server not returned" error, the problem code below Is:

  public class MyWebCl Ient {Private HttpWebRequest _request; Private Uri _uri; Personal Assign Operation _asyncOp; Public MyWebClient (Uri Uri) {_uri = uri; } Public Zero Start (Excite Data) {_asyncOp = Async Operation Manager. Cret operation (empty); _data = data; _request = (HttpWebRequest) WebRequest.Create (_uri); _request.method = "POST"; _request.BeginGetRequestStream (new AsyncCallback (BeginRequest), blank); } Private Zero BeginRequest (IAsyncResult result) {stream stream = _request.EndGetRequestStream (results); (Author of StreamWriter author = new streamer (stream)). Write (excel) _data) .ostring ()); } Stream. Stop it (); _request.BeginGetResponse (new AsyncCallback (BeginResponse, blank); } Private Zero BeginResponse (IAsyncResult result) {HttpWebResponse response = (HttpWebResponse) _request.EndGetResponse (results); If (feedback! = Null) {// process data back ...}} ...}  

In summary, the above code sends some XML data to the web server (ASP.NET MVC controller) and a processed data back. This works when I use Internet Explorer 8. Can someone please explain the problem with Google Chrome?

I found that the problem is connected to the ASP.NET MVC root, which handles with Google Chrome So that a new question was opened:


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -