In my win store app I use xml queries like this:
XDocument.Load(uriForXmlFile);
The problem is that I often get cached outdated responses. I'm unable to set WebRequest.DefaultCachePolicy, as this property is not supported for windows store apps.
This is a nice hack that I'm using (adding a random string to the uri):
XDocument.Load(uriForXmlFile + "?" + DateTime.Now.Ticks);
Is there a more elegant way to do this?
Perhaps one that will not totally bypass intermediate CDNs?