Commit Graph

40898 Commits

Author SHA1 Message Date
David Fowler ed339a35d2 Made container verison volatile 2015-05-29 14:14:36 -07:00
N. Taylor Mullen ed92b6992d Addressed code review comments. 2015-05-29 12:50:01 -07:00
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
Brice Lambson 62e5349773 Make webHostBuilder.UseStartup(startupAssemblyName) work 2015-05-29 12:11:34 -07:00
damianedwards e02db6ef62 Merge branch 'release' into dev 2015-05-29 11:46:42 -07:00
damianedwards 39f40d2c5f Fix references to include beta-* 2015-05-29 11:46:24 -07:00
Harsh Gupta 4f419eee55 Removing creating ModelValidationNode by default in CompositeModelBinder.
This moves the responsibility of of MVN creation to individual model binders if they want the individual models to be validated.
2015-05-29 09:21:11 -07:00
David Fowler d9839bcc43 Removed bookeeping for duck typing feature interfaces
- Removed interlocked increment since the version was
being incremented within the lock

#317
2015-05-29 01:12:54 -07:00
ASP.NET Push Bot 338c09434e ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@07bff51bfe
2015-05-28 21:43:14 -07:00
David Paquette 3fe0490b99 Renamed FileVersion to AppendVersion in tag helpers that support cache busting
FileVersion property renamed to AppendVersion in ImageTagHelper,
LinkTagHelper and ScriptTagHelper.

asp-file-version attribute renamed to asp-append-version.

Resolves issue #2540
2015-05-28 17:56:19 -07:00
Kiran Challa 568c8b6bc4 Fix build break. 2015-05-28 16:34:58 -07:00
Ryan Nowak 6e1226bfe4 Enable tests for #2470
This was very likely fixed as part of
22f1881cc6
2015-05-28 14:57:50 -07:00
damianedwards 07c7fff301 Merge branch 'release' into dev 2015-05-28 12:46:08 -07:00
damianedwards 5eda65f336 Fix default path in CultureInfoGenerator:
- #26
2015-05-28 12:45:52 -07:00
damianedwards 7fb51d4535 Merge branch 'release' into dev 2015-05-28 12:31:39 -07:00
damianedwards 1a47d19bb3 Introduces IStringLocalizer.GetAllStrings to replace direct IEnumerable impl:
- #18

Support not loading ancestor culture strings on IStringLocalizer.GetAllStrings:
- #23
2015-05-28 12:25:03 -07:00
damianedwards b583c46372 Merge branch 'release' into dev 2015-05-28 12:16:51 -07:00
damianedwards 90ca64c3dd Statics be gone!
- Cleaned up ctors of ResourceManagerStringLocalizer and ResourceManagerWithCultureStringLocalizer too
2015-05-28 12:14:03 -07:00
Pranav K 189d1037f2 Merge branch 'release' into dev 2015-05-27 18:09:07 -07:00
Pranav K 59033fed80 Updating release NuGet.config 2015-05-27 18:08:52 -07:00
Pranav K df9e8c1491 Merge branch 'release' into dev 2015-05-27 18:01:55 -07:00
Pranav K 34223d892c Adding xunit feed to release 2015-05-27 18:01:44 -07:00
N. Taylor Mullen 6df8bc23f1 Renamed CodeBuilder related classes to CodeGenerator
- Now that what used to be CodeGenerators are now ChunkGenerators we can rename the CodeBuilder into its correct structure: a CodeGenerator.
- Moved the TagHelperAttributeValueCodeRenderer from the TagHelpers namespace into the CodeGeneration namespace.
- Went through several classes and remove and sorted usings.
- Updated test files to abide by the new naming convention of Builders => CodeGenerators.

#140
2015-05-27 17:00:41 -07:00
N. Taylor Mullen 5df9b52afe Renamed and moved several Razor classes for clarity.
- Renamed CodeGenerators to ChunkGenerators.
- Updated location of TestFiles from TestFiles/CodeGenerator/CS/{Output|Source} => TestFiles/CodeGenerator/{Output|Source}.
- Removed ChunkTree test; it was a legacy test used to experiment with Razor rendering (not a real test).
- Removed CSharpRazorCodeGenerator; it's now replaced with RazorCodeGenerator. It was an empty class that did nothing.
- Updated ChunkBlock => ParentChunk. Also updated several patterns throughout the code base that referenced these blocks as blocks and not parents.
- Moved Chunks and ChunkGenerators into the Chunks/Chunks.Generators namespace/folder structure. Updated test project to reflect the same.
- Moved CodeBuilders and CodeVisitors to the CodeGeneration/CodeGeneration.Visitors namespace/folder structure. Updated test project to reflect the same.
- Moved several TagHelper assets outside of their own namespaces and into Razors more general structures; such as CodeGeneration and Chunks/Chunks.Generators.

#140
2015-05-27 17:00:25 -07:00
Pranav K 6d6acf0056 Updating to release NuGet.config 2015-05-27 16:56:53 -07:00
ASP.NET Push Bot 0bd310cc73 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@c4da6df0a3
2015-05-27 16:56:49 -07:00
Pranav K 313251a065 Merge branch 'release' into dev 2015-05-27 16:36:14 -07:00
Pranav K 12bf8f28e0 Updating release NuGet.Config 2015-05-27 16:35:43 -07:00
Pranav K ec8d3167fc Merge branch 'release' into dev 2015-05-27 16:34:10 -07:00
Pranav K f8065ab693 Updating to release NuGet.config 2015-05-27 16:34:07 -07:00
Pranav K 15d8905ecc Merge branch 'release' into dev 2015-05-27 16:33:28 -07:00
Pranav K 48cdaebd71 Updating to release NuGet.config 2015-05-27 16:33:25 -07:00
Pranav K c86b157ad3 Merge branch 'release' into dev 2015-05-27 16:33:01 -07:00
Pranav K b7db5b2fbe Updating to release NuGet.config 2015-05-27 16:32:58 -07:00
Pranav K 8cb6658215 Merge branch 'release' into dev 2015-05-27 16:32:20 -07:00
Pranav K 3418116a9c Updating to release NuGet.config 2015-05-27 16:32:17 -07:00
Pranav K c958d01112 Merge branch 'release' into dev 2015-05-27 16:31:59 -07:00
Pranav K e1ab7a69b4 Updating to release NuGet.config 2015-05-27 16:31:56 -07:00
Pranav K 864ee7f347 Merge branch 'release' into dev 2015-05-27 16:31:39 -07:00
Pranav K 8956f365aa Updating to release NuGet.config 2015-05-27 16:31:36 -07:00
Pranav K 79b190288e Merge branch 'release' into dev 2015-05-27 16:30:09 -07:00
Pranav K 36b82b043d Updating to release NuGet.config 2015-05-27 16:30:06 -07:00
Pranav K c040f06dd4 Merge branch 'release' into dev 2015-05-27 16:28:12 -07:00
Pranav K 2212bfa6be Updating to release NuGet.config 2015-05-27 16:28:09 -07:00
Pranav K 328bdfd597 Merge branch 'release' into dev 2015-05-27 16:27:40 -07:00
Pranav K bd1e7d2667 Updating to release NuGet.config 2015-05-27 16:27:36 -07:00
Pranav K b33bff1866 Merge branch 'release' into dev 2015-05-27 16:26:48 -07:00
Pranav K 8ff0214b73 Updating to release NuGet.config 2015-05-27 16:26:44 -07:00
Pranav K cf132e1057 Merge branch 'release' into dev 2015-05-27 16:26:21 -07:00
Pranav K a5212d0942 Updating to release NuGet.config 2015-05-27 16:26:18 -07:00