Commit Graph

44788 Commits

Author SHA1 Message Date
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
Kiran Challa 808ee7e965 Fixed SelfHostDeployer and IISExpressDeployer to use the correct application path 2016-06-06 16:32:51 -07:00
Kiran Challa 772bd562c9 Fixed RemoteWindowsDeployer to support IIS scenarios 2016-06-06 16:32:51 -07:00
moozzyk 50e8948bb9 Fixing BadRequest tests to not try sending data after Bad Request 2016-06-06 15:27:45 -07:00
Chris R 33b69c14ed React to UriHelper.Encode rename. 2016-06-06 15:15:02 -07:00
Pranav K e1093651ba Target netstandard1.3 2016-06-06 13:48:16 -07:00
Chris R 3fc1fef2be #573 Rename UriHelper.Encode 2016-06-06 13:30:07 -07:00
Pranav K cb27e74fc9 Target netstandard1.3 2016-06-06 12:57:14 -07:00
Pranav K 2e29091722 Remove libuv-package from UniverseCoherence 2016-06-06 12:11:23 -07:00
moozzyk 69bd0dc4be Reject requests that have null characters in path 2016-06-06 09:59:42 -07:00
Ryan Nowak 78c130d226 Fix for #4666 - reduce modelbinders created
This change to ModelBinderFactory makes the caching much more aggressive,
by caching all non-root binders. There's some trickiness here around
making sure we have the right behavior when all providers return null. See
the tests and comments.

I also kept the change I made for a temporary workaround to use a
dictionary rather than a "stack" for cycle breaking.  This seems like an
overall improvement in clarity.
2016-06-06 09:01:51 -07:00
Kiran Challa 40f0bb1b45 Added IIS variation to Nano smoke tests 2016-06-06 04:03:22 -07:00
Pranav K 33a323894f Reacting to IdentityModel changes 2016-06-04 20:51:13 -07:00
Pranav K bffbfc7f9e React to OpenId renames 2016-06-04 18:53:09 -07:00
Cesar Blum Silveira 2bbaa52b08 Disable ThreadCountTests on Mac. 2016-06-03 19:57:28 -07:00
Pranav K 17a41597a6 Reacting to Hosting changes 2016-06-03 18:24:35 -07:00
Pranav K 96d37a04e6 React to Hosting TFM change 2016-06-03 17:12:43 -07:00
Pranav K d02f67785f Use Microsoft.Extensions.StackTrace.Sources 2016-06-03 16:44:57 -07:00
Pranav K b7c924b449 Use Microsoft.Extensions.StackTrace.Sources 2016-06-03 16:35:27 -07:00
Andrew Stanton-Nurse 09f5be1434 fix #909 by moving most classes to Internal ns 2016-06-03 14:14:21 -07:00
Kévin Chalet 120021e8a3 Add a new IncludeErrorDetails option to prevent the JWT middleware from returning error/error_description 2016-06-03 22:46:00 +02:00
Hao Kung c15cf49a73 React to AuthZ API change 2016-06-03 13:30:53 -07:00
Hao Kung 35d0592701 Make AuthorizationHandler<TReq> async only 2016-06-03 13:26:16 -07:00
jacalvar 2256138650 Update Json.NET to 9.0.1-beta1 2016-06-03 13:08:26 -07:00
jacalvar 0f1836c6dd Update Json.NET to 9.0.1-beta1 2016-06-03 13:08:19 -07:00
jacalvar 3f78743011 Update Json.NET to 9.0.1-beta1 2016-06-03 13:08:13 -07:00
jacalvar dd79d0b88c [Fixes #316] TreeRouter does not match a route with the correct length 2016-06-03 12:55:20 -07:00
Pavel Krymets 47d3ffdddc Add activator fallback to support rc1 keys 2016-06-03 12:27:17 -07:00
moozzyk ef74926463 Fixing a test failing on Mac and Linux 2016-06-03 12:21:48 -07:00
Victor Hurdugaci 599a41b380 Improve test stability by disposing correctly 2016-06-03 10:04:38 -07:00
Stephen Halter d14f18012a Avoid Null ReferenceException in Frame.RequestAbortedSource
- Avoid unneeded resetting of _abortedCts and _manuallySetRequestAbortToken
2016-06-02 16:55:19 -07:00
Stephen Halter 6bff2ecb34 Small cleanup to SocketOutput's shutdown logic 2016-06-02 16:54:00 -07:00
Stephen Halter 07744e75d9 Gracefully handle connection close in SocketOutput.ProducingComplete 2016-06-02 16:54:00 -07:00
Stephen Halter 2d229e8980 Allow a maximum of 3 concurrent uv_write operations per connection
- Keep logic to prevent unnecessary calls to KestrelThread.Post
- This partially reverts commit 480996433e.
2016-06-02 16:52:06 -07:00
moozzyk 0342754c57 Using the optimized method for converting header name to ASCII 2016-06-02 16:36:22 -07:00