Commit Graph

44788 Commits

Author SHA1 Message Date
Victor Hurdugaci 4a8e089f79 Update the build scripts 2016-02-27 12:51:11 -08:00
Victor Hurdugaci 6deb1fb3cd Update the build scripts 2016-02-27 12:51:10 -08:00
Victor Hurdugaci c6e3cf30d3 Update the build scripts 2016-02-27 12:51:10 -08:00
Victor Hurdugaci 3cfae9267e Update the build scripts 2016-02-27 12:51:09 -08:00
Victor Hurdugaci 99e7d5e56e Update the build scripts 2016-02-27 12:51:09 -08:00
Victor Hurdugaci 2e84cc5aac Update the build scripts 2016-02-27 12:51:06 -08:00
Ben Adams dab1a1fa8d bug dodge: Invalid Program Excep on Clr 2016-02-27 13:23:54 +00:00
Ben Adams 766803c573 Return 400 for bad requests and close conn 2016-02-27 12:35:12 +00:00
Doug Bunting f889965929 Simplify `IsAssignableFrom()` use
- standardize on the `Type` extension method; less verbiage
- `ModelMetadata` had a redundant `IsAssignableFrom()` call
- `ModelBindingHelper.ValidateBindingContext()` over-engineered and used just once
 - do useful bit inline in `KeyValuePairModelBinder` but now a silent "does not apply" case
2016-02-26 21:30:00 -08:00
Shahriar Gholami 1e5b0b9bec Allow to define section or/and body without the need to render it 2016-02-26 18:02:19 -08:00
John Luo 82d3269b45 Fixed how processes are killed on Linux 2016-02-26 17:53:52 -08:00
John Luo 8cdc6da20b Fix how processes are killed on Linux 2016-02-26 16:46:09 -08:00
John Luo 3f6bc6d750 Remove mac limit for open files 2016-02-26 16:42:14 -08:00
jacalvar aa8fd48c64 Updated antiforgery ServiceCollectionExtensions 2016-02-26 16:13:10 -08:00
Doug Bunting 49ffeb16d2 Test fix: Change `CollectionModelBinderTest` to update `ModelMetadata.IsReadOnly`
- unrelated to #3482 except that I discovered the issue while investigating that issue
- tests previously set `BindingDetails.IsReadOnly` for a `Type` and that was ignored
 - same for `DictionaryModelBinderTest`
2016-02-26 15:58:09 -08:00
Ben Adams 48d3c63f70 TestHelper classes for shared types 2016-02-26 23:48:52 +00:00
Ben Adams 4bfcd7ba1f Drain chunked extensions + refactor 2016-02-26 23:48:51 +00:00
Ben Adams 331d4a87ac Move chunked request tests 2016-02-26 23:48:51 +00:00
Ben Adams e0f7bb06dd Parse chunked trailing headers 2016-02-26 23:48:50 +00:00
Ben Adams 8d8176f14a Consume chunked request fully 2016-02-26 23:48:49 +00:00
mnltejaswini 41e3acf0fa [Perf] Avoid Linq method and save its related allocations in TreeRouter 2016-02-26 15:23:10 -08:00
Cesar Blum Silveira f21cb128e8 Handle 0-byte reads correctly (#520). 2016-02-26 15:21:11 -08:00
Pranav K 385c21fbe2 Add Microsoft.AspNetCore.Mvc.Dnx to allow using Mvc with DNX 2016-02-26 15:14:32 -08:00
Stephen Halter 4bcc44faed Merge branch 'benaadams/build-issues' into dev 2016-02-26 12:18:15 -08:00
Ben Adams e579745f93 System.Net.Http references 2016-02-26 12:17:59 -08:00
BrennanConroy c2d889f35e Pin to current latest CLI 2016-02-26 11:59:43 -08:00
ryanbrandenburg 00bab92257 * Linux FS is case sensitive 2016-02-26 11:59:23 -08:00
Hao Kung 472c6f8734 Make ThrowIfDisposed protected 2016-02-26 11:45:58 -08:00
John Luo 06cfdcaf23 Removing duplicated extension for creating enumerable configuration 2016-02-25 17:38:11 -08:00
Ajay Bhargav Baaskaran 32c75fc78e [Fixes #698] Removed unnecessary Debug.Assert in TagHelperBlockRewriter 2016-02-25 16:16:20 -08:00
John Luo 0d737d5eb8 Append .exe to executable when deploying published CLR applications 2016-02-25 16:12:25 -08:00
John Luo 9b214971f6 Update the self host deployer message so published application command is accurate 2016-02-25 15:54:11 -08:00
Kiran Challa 5106376cbb Remove the 'exe' extension to enable tests to run on non-Windows platforms 2016-02-25 12:59:30 -08:00
Pranav K f39a8f6ad6 Add PlatformAbstractions to repositories to build 2016-02-25 12:13:46 -08:00
Pranav K eb3c513caa Don't run functional tests in parallel 2016-02-25 10:54:28 -08:00
Ajay Bhargav Baaskaran b8e77e91d1 Updating samples to work with latest dotnet 2016-02-25 10:46:15 -08:00
BrennanConroy 09ad082913 No dnu 2016-02-25 10:13:21 -08:00
Doug Bunting af97bcd8e2 Do not attempt to use localDb except on Windows
- #251

nit: add `--quiet` to Travis configuration so that log can be displayed in browser
2016-02-25 09:58:24 -08:00
Pranav K 756953fd50 Use the entry assembly when DependencyContext is null
Fixes #4136
2016-02-25 06:23:06 -08:00
Doug Bunting 37055517ee Correct test attributes
- #654
- `[IPv6SupportedCondition]` requires `[ConditionalFact]` or `[ConditionalTheory]`
2016-02-24 22:35:20 -08:00
mnltejaswini 1c9a54aeb8 [Perf] Reduce allocations in Link generation code paths 2016-02-24 17:25:32 -08:00
John Luo bb4a04b3a3 Fix samples used by tests 2016-02-24 16:12:32 -08:00
Ryan Nowak 4629148519 [Design] Add antiforgery middleware
This new middleware participates in authentication and acts as a filter
when the request doesn't include a valid CSRF token for a POST.

Any authentication middleware that you want to validate an antiforgery
token should go ahead of this middleware in the pipeline (Cookies,
IISIntegration). This also takes care of automatic auth (Windows) done by
weblistener.

Any authentication middleware that you want to ignore antiforgery should
go after this middleware in the pipeline.

To facilitate this, there are a few changes in the antiforgery API
surface. Namely we can now pass in a principal to validate tokens. You
can't pass in a principal to generate tokens - we expect you to be logged
in at that poing. Also, ValidateRequestAsync(...) now checks the HTTP verb
and won't validate GETs and such.
2016-02-24 15:04:09 -08:00
Doug Bunting 7ebbbce052 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:13:31 -08:00
Doug Bunting c035f3b029 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:12:43 -08:00
Doug Bunting 4d0d9a8d8c Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:10:12 -08:00
Doug Bunting b3bc995d31 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:05:45 -08:00
Doug Bunting d0caad8631 Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:04:58 -08:00
Doug Bunting a9ac505088 Use Mono 4.0.5
- Mono beta is now 4.2.1 which doesn't work reliably with `nuget.exe`
  - see also aspnet/External#48
2016-02-24 13:04:07 -08:00
Doug Bunting a80a63271f Update `build.cmd` to match latest template
- aspnet/Universe#347
- `%KOREBUILD_VERSION%` doesn't work without this fix
2016-02-24 13:01:39 -08:00