Hi, I am facing a problem in my Windows 8 mobile application. I am sending a request to the server using WebClient to pull out the details. I have an on-demand update function available in the application where the user can update the details whenever he wants. The problem is that new parts are not updated. I tried some of the solutions mentioned by adding nocache at the end of the URL. But this solution will not help me, because im actually passes values through this URL to the server, after processing these values on the server side, they redirect the response to " http://mysitezz.com/myfolder/files/details546546546546.xml ". So what if I add? Nocache, I will get an error response. I also tried adding a header to the Webclient, which didn't work either.
WebClient wctrans = new WebClient();
wctrans.DownloadStringCompleted += new DownloadStringCompletedEventHandler(UpdateLocalDB);
wctrans.DownloadStringAsync(new Uri(calculatedURL), nextItem.AccountNo);
Is there any way to solve this problem? Im pretty new to developing apps for windows phones. thanks in advance
source
share