All the examples of the cacheduration attribute of webmethod are simple - there is either no input parameter or it is a simple parameter like integer. When the input is an object, is the webservice intelligent enough to parse that object and determine which
properties are the same or different in terms of when to cache and when not to? Let's say, for argument's sake, that I have a webmethod that performs a search for real estate, and that I pass in my searchcriteria object containing all kinds of different criteria.
I might have searchcriteria.squarefeet, searchcriteria.minimumrent, searchcriteria.maximumrent etc. I want the same results to be returned if each property of my custom input is the same. Is this possible with cacheduration or is this too complicated for that
and I need to use the httpruntime cache somehow. Any ideas?
philmccracke...
Member
684 Points
146 Posts
cacheduration
Dec 01, 2003 05:09 AM|LINK