Wednesday, March 5, 2008

Caching a WebService Call

<WebMethod(CacheDuration:=10)> _
Public Function HelloWorld() As String
Return "Hello World" & Now
End Function


The duration is defined in seconds.

No comments: