Commit Graph

40929 Commits

Author SHA1 Message Date
Kirthi Krishnamraju 924d50bd8f Added functionaltests for JsonPatchDocument 2015-04-22 13:44:25 -07:00
Kirthi Krishnamraju 3042a62ba9 Removed Test operation code and changed T to TModel 2015-04-22 13:44:20 -07:00
Kirthi Krishnamraju bf712263fc Fix for #2280 - Cannot do an "add" patch to IList<Anything>
Added unit tests
2015-04-22 13:44:14 -07:00
Kirthi Krishnamraju e48565dcd8 Adding errors in ModelState 2015-04-22 13:44:09 -07:00
Kirthi Krishnamraju 9f97d25e02 Moved exception messages to resource file and updated tests to validate exception messages 2015-04-22 13:44:04 -07:00
Hao Kung a001cd4f2a React to Security logging change 2015-04-22 12:51:19 -07:00
Chris Ross de69da85fe Fix dependencies. 2015-04-22 12:36:13 -07:00
Hao Kung 30d350da26 Move logger to base handler and moar var 2015-04-22 12:23:54 -07:00
Ryan Nowak f3679f214e Fix #1712 - remove reflection from validation code in MutableObjectModelBinder
This change moves [BindingBehavior(...)] and friends into the model
metadata layer, and removes the reflection code from
MutableObjectModelBinder that was looking for them previously.
2015-04-22 12:10:45 -07:00
Kirthi Krishnamraju 9d2b1822d9 Fix for #819 : Attribute Routing: Resolve Name + Token Replacement 2015-04-22 11:47:23 -07:00
Chris Ross 25aed6f88e #274 Reorganize the strong header type extensions. Remove SendAsync extensions. 2015-04-22 11:43:12 -07:00
Henk Mollema 92554fa634 Utilize `nameof` operator 2015-04-22 10:57:50 -07:00
Chris Ross 7b7667e338 Fix DataProtection dependency. 2015-04-22 10:23:36 -07:00
ASP.NET Push Bot 514d9d7eef ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@71866b043e
2015-04-22 09:10:27 -07:00
Hao Kung 3e94336390 Remove hosting and logging dependencies 2015-04-21 17:02:16 -07:00
Chris Ross 6072e3b1b8 #221 Remove unneeded dependencies around DataProtection. 2015-04-21 16:21:50 -07:00
Henk Mollema 323ec2fdc7 Throw exception with unknown attributeName
Throw a meaningful exception if the attribute to copy does not exists
in the attributes of the TagHelperContext rather than:
`System.InvalidOperationException : Sequence contains no matching
element`.

Added test too.
2015-04-21 14:49:14 -07:00
Ajay Bhargav Baaskaran d4132d98fd Moved CommonTestEncoder to Testing repo 2015-04-21 13:32:02 -07:00
Chris Ross 870c430f8f Consume the checked in DeploymentHelpers. 2015-04-21 13:12:16 -07:00
Praburaj cedfd88254 Disabling openidconnect coreclr variation temporarily
OpenIdconnect fails on latest coreclr. Until this is fixed disabling the coreclr variation.
https://github.com/aspnet/Security/issues/223
2015-04-21 12:48:46 -07:00
Praburaj 1248c7a76b Assigning application pool runtime version to 4.0.30319 explicitly
I'm noticing that leaving it to an empty value defaults to 4.0 runtime on Win8.1 and above. But on downlevel OSes this defaults to v2.0 app pool resulting in errors.

