I have a problem. How can I access an application client in VB .NET from Web services? The problem is that when a make a new query to this Web Service, the data returned is the same as the last query. Does VB .NET have a cache?
It is possible that the Web service is caching its responses in the output cache. This can be done using .NET attributes as shown here:
Public Function GetValues() As XmlDocument Dim doc as XmlDocument = SomeLibrary.SomeObject.GetXmlDocument() Return doc End Function
Or, the actual data could be cached using the .NET Framework's caching APIs. Which means rather than caching the method response in its entirety, the data returned by the method is cached instead of regenerating a response. If the actual service is not caching data, you should look into the presence of caching rules in IIS or an HTTP proxy caching output for the server.
Dig Deeper on Topics Archive
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.