Pranav K
b9dec6acfe
Updating to aspnetlitedev.
2015-08-18 14:00:22 -07:00
Pranav K
8c91ef70cc
Merge branch 'release' into dev
2015-08-18 14:00:22 -07:00
Pranav K
d4b686ebea
Merge branch 'release' into dev
2015-08-18 14:00:22 -07:00
Pranav K
5d0ae6f722
Updating to aspnetliterelease.
2015-08-18 14:00:22 -07:00
Pranav K
3480d53e1c
Updating to aspnetlitedev.
2015-08-18 14:00:21 -07:00
Pranav K
b360f66326
Updating to aspnetlitedev.
2015-08-18 14:00:20 -07:00
Pranav K
5e38bd0e2c
Merge branch 'release' into dev
2015-08-18 14:00:20 -07:00
Pranav K
1ab94f0891
Merge branch 'release' into dev
2015-08-18 14:00:20 -07:00
Pranav K
a9fe23a2c6
Updating to aspnetliterelease.
2015-08-18 14:00:20 -07:00
Pranav K
ef0456183b
Updating to aspnetliterelease.
2015-08-18 14:00:20 -07:00
Pranav K
aa0f6c37bb
Updating to aspnetlitedev.
2015-08-18 14:00:19 -07:00
Pranav K
df3168a53a
Updating to aspnetlitedev.
2015-08-18 14:00:18 -07:00
Pranav K
ced0f989ab
Merge branch 'release' into dev
2015-08-18 14:00:18 -07:00
Pranav K
6ff976be65
Merge branch 'release' into dev
2015-08-18 14:00:18 -07:00
Pranav K
bbeea8ba4a
Updating to aspnetliterelease.
2015-08-18 14:00:18 -07:00
Pranav K
86c2d546fa
Updating to aspnetliterelease.
2015-08-18 14:00:17 -07:00
Pranav K
8c8392cc6f
Updating to aspnetlitedev.
2015-08-18 14:00:13 -07:00
Pranav K
599f05e134
Updating to aspnetliterelease.
2015-08-18 14:00:12 -07:00
Pranav K
830e9904b1
Merge branch 'release' into dev
2015-08-18 14:00:12 -07:00
Kiran Challa
7b8f895f3b
Merge branch 'release' into dev
2015-08-18 11:08:40 -07:00
Kiran Challa
3c6749ba9b
Typescript build changes
2015-08-18 11:07:55 -07:00
Doug Bunting
f10a071da3
Preserve `ViewDataDictionary.ModelType` for `Nullable<T>` properties when `Model` is non-`null`
...
- #2539
- reuse `ModelMetadata` and occasionally `ModelExplorer` when `ModelType` is `Nullable<T>`
2015-08-18 10:33:40 -07:00
Doug Bunting
c2347e4d4b
Merge branch 'release' into dev
2015-08-18 10:30:04 -07:00
Doug Bunting
48f09d0e8d
Do not trounce existing property values that are not bound in `TryUpdateModel` scenarios
...
- #2836
Part 1: Use existing property values when recursing in `MutableObjectModelBinder`
- remove `ComplexModelDTO` because that indirection made fixing this issue more difficult and doesn't add value
- started with an old closed PR (#2241 ) which did some of this work
- correct `MutableObjectModelBinderTest` tests that exercised behaviour that can't occur
- the old `dto.Results` dictionary was never incomplete; nor could it contain `null` values
Part 2: Change `MutableObjectModelBinder` to pass complex property values into binding system
- model binding no longer trounces nodes in the model tree that aren't bound
- create model instances less often in `TryUpdateModel` scenarios
- refactor `EnsureModel()` to `GetModel()` and use appropriately
- reorder logic in `SetProperty()` and `AddToProperty()` to avoid copying to / from the same collection
- also cleans up some code duplication
nits:
- clean up `MutableObjectModelBinderTest`
- fix odd line wrappings and indentation
- use `nameof()` more
- use `string.Empty` more
- simplify a couple of `Returns()` expressions
- make assertions in `TryUpdateModelIntegrationTest` more readable
- no need to work through `ModelStateDictionary.Keys`
- also use `Length` instead of `Count()`; test code but we don't need Linq at all in that test class
2015-08-18 09:57:41 -07:00
Stephen Halter
58292c6620
Update "Kestrel" dependency in samples after rename
2015-08-17 15:55:04 -07:00
Pranav K
fba99312e3
Merge branch 'release' into dev
2015-08-17 14:49:41 -07:00
Pranav K
8a1d9f4a12
Updating to release NuGet.config.
2015-08-17 14:49:39 -07:00
Pranav K
7085e8ab4d
Merge branch 'release' into dev
2015-08-17 14:49:37 -07:00
Pranav K
459b271a44
Updating to release NuGet.config.
2015-08-17 14:49:34 -07:00
Pranav K
f33a71ae19
Merge branch 'release' into dev
2015-08-17 14:49:32 -07:00
Pranav K
e0d60f7549
Updating to release NuGet.config.
2015-08-17 14:49:30 -07:00
Pranav K
4a08399052
Merge branch 'release' into dev
2015-08-17 14:49:27 -07:00
Pranav K
8389d740b9
Updating to release NuGet.config.
2015-08-17 14:49:25 -07:00
Pranav K
e300e592ec
Merge branch 'release' into dev
2015-08-17 14:49:23 -07:00
Pranav K
4b7c990b3e
Updating to release NuGet.config.
2015-08-17 14:49:21 -07:00
Pranav K
35bdc80e50
Merge branch 'release' into dev
2015-08-17 14:49:18 -07:00
Pranav K
6706b60dee
Updating to release NuGet.config.
2015-08-17 14:49:16 -07:00
Pranav K
276a51fd2b
Merge branch 'release' into dev
2015-08-17 14:49:14 -07:00
Pranav K
17e43d49c2
Updating to release NuGet.config.
2015-08-17 14:49:12 -07:00
Pranav K
d5b0065553
Merge branch 'release' into dev
2015-08-17 14:49:09 -07:00
Pranav K
05b496782a
Updating to release NuGet.config.
2015-08-17 14:49:07 -07:00
Pranav K
fc7c3a6c3a
Merge branch 'release' into dev
2015-08-17 14:49:04 -07:00
Pranav K
c9ca9fee47
Updating to release NuGet.config.
2015-08-17 14:49:02 -07:00
Pranav K
b0a55ebd36
Merge branch 'release' into dev
2015-08-17 14:48:59 -07:00
Pranav K
cadf2f8f71
Updating to release NuGet.config.
2015-08-17 14:48:57 -07:00
Pranav K
4cdabf172d
Merge branch 'release' into dev
2015-08-17 14:48:55 -07:00
Pranav K
b47e6ecf28
Updating to release NuGet.config.
2015-08-17 14:48:53 -07:00
Pranav K
8f13f18e36
Merge branch 'release' into dev
2015-08-17 14:48:50 -07:00
Pranav K
d1ecd8e29b
Updating to release NuGet.config.
2015-08-17 14:48:48 -07:00
Pranav K
c46fc555ae
Merge branch 'release' into dev
2015-08-17 14:48:46 -07:00