Commit Graph

40898 Commits

Author SHA1 Message Date
John Luo 93079ea3a6 Updating to new CLI 2016-02-01 16:37:16 -08:00
N. Taylor Mullen 4418a5527d Up imports to net451. 2016-02-01 15:50:28 -08:00
N. Taylor Mullen ffa63cb71f Fix test projects. 2016-02-01 15:41:02 -08:00
John Luo 82ea86c9a2 Updating to new CLI 2016-02-01 15:28:32 -08:00
John Luo 20ed43fd68 Updating to new CLI 2016-02-01 15:02:26 -08:00
Cesar Blum Silveira 6757a31fd2 Build with dotnet (#571). 2016-02-01 14:37:47 -08:00
Ryan Nowak d1fdc22b9b Reduce allocations in FormContext 2016-02-01 14:27:20 -08:00
Hao Kung 6709b07dc5 Add identity services for ntlm test 2016-02-01 13:00:17 -08:00
Chris R dfac28da89 Fix warnings, enable warningsAsErrors 2016-02-01 12:33:38 -08:00
Ryan Nowak 1142c7dfc0 Be smarter about stringbuilder usage 2016-02-01 11:26:19 -08:00
ryanbrandenburg 6411fdcf29 * Add functional tests for samples 2016-02-01 11:12:27 -08:00
Eilon Lipton c648b35d4a Update repo list 2016-01-31 21:25:44 -08:00
Eilon Lipton 5672382d22 Name change ASP.NET 5 --> ASP.NET Core 2016-01-31 21:20:38 -08:00
Eilon Lipton 04c8135441 ASP.NET 5 --> Core 2016-01-31 21:10:21 -08:00
Doug Bunting 8189d852d1 Remove OSx+Mono skips related to aspnet/External#50
- CoreFx worked around the underlying issue
- add `PlatformNormalizer.NormalizeContent()` call in previously-disabled test
2016-01-30 22:51:48 -08:00
Doug Bunting 1eae41885a Merge branch 'dougbu/xplat.tests' into dev 2016-01-30 00:03:51 -08:00
Doug Bunting 9e4f4c76cc Revert "Remove dangling test workarounds for and mentions of closed bugs"
This reverts commit d26cc11e13.
2016-01-30 00:02:57 -08:00
Doug Bunting efd38a6dd1 Revert "Move aspnet/External#18 comments into `SkipReason`"
This reverts commit 5a0fb8551b.
2016-01-30 00:02:36 -08:00
Doug Bunting 61cb916063 Revert "See if a few skips are incorrectly associated w/ aspnet/External#18"
This reverts commit 6d3b5f1978.
2016-01-30 00:00:52 -08:00
Doug Bunting 0ca3fde526 Fix line endings in HTML helper tests for x-plat 2016-01-29 23:57:45 -08:00
Doug Bunting 6d3b5f1978 See if a few skips are incorrectly associated w/ aspnet/External#18 2016-01-29 22:05:12 -08:00
Doug Bunting 5a0fb8551b Move aspnet/External#18 comments into `SkipReason` 2016-01-29 22:05:12 -08:00
Doug Bunting d26cc11e13 Remove dangling test workarounds for and mentions of closed bugs
- not all aspnet/External#21 workarounds are needed
- no need to work around aspnet/Mvc#2727
2016-01-29 22:05:12 -08:00
Ryan Nowak faba95287e Fix for #3743 - CancellationToken validation
This is a fix for the specific case reported in #3743 and also a few
related cases where the object being validated does not come from user
input.

Because the CancellationToken is bound using the 'empty prefix',
suppressing validation causes the validation system to suppress ALL keys
in the MSD. This will wipe out validation info for other, unrelated model
data. The same can occur for [FromServices], IFormCollection, IFormFile,
and HttpRequestMessage (anythere when MSD key == null and
SuppressValidation == true).

The other change here is related to the [FromBody]. We don't want to
create an entry in the model state for a 'valid' model with the empty
prefix. This can cause the system to miss validation errors. If you end up
in a situation where there's an entry with the empty prefix for an invalid
state, you won't accidentally miss validation errors.
2016-01-29 18:12:19 -08:00
jacalvar 42f33668c0 Moved missing file from AspNetCore rename 2016-01-29 16:32:30 -08:00
David Fowler 94593de0c1 Print the application base path out
- This helps to show how the host is configured
2016-01-29 16:04:57 -08:00
Ajay Bhargav Baaskaran aeba565e53 Fixing ArgumentOutOfRangeException in ExpressionRewriter 2016-01-29 14:47:09 -08:00
Cesar Blum Silveira b404d5c3de React to StringTokenizer changes. 2016-01-29 13:42:36 -08:00
Brennan 765a52007a Use EscapeDataString for encoding Cookies 2016-01-29 12:58:36 -08:00
Doug Bunting 26a14a25ab Support overrides for client-side validation messages
- #2969
- `RemoteAttribute` did not support `IStringLocalizer` overrides
 - use same `MvcDataAnnotationsLocalizationOptions` property as for other `ValidationAttribute`s
- error message `NumericClientModelValidator` added could not be overridden
 - not related to `IStringLocalizer` because users have no way to set the resource lookup key
 - extend `IModelBindingMessageProvider` to add the necessary `Func<,>`
- also correct problem using resources with `RemoteAttribute` and add lots of tests
2016-01-29 11:23:57 -08:00
Ajay Bhargav Baaskaran d6843b5a9d Fixed bad xml documentation 2016-01-29 10:58:43 -08:00
Ajay Bhargav Baaskaran 47351aac7a Added caching for client model validators 2016-01-29 10:40:41 -08:00
N. Taylor Mullen c01d90900e Don't transitively depend on `Newtonsoft.Json`. 2016-01-29 10:23:15 -08:00
Pranav K b4099adefb Fixing build 2016-01-29 09:33:03 -08:00
Victor Hurdugaci f999ddf5dd Update README.md
Add the NuGet feeds wiki page
2016-01-29 08:58:44 -08:00
Cesar Blum Silveira 0556a2c291 Use dotnet 1.0.0.001244 on *nix. 2016-01-29 05:06:23 -08:00
Cesar Blum Silveira fdcbc0f2eb Handle --version in dotnet-install.sh. 2016-01-29 04:00:48 -08:00
Doug Bunting cb4d93ce74 Fix typo that broke `--no-restore`
- `NoRestore` was checked when registering `repo-initialize` target instead of when executing it
2016-02-10 10:54:39 -08:00
Doug Bunting 5444297795 Add `--no-restore` and apply `--quiet` to `dotnet restore`
- new `--no-restore` pseudo-target controls whether `dotnet restore` runs at all
- `--quiet` adds `--verbosity minimal` to `dotnet restore` command

nit: clean out dangling `KOREBUILD_TEST_DNXCORE` environment variable
 - `--test-dnxcore` now logs a warning
2016-02-09 15:05:32 -08:00
Pranav K ba7f46d3bc * Add a switch to specify a version to KoreBuild
* Use a fixed version of the CLI until build issues are resolved.
2016-02-09 11:44:11 -08:00
Kiran Challa de449ee249 Fix dotnet publish to only delete the specific framework bin folder 2016-02-08 10:36:09 -08:00
Brennan 3adcbd10f7 Move temp delete elsewhere 2016-02-05 10:40:28 -08:00
Ajay Bhargav Baaskaran a089369216 Updated Json.Net version 2016-02-04 16:43:55 -08:00
Brennan 564dae0a6a Fix cross gen issue 2016-02-04 16:29:50 -08:00
Andrew Stanton-Nurse 95be6b9a51 update dotnet-install script and use beta channel 2016-02-04 10:32:08 -08:00
Kiran Challa c0ed67e96f Enable running tests using dotnet xunit test runner 2016-02-04 10:10:49 -08:00
jacalvar 7cbb263edb [Fixes #3874] Null passed as arguments to controller method parameters when no InputFormatter matches
* Add an UnsupportedContentType to the ModelState dictionary when no formatter can read the body.
* Add a filter to the pipeline that searches for that specific exception and transforms the response into 415.
2016-01-28 15:46:17 -08:00
Cesar Blum Silveira 1209eca3fa Normalize request path to NFC and resolve dot segments (#273). 2016-01-28 15:29:29 -08:00
John Luo ae47bb21a6 Ordering sensitive configuration #582 2016-01-28 13:55:17 -08:00
N. Taylor Mullen 662e6e6dbe Fix build break 2016-01-28 13:50:21 -08:00