Commit Graph

2743 Commits

Author SHA1 Message Date
John Luo 67e18c70cc Merge branch 'release' into dev 2016-04-13 16:45:52 -07:00
John Luo 059179b7b8 Add web.config to test sites 2016-04-13 16:12:56 -07:00
Doug Bunting ee2cfa1963 Merge remote-tracking branch 'origin/release' into dev 2016-04-13 16:04:14 -07:00
Doug Bunting eda647e270 Complete the doc comments for filters
- #3851
- add lots of words
- correct that vs. which confusion
2016-04-13 16:01:30 -07:00
Ryan Nowak cffc381a69 Update xproj output path 2016-04-13 14:03:44 -07:00
Eilon Lipton 0cf9a4b7f2 Merge branch 'release' into dev 2016-04-13 12:10:53 -07:00
Eilon Lipton 4f24339740 Fix package metadata 2016-04-13 12:07:04 -07:00
Sebastien Ros 946d895114 Merge branch 'release' into dev 2016-04-12 11:41:11 -07:00
Sébastien Ros f30f61f7bb Fixing functional test random failure (#4452) 2016-04-12 10:44:26 -07:00
Ryan Nowak 84caf6968d Merge branch 'release' into dev 2016-04-11 15:50:26 -07:00
Ryan Nowak 3ec60a0181 Fix #4447 - Teach MVC to understand defaults
The wireup for defaults in attribute routes was missing
2016-04-11 14:38:29 -07:00
Ryan Nowak 171f4452e3 Repair failing functional test
I recently consolidated some code in routing that made the behavior for
attribute routes and conventional routes more consistent. So now, a
catch-all will add a null value to the RVD if it doesn't capture any text,
but will NOT trounce an existing value in the RVD.

This test depended on the behavior where attribute routes didn't ever add
a null value for a catch-all. The fix is to just add a default to the
catch-all.
2016-04-11 12:07:51 -07:00
John Luo dfe35bbef7 Merge branch 'release' into dev 2016-04-11 10:19:02 -07:00
John Luo e0c0617185 Move web.config and use ANCM 2016-04-11 10:17:53 -07:00
Doug Bunting 656689b5f7 Remove workaround for aspnet/External#51
- problem no longer exists in .NET Core
2016-04-10 14:07:18 -07:00
Doug Bunting 82fd17d050 Merge branch 'release' into dev 2016-04-08 16:06:59 -07:00
Doug Bunting a0c8834c70 Preserve existing metadata in `ViewDataDictionary` where possible
- #4116
- generalize rules for `ModelMetadata` creation; minimize metadata changes when Model is updated
 - down to a single special case in VDD for `Nullable<T>`
 - note existing functional tests did not need to change
- remove `ViewDataDictionary(ViewDataDictionary, object)` constructor; use `new VDD<object>(source, model)`
- allow all `Model` assignments in a view component
 - copy-constructed VDD in `ViewComponentContext` previously preserved the source's declared type

nits:
- do not call `virtual SetModel()` method from constructor; now mostly redundant
 - logic in copy constructor and `SetModel()` is consistent but different enough to keep code separate
- add some missing doc comments
- fix doc comment property versus type confusion; never need to specify `ViewDataDictionary.` prefix
- fix a few `TemplateBuilder` comments and remove unnecessary `model: null` argument to VDD constructor
2016-04-08 14:44:36 -07:00
Ryan Nowak 7b50ea39da Merge branch 'release' into dev 2016-04-08 12:26:52 -07:00
Ryan Nowak a55544681d Fix for #3659 - handle IHtmlContent in localization
This change corrects handling of IHtmlContent instances in
LocalizedHtmlString by making using of FormattableHtmlString.
2016-04-08 11:20:49 -07:00
mnltejaswini f4e35f5ba0 [Perf] Remove the validations in ControllerActivator and ViewComponentActivator which are redundant. These
validations are already done when selecting a controller and view component
Fixes #4367
2016-04-08 10:07:33 -07:00
Pranav K 2bf79a874d Removing imports from src projects 2016-04-08 06:49:31 -07:00
Pranav K 1d4363305c Merge branch 'release' into dev 2016-04-08 06:49:31 -07:00
Ryan Nowak d4c7dc3a83 Make HashSets in TempData lazy
TempData is frequently created but not modified, this reduces the cost of
that without much complexity.
2016-04-07 13:09:56 -07:00
Pranav K cf460e9a63 Merge branch 'release' into dev 2016-04-06 19:04:58 -07:00
Pranav K 67f54e82f9 Fix versioning 2016-04-06 18:15:14 -07:00
Ryan Nowak 3b3bfb5a69 Remove using Task.FromResult where possible
Believe it or not, this one in ActionResult is showing in TechEmpower. I
did a pass on all of the product code since the cache task actually
improves the readability of the code 😎
2016-04-06 16:06:45 -07:00
N. Taylor Mullen 7b163baa1f Merge branch 'release' into dev 2016-04-06 11:43:34 -07:00
N. Taylor Mullen 3ebb14ee4b Update Resource lookup keys for VSRC1 packages. 2016-04-06 11:43:09 -07:00
Pranav K d530fc2fe7 Merge branch 'release' into dev 2016-04-06 09:50:13 -07:00
Pranav K 3396f2ccf9 Updating to release. 2016-04-06 09:50:10 -07:00
Sébastien Ros efb8ef33e6 Fixing race in distributed cache tag helper
Fixes #4407
2016-04-06 09:42:24 -07:00
Pranav K c66c408c15 DefaultAssemblyPartDiscoveryProvider.IsCandidateLibrary should not look at types in Mvc assemblies
Fixes #4363
2016-04-06 08:41:12 -07:00
David Fowler 4b348699c8 Fixed dependencies
Fix dependency on System.Runtime.Serialization.Xml
2016-04-05 23:28:53 -07:00
N. Taylor Mullen ee80f5f84c React to aspnet/Razor#621. 2016-04-05 16:08:01 -07:00
Pranav K 7cb1dca467 JsonInputFormatter fails to use custom SerializerSettings
Fixes #4270
2016-04-05 10:19:49 -07:00
David Fowler 29646153ea Explicitly add tracesource dependency 2016-04-05 00:02:49 -07:00
Sebastien Ros 304135f4a6 Removing and ignoring .orig files 2016-04-04 17:36:25 -07:00
N. Taylor Mullen 698980943a Ignore doc comments for VSRC1 projects. 2016-04-04 17:23:02 -07:00
N. Taylor Mullen a140440196 Add `AssemblyCompany`, `AssemblyCopyright` and `AssemblyProduct` attributes to the assembly. 2016-04-04 16:25:47 -07:00
N. Taylor Mullen 687fd72efd Add Visual Studio specific RC1 binaries.
- This is needed for Visual Studio RC1 backwards compatibility.
2016-04-04 15:21:19 -07:00
Pranav K 701869fd53 Remove DefaultAssemblyPartDiscoveryProvider.GetAssemblyName
Fixes #4366
2016-04-03 10:37:10 -07:00
Pranav K 330e98d1fc Revert "Revert "Updating to the newest Roslyn packages""
This reverts commit 87e89befc8.
2016-04-03 09:07:31 -07:00
Pranav K b4310ac8a8 Modify RoslynCompilationService to generate portable pdbs
Fixes #4330
2016-04-03 08:55:11 -07:00
Kiran Challa cda1307848 Updated test to fix build break 2016-04-03 08:01:15 -07:00
Kiran Challa 4cd3012886 Fix mixed route for action error message 2016-04-03 06:55:11 -07:00
N. Taylor Mullen 56bbb215ec React to aspnet/Razor#721. 2016-04-03 00:00:19 -07:00
jacalvar 574ecbb3eb [Fixes #4087] Add support for AddTagHelpersAsServices()
* Added TagHelperFeature and TagHelperFeatureProvider to perform tag helper discovery.
* Changed tag helper discovery to use application parts when using tag helpers as services.
* Added FeatureTagHelperTypeResolver to resolve tag helper type definitions from the list of application parts.
* Added AddTagHelpersAsServices extension method on IMvcBuilder and IMvcCoreBuilder that
  performs tag helper discovery through the ApplicationPartManager and registers those tag helpers as
  services in the service collection. Assemblies should be added to the ApplicationPartManager
  in order to discover tag helpers in them in them. The @addTagHelper directive is still required on
  Razor pages to indicate what tag helpers to use.
2016-04-02 10:32:48 -07:00
Doug Bunting 384fd1f218 Quick fix: Address a couple of nits in / around `ViewDataDictionary`
- remove duplicate `null` checks in `ViewDataDictionary` constructors
- correct a couple of code comments
- use a `public` constructor for `ViewDataDictionary` in `ViewExecutor`
2016-04-01 15:31:47 -07:00
Sebastien Ros 341430eae5 [Fixes #4246] Introducing CacheTagKey
Prevent string allocations in CacheTagHelper
Fix hash collision by checking the serialized key with the actual content for DistributedCacheTagHelper
2016-04-01 15:06:29 -07:00
BrennanConroy f22e234dab React to logging changes 2016-04-01 12:00:33 -07:00