Go to file
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
samples React to aspnet/Configuration #194 2015-05-22 05:54:03 -07:00
src Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor 2015-05-29 12:28:14 -07:00
test Updated the ResponseCacheFilter class to store a reference to the CacheProfile passed into the contructor 2015-05-29 12:28:14 -07:00
.gitattributes
.gitignore Add project.lock.json to .gitignore 2015-02-15 09:56:35 -08:00
.travis.yml Update .travis.yml to use working version of mono. 2015-05-13 16:34:20 -07:00
CONTRIBUTING.md Update Home master -> Home dev 2015-05-12 11:26:36 -07:00
LICENSE.txt Update LICENSE.txt and license header on files. 2015-05-01 13:55:25 -07:00
Mvc.NoFun.sln Fix #1911 : Create a separate package for ApiExplorer 2015-04-28 13:13:20 -07:00
Mvc.sln Fixes #2464 - Does not add extra skipped entries for model bound from services. 2015-05-15 12:27:43 -07:00
NuGet.Config Renaming Nuget.org feed key name to Nuget. 2015-03-10 11:37:28 -07:00
README.md Tables aren't cool anymore 2015-04-01 16:18:33 -07:00
Settings.StyleCop
appveyor.yml Turn on parallel AppVeyor builds 2015-04-30 21:57:38 -07:00
build.cmd Do not use deprecated `dnvm -x86` switch 2015-03-11 19:29:10 -07:00
build.sh Remove k command and use dnx instead 2015-03-24 21:35:55 -07:00
global.json Update global.json, sources=>projects 2015-04-02 09:20:21 -07:00
makefile.shade

README.md

ASP.NET MVC

AppVeyor: AppVeyor

Travis: Travis

ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that enables a clean separation of concerns and gives you full control over markup for enjoyable, agile development. ASP.NET MVC includes many features that enable fast, TDD-friendly development for creating sophisticated applications that use the latest web standards.

ASP.NET MVC in ASP.NET 5 includes support for building web pages and HTTP services in a single aligned framework that can be hosted in IIS or self-hosted in your own process.

This project is part of ASP.NET 5. You can find samples, documentation and getting started instructions for ASP.NET 5 at the Home repo.