Reputation: 32768
I'm creating a custom output cache provider by implementing the OutputCacheProvider
class in an ASP.NET MVC application.
In the below methods,
public override object Add(string key, object entry, DateTime expiryDate)
{
//
}
public override void Set(string key, object entry, DateTime expiryDate)
{
//
}
The expiryDate
is in UTC or server time?
Upvotes: 1
Views: 302
Reputation: 20694
It is a utcExpiry as per msdn
(OutputCacheProvider.Add Method)
public abstract Object Add(
string key,
Object entry,
DateTime utcExpiry
)
Upvotes: 2