Commit Graph

44788 Commits

Author SHA1 Message Date
Kiran Challa a2feeab545 Changed the form tag helpers execution order to be more explicit.
[Fixes #4824] Fix Travis failure for test Microsoft.AspNetCore.Mvc.FunctionalTests.TagHelpersTest.ReregisteringAntiforgeryTokenInsideFormTagHelper_DoesNotAddDuplicateAntiforgeryTokenFields
2016-06-10 11:27:48 -07:00
Pranav Krishnamoorthy 55e9adf84d Generate portable pdbs in coreclr 2016-06-09 17:12:24 -07:00
Barry Dorrans 38e89d498d Doc Comments 2016-06-09 16:15:09 -07:00
N. Taylor Mullen ccba161447 Move `FileSystem` dependency from Razor to Razor.Runtime. 2016-06-09 15:58:55 -07:00
Cesar Blum Silveira 0f79bff98b Prevent NullReferenceException when disposing Context.Scope (#782). 2016-06-09 15:58:31 -07:00
Pavel Krymets b8b0d3894c Try disabling running tests in parallel to fix DataProtectionProviderTests.System_UsesProvidedDirectoryAndCertificate failures 2016-06-09 15:54:43 -07:00
N. Taylor Mullen 6e4f15bad4 Remove unused/unpurposeful classes.
- Several classes are legacy and left over from many changes in the Razor code base. This changeset removes those classes.
- Also moved several corresponding test cases

#778
2016-06-09 15:51:43 -07:00
Ryan Brandenburg 5339a3e0ce Add ExceptionHandled to ExceptionContext (#4825) 2016-06-09 15:22:11 -07:00
Pranav K 8c8fd6446b Use regular PDBs on full desktop when possible
Add a test to verify exceptions thrown from views is pretty printed by diagnostics middleware

Fixes https://github.com/aspnet/Diagnostics/issues/293
Fixes #4737
2016-06-09 14:59:38 -07:00
Ryan Nowak a8142b8858 Fix #4614 - update IModelBinder docs 2016-06-09 14:21:07 -07:00
Pavel Krymets b2c7469f17 Fix Collection was modified exception in test 2016-06-09 12:44:28 -07:00
Kiran Challa f1982bd987 Suppress default status code response type in api descriptions when explicit response types have been provided
[Fixes #4823] How to override the default (200) status code with ProducesResponseType
2016-06-09 12:07:52 -07:00
Doug Bunting 62803d5979 Serialize JSON using camel case by default
- #4283
- update `JsonSerializerSettingsProvider` to choose the `CamelCaseNamingStrategy`
2016-06-09 11:58:23 -07:00
Ryan Nowak 31ec88526a Fix #4801 Rename ValidationExcludeFilter
'ValidationExcludeFilter' -> 'SuppressChildValidationMetadataProvider'

Also moved to .ModelBinding for improved discoverability. There aren't
many reasons user code would have a using for .Validation.
2016-06-09 10:51:31 -07:00
Ryan Nowak baf0b6a5c7 Fix #4803 - Move some types internal
Moves IControllerArgumentBinder and IControllerPropertyActivator into
.Internal. Also renames ControllerArgumentBinder ->
DefaultControllerArgumentBinder for consistency with other controller
extensibility types.

We don't think these are 100% baked for our long term maintenance of the
product, and want to reserve the ability to make changes in the future.
2016-06-09 09:36:15 -07:00
jacalvar 22232bc1bf Fix incorrect import 2016-06-09 01:14:08 -07:00
jacalvar eb726021df Remove unncessary usings 2016-06-09 00:56:43 -07:00
jacalvar 5cf300db6c Remove unncessary usings 2016-06-09 00:54:14 -07:00
jacalvar e2fd776e5b Remove unncessary usings 2016-06-09 00:49:43 -07:00
jacalvar e1495f5f32 Remove unncessary usings 2016-06-09 00:48:37 -07:00
jacalvar c74a210386 Remove unncessary usings 2016-06-09 00:43:45 -07:00
jacalvar 0c2189e473 Remove unncessary imports 2016-06-09 00:35:44 -07:00
Stephen Halter b4632c273e Handle exceptions thrown from Connection.Start in ListenerSecondary
- This is already done for primary listeners
2016-06-08 17:17:49 -07:00
Pranav K ad9e22d42a Update to preview2 2016-06-08 16:52:27 -07:00
jacalvar 68c06c61e7 Remove unncessary imports 2016-06-08 15:19:18 -07:00
jacalvar 855d5381b1 Remove unncessary imports 2016-06-08 15:09:06 -07:00
jacalvar 8dbdc0294f Remove unncessary imports 2016-06-08 15:07:48 -07:00
jacalvar 4d77dce803 Remove unncessary imports 2016-06-08 15:07:03 -07:00
jacalvar b1af033529 Remove unncessary imports 2016-06-08 15:04:56 -07:00
jacalvar a877ec1783 Remove unncessary imports 2016-06-08 15:04:06 -07:00
jacalvar cdb16d656c Remove unncessary imports 2016-06-08 15:00:57 -07:00
jacalvar 525b9251df Remove unnecesary imports 2016-06-08 14:58:21 -07:00
BrennanConroy 32cade2542 Remove PlatformAbstractions 2016-06-08 14:40:20 -07:00
jacalvar 15454ae254 Remove unncessary imports 2016-06-08 13:02:26 -07:00
jacalvar dc1c9412ab Remove unncessary imports 2016-06-08 13:00:29 -07:00
jacalvar 3e8990530c Remove unncessary imports 2016-06-08 12:49:34 -07:00
jacalvar d8c1ac7c06 Remove unncessary imports 2016-06-08 12:47:43 -07:00
Doug Bunting aecfe778ee Improve handling of custom `ValidationAttribute`s and their `ValidationResult`s
- #3595 sub-items 2 through 4
- handle an indexer name in `ValidationResult.MemberNames`
 - aligns `ModelNames.CreatePropertyModelName()` with `TemplateInfo.GetFullHtmlFieldName()`
- handle multiple elements in `ValidationResult.MemberNames`
 - later elements previously ignored
- set `ValidationContext.MemberName` to `null` when no property name is available
 - using type name for a member name was just wrong
2016-06-08 12:05:01 -07:00
John Luo db4b0af98b Read environment variables by default #784 2016-06-08 10:42:00 -07:00
Doug Bunting 14f68b6168 Merge pull request #4623 from tuespetre/conneg
Alter content negotiation algorithm
2016-06-08 09:58:36 -07:00
SteveSandersonMS 44c8b9985b Add language type annotations and fix links in NodeServices readme 2016-06-08 16:59:02 +01:00
SteveSandersonMS f0ec89bbd9 Add NodeServices docs 2016-06-08 16:53:21 +01:00
Pranav K bfa281e24e Use aspnetexternal feed instead of CI share 2016-06-07 17:14:02 -07:00
Stephen Halter c1dadbd723 Make Bad Request tests more reliable
- Avoid calling write again after the request is already rejected
- Don't try to close a socket from the client if we already expect the server
  to forcefully close the socket
2016-06-07 16:13:29 -07:00
Derek Gray 5a3875ea72 Alter content negotiation algorithm so that it can be configured (via
MvcOptions) to always respect an explicit Accept header. Fixes #4612.
2016-06-07 16:12:36 -05:00
BrennanConroy e41b455141 Update 2016-06-07 11:35:40 -07:00
BrennanConroy 7808a47ccc Use Sources RuntimeEnvironment 2016-06-07 10:01:27 -07:00
SteveSandersonMS 7af64a8944 Tidy up image resizing example 2016-06-07 17:46:42 +01:00
SteveSandersonMS e58a4e4015 Tidy up image credits 2016-06-07 17:16:27 +01:00
SteveSandersonMS b19d0dff92 Support streamed response from SocketNodeInstance 2016-06-07 17:16:01 +01:00