Commit Graph

40929 Commits

Author SHA1 Message Date
Doug Bunting 79a2982441 Add support for model binding dictionaries from `prefix[name]=value` entries
- #1418
- add new fallback binding in `DictionaryModelBinder`
 - similar to MVC 5 approach but more explicit and with better key conversion support
- fix bugs in `PrefixContainer` encountered while adding new tests of #1418 scenarios
 - did not handle entries like "[key]" or "prefix.key[index]" correctly
 - refactor part of `GetKeyFromEmptyPrefix()` into `IndexOfDelimiter()`; share with `GetKeyFromNonEmptyPrefix()`
 - extend `ReadableStringCollectionValueProviderTest` to cover bracketed key segments

nits:
- remove use of "foo", "bar", and "baz" in affected test classes
- `""` -> `string.Empty`
- `vpResult` -> `result`
2015-07-20 16:33:35 -07:00
Arthur Vickers 8299bbf482 React to EF API change 2015-07-20 11:13:09 -07:00
Ben Adams 23ffc3fea9 ConfigureAwait(false) 2015-07-19 15:50:42 +01:00
Ben Adams e69f63e494 ConfigureAwait(false) 2015-07-19 15:47:39 +01:00
Ben Adams aedd548c3b Fix sample perf (Option 1)
No need to await just return Task
2015-07-19 15:32:37 +01:00
Hisham Abdullah Bin Ateya 9c099bc057 Remove unused dnx command 2015-07-18 06:03:33 +03:00
Kiran Challa 20bd4c799e Added unit tests 2015-07-17 11:03:14 -07:00
Kiran Challa d577f0ee67 Merge branch 'release' into dev 2015-07-17 10:31:06 -07:00
Kiran Challa 0d78bdbef2 Fixed sample and instructions 2015-07-17 10:29:03 -07:00
Kiran Challa ab124d2ca0 Reacting to merging of FeatureModel into Http.Features 2015-07-17 10:06:24 -07:00
Chris R 93477efb41 React to FeatureModel package change. 2015-07-17 09:58:55 -07:00
Chris R 9fdeb09270 React to FeatureModel package change. 2015-07-17 09:47:17 -07:00
Chris R a8c755e664 React to FeatureModel package change. 2015-07-17 09:28:11 -07:00
Doug Bunting 6033679193 Cleanup .xproj files to avoid future churn
- mostly remove useless `<RootNamespace>` elements
2015-07-17 09:07:23 -07:00
Doug Bunting 3056c8ec08 Remove a VS build warning
- was "CS0649: Field is never assigned to, and will always have its default value `null'"
 - visible only in VS builds due to aspnet/dnx#2284

nit: let VS do its thing with Microsoft.AspNet.Mvc.Localization.xproj
2015-07-17 08:50:28 -07:00
Kiran Challa 22449a09f7 Merge branch 'release' into dev 2015-07-16 18:56:17 -07:00
Kiran Challa 988c037ce5 Merge branch 'dev' of http://github.com/aspnet/diagnostics into dev 2015-07-16 18:53:23 -07:00
Kiran Challa fea15eb8de Removed creation of request id logging scope 2015-07-16 18:51:57 -07:00
Kiran Challa 191ffe1721 Fix null reference exception 2015-07-16 18:03:45 -07:00
Kirthi Krishnamraju d06dcbc996 Merge branch 'release' into dev 2015-07-16 16:09:29 -07:00
Kirthi Krishnamraju d8a523a07f Added Mvc localization project 2015-07-16 15:57:24 -07:00
Ajay Bhargav Baaskaran 8039ebc7d1 Merge branch 'release' into dev 2015-07-16 15:55:15 -07:00
Ajay Bhargav Baaskaran 92f3e21fe6 Fix: Metadata ignored for non model-specific EditorTemplate
Issue - #2778
2015-07-16 15:48:01 -07:00
Ajay Bhargav Baaskaran c6302ff026 Merge branch 'release' into dev 2015-07-16 15:45:56 -07:00
Chris R b8af07e3c1 #60 Merge FeatureModel into Http.Features. Remove unused FeatureObject. 2015-07-16 15:10:48 -07:00
N. Taylor Mullen 7b9de550c7 Merge branch 'release' into dev 2015-07-16 14:50:40 -07:00
N. Taylor Mullen b762830a43 Consume `EditorBrowsableAttribute` on `TagHelper`s.
- Changed `TagHelperDescriptorFactory` to not create individual descriptors when `EditorBrowsableAttribute` is present and set to `EditorBrowsableState.Never`.
- Added tests to validate the `TagHelperDescriptorFactory` creates the attribute correctly.
- Did not look down the inheritance chain for `EditorBrowsableAttribute` because `TargetElement` is not inherited.

#447
2015-07-16 14:49:09 -07:00
Brice Lambson 14b08da4f3 Add Microsoft.Data.Sqlite 2015-07-16 13:52:11 -07:00
Hao Kung 3646d6ed6e Fix build breaks 2015-07-16 13:41:35 -07:00
Hao Kung 668dd349d2 React to security renames 2015-07-16 13:15:08 -07:00
Ajay Bhargav Baaskaran 6210de95e3 Fix regression from previous commit 2015-07-16 13:00:44 -07:00
Hao Kung 54db5d2c50 React to external => shared rename 2015-07-16 12:47:05 -07:00
Hao Kung 5a2499eb22 Rename ExternalAuthenticationOptions => Shared 2015-07-16 12:43:03 -07:00
Mugdha Kulkarni a6a7903b84 2721: Fixing the error message for empty html field name 2015-07-16 12:37:18 -07:00
Hao Kung 73d4440a25 API review: nuke notification namespaces 2015-07-16 11:56:48 -07:00
Ryan Nowak 6170ac1924 Add an event notification for when the action is invoked 2015-07-16 11:10:45 -07:00
Pranav K 01c8f111df Merge branch 'release' into dev 2015-07-16 09:35:08 -07:00
Pranav K 6b2f1f5e02 Adding AzureAD feed 2015-07-16 09:34:51 -07:00
Pranav K 6dc4df9ad5 Merge branch 'release' into dev 2015-07-16 09:34:06 -07:00
Pranav K f030d8c764 Adding back AzureAD feed 2015-07-16 09:33:25 -07:00
Pranav K 1aaa385ef8 Merge branch 'release' into dev 2015-07-16 09:02:50 -07:00
Pranav K cde53ffbd5 Updating to release NuGet.config 2015-07-16 09:02:46 -07:00
Pranav K 0c350aaec0 Merge branch 'release' into dev 2015-07-16 09:02:15 -07:00
Pranav K 64fa05dbaf Updating to release NuGet.config 2015-07-16 09:02:12 -07:00
Pranav K 5e7b009829 Merge branch 'release' into dev 2015-07-16 09:01:58 -07:00
Pranav K be3275d4a5 Updating to release NuGet.config 2015-07-16 09:01:55 -07:00
Pranav K b4b478f282 Merge branch 'release' into dev 2015-07-16 09:01:41 -07:00
Pranav K c1ea96d1e0 Updating to release NuGet.config 2015-07-16 09:01:37 -07:00
Pranav K 516bc4e922 Merge branch 'release' into dev 2015-07-16 09:01:23 -07:00
Pranav K 1817a1d5b8 Updating to release NuGet.config 2015-07-16 09:01:20 -07:00