Always assigning the app pool version explicitly.
2015-04-21 11:41:57 -07:00
Chris Ross 65e57d28f3 Add PathString+string operator to prevent too much string<->PathString implicit conversion. 2015-04-21 11:08:54 -07:00
Kiran Challa 162c4709c1 Refactor attribute route 2015-04-21 11:02:05 -07:00
Chris Ross 86bd393d3d Add string+PathString operator to prevent too much string<->PathString implicit conversion. 2015-04-21 10:23:22 -07:00
Kiran Challa d270525fde Create a logging scope having request id 2015-04-21 08:52:01 -07:00
Chris Ross 5fac18b418 HttpAbstractions#265 - Remove IApplicationBuilder.Server setter. 2015-04-21 08:20:13 -07:00
Suhas Joshi b775e90b5b Use configure from cookies repo 2015-04-20 17:29:46 -07:00
Praburaj 1a4dc9488a Trying to redirect the stdinput as well to see if this succeeds on CI 2015-04-20 16:48:37 -07:00
Praburaj f92b1f36e1 Redirecting output for all process starts to see correlation in logs. 2015-04-20 16:19:56 -07:00
Praburaj f3a4cf0ea7 Fixing the CreateNoWindow=false issue on selfhost
When CreateNoWindow is set to false, I see the selfhost process exiting immediately after start due to https://github.com/aspnet/Hosting/issues/140.

To fix this I'm manually redirecting the stderror and stdoutput streams so test runs will have necessary logs.
2015-04-20 16:00:47 -07:00
Chris Ross 7d6349c81d Fix samples. 2015-04-20 15:59:31 -07:00
Hao Kung 7bc6cab72e Fix samples 2015-04-20 15:26:22 -07:00
Chris Ross 99f3aa197f #118 - Use common cookie header formatters. 2015-04-20 15:16:29 -07:00
sornaks 064c01cf2b #2267 - Moving responsibility for setting ModelState.MaxAllowedErrors into a more appropriate location. 2015-04-20 14:31:04 -07:00
ASP.NET Push Bot e9dbf24790 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: AspNet/kvm@9c54d02bea
2015-04-20 14:12:43 -07:00
Praburaj 78e9ef2782 Add more logging while starting dnx.exe or dnu.cmd 2015-04-20 13:51:00 -07:00
Ryan Nowak 8bae02928d Fix build break 2015-04-20 12:44:30 -07:00
Chris Ross 0737ea392f Add NotNull to Predicate setter. 2015-04-20 11:41:43 -07:00
Praburaj 0e9f876d4e Removing timeout for dnu publish
Sometimes on slower machines that it takes more than this time especially when -no-source is turned on.
2015-04-20 11:11:00 -07:00
Chris Ross 4030be585d #265 Add implicit converters between string and PathString. 2015-04-20 10:54:33 -07:00
Praburaj 0ab04fd319 Setting exit code in exception message. 2015-04-20 10:25:53 -07:00
Praburaj df6f59a1d1 Logging the dnx and dnu paths while running selfhost or dnu publish. 2015-04-20 10:17:18 -07:00
Eilon Lipton dedf923f09 Merge pull request #2399 from henkmollema/fix-1764
Removed clear-text password from sample
2015-04-20 09:25:07 -07:00
Matt Ellis d386e78ee6 Use $HOME as a possible storage location
If LOCALAPPDATA and USERPROFILE are both null (as is the case on
Linux/OSX) use "$HOME/.aspnet" as the root folder for data protection
keys

Fixes #76
2015-04-19 21:52:35 -07:00
Praburaj 0929aa23df Enclosing a bunch of test only code within #if TESTING 2015-04-18 18:03:17 -07:00
Praburaj 5b4aed8dcc Fixing the configoverride.json location 2015-04-17 21:59:12 -07:00
Praburaj cd878d57c1 Removing some terms to clear the policheck. 2015-04-17 18:41:19 -07:00
Ryan Nowak 2719111453 Add more details to ModelAttributes
This change adds more information to ModelAttributes, so that metadata
providers can look at the attributes on the property and type separately
if so desired
2015-04-17 17:35:20 -07:00
Praburaj c384fcc3c2 Deployment helpers moved to hosting repo. 2015-04-17 14:51:58 -07:00
Praburaj fc96d4d3a5 Server deployment helpers in testing repo. 2015-04-17 14:46:43 -07:00