Commit Graph

30376 Commits

Author SHA1 Message Date
N. Taylor Mullen e0b8532735 Update names and spacing of some missed ChunkTree renames. 2015-05-29 23:07:55 -07:00
N. Taylor Mullen 1e5ad1154d Updated comment. 2015-05-29 23:01:21 -07:00
N. Taylor Mullen 3ba92523ff Remove special casing of '*' in TagHelperDescriptorProvider.
- Requesting a '*' tagName from the TagHelperDescriptorProvider could only happen if a user was directly calling into it (extremely unlikely). Therefore I've removed the special casing to make the logic more simple.
- Removed tests that expected this behavior.

#324
2015-05-29 15:06:14 -07:00
N. Taylor Mullen 951a1d0879 Addressed code review comments. 2015-05-29 14:59:07 -07:00
N. Taylor Mullen 3fa5dee2d7 React to aspnet/Razor#140 2015-05-29 14:52:23 -07:00
N. Taylor Mullen 94553703a2 React to aspnet/Razor#140
- ICodeTreeCache => IChunkTreeCache
- ModelCodeGenerator => ModelChunkGenerator
- MvcCSharpCodeBuilder => MvcCSharpCodeGenerator
- Updated files that used Razor resources that are now in different namespaces.
- Updated variable names to account for Razor renames.

aspnet/Razor#140
2015-05-29 14:21:35 -07:00
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
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
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
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
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 6d07af17ec Merge branch 'release' into dev 2015-05-27 16:24:30 -07:00
Pranav K cb0cde61aa Updating to release NuGet.config 2015-05-27 16:24:27 -07:00
Pranav K 5c32d3dab8 Merge branch 'release' into dev 2015-05-27 16:22:56 -07:00
Pranav K fd07e666e4 Updating to release NuGet.config 2015-05-27 16:22:53 -07:00
Pranav K 40dcd0a6cc Merge branch 'release' into dev 2015-05-27 16:13:39 -07:00
Pranav K 9cd9b6a48d Updating to release NuGet.config 2015-05-27 16:13:36 -07:00
Pranav K 3673ea6e83 Merge branch 'release' into dev 2015-05-27 16:07:55 -07:00
Pranav K 7bedbdfbab Updating to release NuGet.config 2015-05-27 16:07:51 -07:00
Pranav K 9aa703a59e Merge branch 'release' into dev 2015-05-27 16:02:26 -07:00
Pranav K eeff9da879 Updating to release NuGet.config 2015-05-27 16:01:44 -07:00
Wei Wang 19333dc2dc Update dnvm scripts 2015-05-27 11:27:46 -07:00
Kiran Challa f2d9594799 Fix build break 2015-05-26 15:42:51 -07:00