Commit Graph

21723 Commits

Author SHA1 Message Date
Pranav K 53be6220a9 Merge branch 'release' into dev 2015-12-11 12:22:36 -08:00
Pranav K 5a8f1281e8 Updating to release NuGet.config. 2015-12-11 12:22:33 -08:00
Pranav K 5e65a9fc59 Merge branch 'release' into dev 2015-12-11 12:22:26 -08:00
Pranav K cc6b4b28fa Updating to release NuGet.config. 2015-12-11 12:22:24 -08:00
Andrew Stanton-Nurse 012aa6f2a7 update env vars in DorkBuild 2015-12-11 11:23:18 -08:00
SteveSandersonMS bba388944d Extremely minor improvement to sample 2015-12-11 19:06:30 +00:00
Andrew Stanton-Nurse fd26be75f9 whoops, wrong order 2015-12-11 10:36:31 -08:00
Andrew Stanton-Nurse 646067a519 add dnx install back to DorkBuild 2015-12-11 10:20:53 -08:00
Andrew Stanton-Nurse 3b57c74921 fix #332 by using dnu packages add 2015-12-11 09:56:33 -08:00
Ryan Nowak 32bbd8516c Quick fix: Add routing feature on success 2015-12-11 08:36:46 -08:00
SteveSandersonMS a83e4d85e4 Show example of using traditional MVC controller+action routing alongside client-side routes 2015-12-11 16:36:18 +00:00
Ryan Nowak 36180ab6d0 Add IRouteHandler, RouteBase, and IRoutingFeature
Adds IRouterHandler, an abstraction for endpoints in the routing system
that can't chain (example: delegates). The idea is that some kinds of
routes aren't really friendly to chaining. If you don't support chaining,
then accept IRouteHandler and work with that rather than IRouter.

There's one implementation of IRouteHandler, RouteHandler. It implements
both IRouter and IRouteHandler.

Adds RouteBase as a base class for routes based on our template syntax and
defaults/constraints/data-tokens. Updated a lot of signatures to be
get/set virtual and mutable to facilitate or bigger variety of usage
scenarios.

Renamed TemplateRoute to just Route, now inherits from RouteBase.

Adds IRoutingFeature for middleware scenarios where you don't have access
to the route context.

Also adds some basic extension methods for accessing route values.
2015-12-10 17:55:03 -08:00
Pranav K 325a681d92 Reacting to Options changes 2015-12-10 16:56:22 -08:00
ryanbrandenburg e3fee2fd07 * Fix ErrorPage tabs. 2015-12-10 16:07:19 -08:00
Kiran Challa e6bf744d49 Increasing the HttpClient timeout to 5 seconds to fix test failures on Travis CI 2015-12-10 14:35:02 -08:00
Ben Adams 5665eba646 Pool WriteContexts additionally 2015-12-10 20:31:30 +00:00
Stephen Halter 3e42904096 Pool UvWriteReqs instead of SocketOutput.WriteContexts
- This allows all connections accepted by the same thread to share a pool
2015-12-10 20:31:30 +00:00
Ben Adams 992664e0dc Process cascaded work immediately
Without waiting for next libuv pass

Fix for potential regression in #363 due to bug fix.
2015-12-10 20:31:29 +00:00
Ben Adams 97d3340624 Resuse writes, initalize queues 2015-12-10 20:31:28 +00:00
SteveSandersonMS 8a0cbe789e Use cache priming in Music Store sample 2015-12-10 20:30:02 +00:00
SteveSandersonMS 7924a6527a Implement cache priming prototype 2015-12-10 20:27:15 +00:00
Stephen Halter f9d70e601c Set error before changing state in SocketInput.AbortAwaiting
- This fixes a tight race where awaiting code might continue but not see
  the ODE that moved SocketInput into the completed state.
2015-12-10 12:21:20 -08:00
Stephen Halter f42bb02f24 Merge branch 'benaadams/server-crash' into dev 2015-12-10 12:18:13 -08:00
Kiran Challa 573bdcc318 Updated Travis config to enable running on Mac and also fixed test 2015-12-10 11:27:38 -08:00
Brennan 41cd7bf45e Remove display name for Negotiate and Ntlm 2015-12-10 10:19:13 -08:00
Pavel Krymets df3ba7e427 Fix build 2015-12-10 09:37:19 -08:00
Ben Adams 9e8b07ecf8 Error concurrent reads gracefully 2015-12-10 16:25:06 +00:00
Henk Mollema 5c1f362c84 Target dotnet TFM's for class libraries
- Target `net451` and `dotnet5.4`
- Add SPA services project to solution (with .xproj)
- Add NuGet.config
- Update .gitignore
2015-12-10 16:38:29 +01:00
SteveSandersonMS 5ff3e9a051 Use proper filename extension 2015-12-10 15:02:51 +00:00
SteveSandersonMS c95b06d264 Add some notes 2015-12-10 14:56:15 +00:00
SteveSandersonMS bf6548de96 Use angular2-aspnet in Angular 2 Music Store sample 2015-12-10 14:24:38 +00:00
SteveSandersonMS 30281636d6 Beginning angular2-aspnet NPM package 2015-12-10 14:10:21 +00:00
Greg Beaty cda1663d1e Add missing imports 2015-12-10 01:52:01 -05:00
John Luo fd33475c05 Ignore null valued headers #429 2015-12-09 17:23:34 -08:00
Pranav K 8aa3fd6e9c Use TypeNameHelper for pretty printing names 2015-12-09 16:59:12 -08:00
Pranav K a83c556bb7 Remove compilation error support from Startup error page
Fixes #510
2015-12-09 16:58:36 -08:00
John Luo 3b42433f07 Handle null valued headers #158 2015-12-09 16:21:57 -08:00
Stephen Halter 3e2c090d7c Skip more tests on Mono to prevent hangs
- It seems like I missed some FrameworkSkipConditions when I merged these tests
2015-12-09 16:06:00 -08:00
Pavel Krymets 0cbd683825 nix does not have %LOCALAPPDATA%, use SpecialFolder.LocalApplicationData instead 2015-12-09 16:02:05 -08:00
Kiran Challa 562f65c9c8 Changed log level to Information 2015-12-09 15:36:48 -08:00
Stephen Halter ebf642457d Merge branch 'khellang/kestrel-server-tests' into dev 2015-12-09 15:27:51 -08:00
Chris R 0623f3b741 #555 Make SkipToNextMiddleware work on events. 2015-12-09 15:26:47 -08:00
Kristian Hellang 4cc070fe28 Added some KestrelServer tests 2015-12-10 00:00:38 +01:00
Greg Beaty f6bb28a71d Add handling of error response from node process 2015-12-09 16:40:04 -05:00
Greg Beaty 1e446b6797 Add exception stack to error response if available 2015-12-09 16:36:30 -05:00
Greg Beaty bc359a3a4b Replace express with native node calls 2015-12-09 16:18:00 -05:00
SteveSandersonMS 2261c9964e Preparing to move the ASP.NET MVC validation result client-side code into a separate NPM module 2015-12-09 18:25:09 +00:00
SteveSandersonMS 906a17ea3c Define ValidationErrorResult in SpaServices; use it in MusicStore 2015-12-09 17:30:35 +00:00
SteveSandersonMS 78efc77be4 Use MapSpaFallbackRoute in ReactServices and demo 2015-12-09 15:17:31 +00:00
SteveSandersonMS d4f04d211f Create a new shared package, Microsoft.AspNet.SpaServices, to hold MapSpaFallbackRoute (and other common infrastructure yet to be added) 2015-12-09 15:13:56 +00:00