why the response of the web service crash if the app goes to Background after calling a web service? does anyone know a workaround to let web service work in background. below in the second line of code my app crash .....
HttpWebRequest request = (HttpWebRequest)asynchronousResult.AsyncState;
HttpWebResponse response = (HttpWebResponse)request.EndGetResponse(asynchronousResult);//Crash
Stream streamResponse = response.GetResponseStream();
StreamReader streamRead = new StreamReader(streamResponse);
string responseString = streamRead.ReadToEnd();
......