Commit Graph

43822 Commits

Author SHA1 Message Date
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
SteveSandersonMS 967edd2b2a Support streamed response from HttpNodeInstance 2016-06-07 16:49:40 +01:00
Ryan Nowak 2e2784aa3d [Design] Split up MvcRouteHandler
This change splits up the conventional routing path from the attribute
routing path *inside* routing, instead of inside `MvcRouteHandler`. Each
attribute route group now gets its own instance of
`MvcAttributeRouteHandler` which just knows about the actions it can
reach.

This removes the concept of a route-group-token and removes the lookup
table entirely for attribute routing. This also means that the
`DefaultHandler` on `IRouteBuilder` will not be used for attribute routes,
which we are OK with for 1.0.0.

The action selector's functionality is now split into two methods. We
think this is OK for 1.0.0 because any customization of `IActionSelector`
up to now had to implement virtually the same policy as ours in order to
work with attribute routing. It should now be possible to customize the
selector in a meaningful way without interfering with attribute routing.
2016-06-07 08:12:47 -07:00
SteveSandersonMS 3440aa4344 Switch image resizing example from 'jimp' to 'sharp' because it's far faster 2016-06-07 16:06:15 +01:00
SteveSandersonMS 3e82d94f1c Add image resizing example. Currently used base64 encoded data transfer and the 'jimp' module, neither of which are fast. Will replace these shortly. 2016-06-07 15:55:06 +01:00
Pranav K 57b8e1cae8 Revert "React to Hosting TFM change"
This reverts commit 96d37a04e6.
2016-06-07 06:39:57 -07:00
SteveSandersonMS 8dbd143857 Move ES2015 example into a subpage of the NodeServicesExamples sample 2016-06-07 14:31:23 +01:00
SteveSandersonMS facc2c6d08 Rename ES2015Transpilation sample to NodeServicesExamples (because will be adding some more examples here) 2016-06-07 14:20:43 +01:00
SteveSandersonMS c8859abeb7 Fix #110 - enable asynchronous mode for Stream transport on Windows 2016-06-07 11:36:38 +01:00
jacalvar 3160b78f98 Update to Json.NET 9.0.1-beta1 2016-06-06 23:24:03 -07:00
jacalvar 2cf172c66e Update to Json.NET 9.0.1-beta1 2016-06-06 23:18:24 -07:00
jacalvar 62748b9471 Update Json.NET to 9.0.1-beta1 2016-06-06 21:49:39 -07:00
Mukul Sabharwal badbc7c8f7 Downtarget Kestrel to NETStandard 1.3 2016-06-06 21:37:44 -07:00
jacalvar 933b374f3e Update Json.NET to 9.0.1-beta1 2016-06-06 21:26:53 -07:00
jacalvar b6ceac559a Update Json.NET to 9.0.1-beta1 2016-06-06 21:25:52 -07:00
Cesar Blum Silveira a2a084fd16 Don't install nginx twice on OSX Travis build. 2016-06-06 21:22:56 -07:00
Pranav K 5b605f511e Add a reference to Microsoft.Extensions.PlatformAbstractions to fix build break 2016-06-06 17:43:59 -07:00