9 references to SetExpires
System.ServiceModel.Web (1)
System\ServiceModel\Web\CachingParameterInspector.cs (1)
311cache.SetExpires(HttpContext.Current.Timestamp.AddSeconds((double)this.cacheProfile.Duration));
System.Web (6)
Abstractions\HttpCachePolicyWrapper.cs (1)
68_httpCachePolicy.SetExpires(date);
Handlers\AssemblyResourceLoader.cs (1)
640cachePolicy.SetExpires(DateTime.Now + TimeSpan.FromDays(365));
HttpResponse.cs (2)
3138Cache.SetExpires(_context.Timestamp + new TimeSpan(0, _expiresInMinutes, 0)); 3158Cache.SetExpires(_expiresAbsolute);
StaticFileHandler.cs (1)
559response.Cache.SetExpires(utcNow.AddDays(1));
UI\Page.cs (1)
3703cache.SetExpires(Context.Timestamp.AddSeconds(duration));
System.Web.Extensions (2)
Script\Services\RestHandler.cs (1)
66context.Response.Cache.SetExpires(DateTime.Now.AddSeconds(cacheDuration));
Script\Services\WebServiceClientProxyGenerator.cs (1)
63cachePolicy.SetExpires(lastModifiedDate.AddYears(-1));