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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ActionResultsWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ActivatorWebSite Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
AddServicesWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
AntiForgeryWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ApiExplorerWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ApplicationModelWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
AutofacWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
BasicWebSite [Fixes #2547] Fixed attribute value prefix with dynamic content being ignored 2015-05-18 17:15:38 -07:00
BestEffortLinkGenerationWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CompositeViewEngineWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ContentNegotiationWebSite [Fixes #2541] Use custom stream writer for Xml output formatters 2015-05-15 12:12:11 -07:00
ControllerDiscoveryConventionsWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ControllersFromServicesClassLibrary Fix #2151 - Part 4 remove [Activate] support from controllers. 2015-05-21 22:57:56 -07:00
ControllersFromServicesWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CorsMiddlewareWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CorsWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
CustomRouteWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ErrorPageMiddlewareWebSite Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
FilesWebSite React to Http namespace changes. 2015-05-07 15:19:10 -07:00
FiltersWebSite React to security API changes 2015-05-12 15:12:06 -07:00
FormatFilterWebSite Fix #2330 - Reimagine *FormatterContext 2015-05-12 11:05:56 -07:00
FormatterWebSite Fixes #2464 - Does not add extra skipped entries for model bound from services. 2015-05-15 12:27:43 -07:00
InlineConstraintsWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
JsonPatchWebSite Fix 2224: [Jsonpatch]Added tests for custom converters on properties 2015-05-14 17:18:42 -07:00
LoggingWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
LowercaseUrlsWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
RazorEmbeddedViewsWebSite A few quick cleanups 2015-05-04 11:55:24 -07:00
RazorPageExecutionInstrumentationWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
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 Part 1 of fix for #2248 - Ambiguity when inheriting attribute routes 2015-05-08 17:05:45 -07:00
TagHelpersWebSite Part of #2151 - Remove [Activate] from TagHelpers 2015-05-21 22:57:51 -07:00
TempDataWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
UrlHelperWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
UserClassLibrary Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ValidationWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ValueProvidersWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
VersioningWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
ViewComponentWebSite Rename _GlobalImport.cshtml files to _ViewImports.cshtml 2015-05-21 12:27:08 -07:00
WebApiCompatShimWebSite [Fixes #2545] RedirectToRouteResult doesn't use RouteName property when calculating destination URL 2015-05-13 12:35:25 -07:00
XmlFormattersWebSite Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00