aspnetcore/test/WebSites
CodingGorilla 70b56f157c Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor
Updated the ResponseCacheFilter Duration, Location, NoStore, and VaryByHeader properties to return one of 3 values: the specific setting applied to the instance, the setting supplied by the CachePolicy (from the constructor), or a default value.  The emphasis being not to change the outward function of these properties to consumers, but to defer the evaluation of these properties until the OnActionExecuting method.
Updated the ResponseCacheFilter to check whether a cache duration has been supplied when the NoStore property is false and throw an InvalidOperationException when a duration has not been provided.
Updated ResponseCacheFilterTest to reflect the changes in behavior in the ResponseCacheFilter
Updated the ResponseCacheFilterAttributeTest to reflect the change in the behavior of the ResponseCacheFilter

Added unit tests to ResponseCacheFilterTest.cs to verify that the CachePolicy properties are properly overriden with the properties set directly on the ResponseCacheFilter.

Added functional tests to test the ability to override CacheProfile settings with properties on the ResponseCacheAttribute
2015-05-29 12:28:14 -07:00
..
ActionConstraintsWebSite
ActionResultsWebSite
ActivatorWebSite Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
AddServicesWebSite
AntiForgeryWebSite
ApiExplorerWebSite
ApplicationModelWebSite
AutofacWebSite
BasicWebSite
BestEffortLinkGenerationWebSite
CompositeViewEngineWebSite
ContentNegotiationWebSite
ControllerDiscoveryConventionsWebSite
ControllersFromServicesClassLibrary Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
ControllersFromServicesWebSite
CorsMiddlewareWebSite
CorsWebSite
CustomRouteWebSite
ErrorPageMiddlewareWebSite Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
FilesWebSite
FiltersWebSite
FormatFilterWebSite
FormatterWebSite
InlineConstraintsWebSite
JsonPatchWebSite
LoggingWebSite
LowercaseUrlsWebSite
Microsoft.AspNet.Mvc.TestConfiguration React to aspnet/Configuration #195,#198 and fix few minor build break issues 2015-05-20 20:01:23 -07:00
ModelBindingWebSite Removing creating ModelValidationNode by default in CompositeModelBinder. 2015-05-29 09:21:11 -07:00
MvcTagHelpersWebSite Renamed FileVersion to AppendVersion in tag helpers that support cache busting 2015-05-28 17:56:19 -07:00
PrecompilationWebSite Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
RazorCompilerCacheWebSite
RazorEmbeddedViewsWebSite
RazorPageExecutionInstrumentationWebSite
RazorWebSite Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
RequestServicesWebSite Part of #2151 - Remove [Activate] from TagHelpers 2015-05-21 22:57:51 -07:00
ResponseCacheWebSite Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor 2015-05-29 12:28:14 -07:00
RoutingWebSite
TagHelpersWebSite Part of #2151 - Remove [Activate] from TagHelpers 2015-05-21 22:57:51 -07:00
TempDataWebSite
UrlHelperWebSite
UserClassLibrary
ValidationWebSite
ValueProvidersWebSite
VersioningWebSite
ViewComponentWebSite Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
WebApiCompatShimWebSite
XmlFormattersWebSite