Commit Graph

45021 Commits

Author SHA1 Message Date
Doug Bunting 94e326f953 `CompositeModelBinder.TryBind()` should return `null` more often
- #2129
- do not propagate results with `!IsModelSet`, allowing empty prefix fallback
- adjust `ComplexModelDtoModelBinder` to at least fake-bind all properties
 - default values not consistently picked up otherwise

nit: correct 2 test names in `KeyValuePairModelBinderTest`
2015-03-20 13:18:13 -07:00
Doug Bunting bcb2fa6ba2 Avoid exceptions in `ActionFilterController`
- fix typo in commit 51e7812
2015-03-20 13:02:42 -07:00
Doug Bunting 64c8a6fa40 Clean up `ModelBindingResult` constructor calls and related comments
- use named parameters more often
 - add more comments about returned `ModelBindingResult`
 - clean up `ModelBindingResult` doc comments
 - cleanup `using`s

Nits:
- cleanup trailing whitespace
- change `retVal` -> `result` in `KeyValuePairModelBinderTest`
2015-03-20 13:02:23 -07:00
Suhas Joshi 6143af8149 Added deferred logging with scopes 2015-03-20 12:21:26 -07:00
Doug Bunting 103538b889 Fix NRE in `MutableObjectModelBinder` 2015-03-20 12:17:47 -07:00
Praburaj 8e57f8af64 Reacting to FileSystem changes
IFileInfo is readonly
2015-03-20 11:56:05 -07:00
Praburaj 88aa820b9f Reacting to File System changes
IFileProvider is becoming readonly.
2015-03-20 11:41:41 -07:00
ianhong 1c6800beab List of assembly names in DefaultAssemblyProvider needs to be kept up to date 2015-03-20 11:38:43 -07:00
Ajay Bhargav Baaskaran e2058905ec TagHelpers attribute targeting - part 2 2015-03-20 11:26:21 -07:00
Ajay Bhargav Baaskaran bfdeda797d TagHelpers attribute targeting - part 1 2015-03-20 11:15:40 -07:00
Kirthi Krishnamraju 2b246e7acc Fix for #1694 issue : Removed prefix for ModelState keys for FromBody parameters 2015-03-20 10:41:06 -07:00
Wei Wang 3cd272a96a Rename kpm to dnu in standard goal scripts 2015-03-20 10:34:39 -07:00
Chris Klug d295af5d29 Fixed formatting issue 2015-03-20 16:28:18 +01:00
Chris Klug aa31c1bb91 Changed the HelloMvc sample to use ConfigureServices() instead of app.UseServices() 2015-03-20 16:18:56 +01:00
N. Taylor Mullen 2b6220205d Updated duplicate TargetElement TagHelper tests.
#326
2015-03-20 00:20:36 -07:00
N. Taylor Mullen 842549bba9 De-dupe TagHelperDescriptors based on Type for rendering.
- This can occur if you have multiple [TargetElement] attributes that overlap. Ultimately the descriptor is the same because its the same type, just the required attributes differ.
- Added tests to validate.

#326
2015-03-19 22:46:49 -07:00
ianhong 3693002b02 Introducing VirtualPathData for IRouter.GetVirtualPath 2015-03-19 21:59:20 -07:00
ianhong 27bdec40a6 React to #154 (Routing - adding data token to GetVirtualPath) 2015-03-19 21:51:14 -07:00
Hao Kung 0db1f1a42f React to hosting 2015-03-19 21:02:35 -07:00
David Fowler 543b08c254 Fixed CORS dependencies 2015-03-19 19:45:14 -07:00
N. Taylor Mullen 0f1292abf6 Transition root paths => relative for tooling.
#2213
2015-03-19 17:54:33 -07:00
Kiran Challa 9a6f8b392d [Fixes #852] XmlDictionaryReader.CreateTextReader overload which supports Encoding is missing 2015-03-19 17:33:20 -07:00
Harsh Gupta ac908d405e Removing ModelMetadataProvider.GetModelMetadataForParameters 2015-03-19 16:42:54 -07:00
Ajay Bhargav Baaskaran fa40fe6e46 Fix build break 2015-03-19 16:16:18 -07:00
Ajay Bhargav Baaskaran 7b468344c0 [Fixes #169] Await TagHelper generated objects 2015-03-19 16:08:07 -07:00
Ajay Bhargav Baaskaran d166517dd6 React to aspnet/Razor#169 changes 2015-03-19 15:58:00 -07:00
Ajay Bhargav Baaskaran 9c1e2f54a5 [Fixes #2157] Added additional functional tests for TempData 2015-03-19 15:55:23 -07:00
Hao Kung 7e3db8935e Fix views 2015-03-19 15:55:13 -07:00
Hao Kung bfede03e7c React to identity changes 2015-03-19 15:41:10 -07:00
Hao Kung 01ac7f770a React to identity changes 2015-03-19 15:40:31 -07:00
Hao Kung a6bf4029aa Move extensions IPrincipal => ClaimsPrincipal
Fixes https://github.com/aspnet/Identity/issues/395
2015-03-19 15:24:20 -07:00
Hao Kung 4162a8ce89 React to hosting 2015-03-19 12:44:25 -07:00
Hao Kung 226257020b React to hosting 2015-03-19 12:11:02 -07:00
Kiran Challa ab31be20ed Fix tests to work on CoreClr (this does not fix the Xml tests failures) 2015-03-19 11:52:29 -07:00
Hao Kung aae2e630b4 Fix samples 2015-03-19 11:43:03 -07:00
Hao Kung fa95120dde React to hosting 2015-03-19 11:38:20 -07:00
Hisham Abdullah Bin Ateya e68de43bce Using 'nameof' operator instead of magic strings 2015-03-19 21:37:35 +03:00
Hao Kung 352edcd7fe Remove configuration from AddDirectoryBrowser 2015-03-19 11:32:14 -07:00
Hao Kung e7b0a76db9 React to hosting 2015-03-19 11:28:06 -07:00
Hao Kung b66b2df264 React to hosting 2015-03-19 11:22:22 -07:00
Hao Kung 7fe9aceb19 React to hosting 2015-03-19 11:20:23 -07:00
Hao Kung 268af34244 React to hosting changes 2015-03-19 11:11:54 -07:00
Hao Kung 4b5dd199ca React to hosting changes 2015-03-19 11:07:25 -07:00
Hao Kung 776593ec71 React to hosting changes 2015-03-19 11:04:33 -07:00
Levi B 794f60b104 Fix content path for config transform
This forces installation failure in a 4.5 project.
2015-03-19 11:00:05 -07:00
Hao Kung 19b75b688a Rework hosting
- IStartupFilter support
- Rework HostingEngine
- AutoRequestScope by default via (IStartupFilter)
- RIP RequestContainer
2015-03-19 10:57:34 -07:00
Harsh Gupta 015edefa96 Cors Support in MVC. 2015-03-18 19:37:00 -07:00
Kiran Challa ee4ffea294 [Fixes #2190] Remove GetSupportedContentTypes method from IOutputFormatter and move to a separate metadata interface 2015-03-18 16:13:14 -07:00
Levi B d2def94712 Reliability: Tweak comparison in key revocation checks 2015-03-18 15:15:58 -07:00
ASP.NET Push Bot be2f67f206 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@f5f8e1a9d5
2015-03-18 15:07:52 -07:00