0
Answer

Windows Phone 8.1 WCF Service Not Refreshing

Siva Chandran

Siva Chandran

7y
375
1

Hi I am using WCF service in Windows phone 8.1 app . WCF service not returning latest data that saved, in Windows Phone . Instead it shows data from cache .Could any one help on this.

 

HttpClient httpClient = new HttpClient();

httpClient.DefaultRequestHeaders.IfModifiedSince = DateTime.UtcNow;

HttpRequestMessage request = new HttpRequestMessage(methodRequestType == "GET" ? HttpMethod.Get : HttpMethod.Post, ServiceURI);

HttpResponseMessage response = await httpClient.SendAsync(request);

Thanks