Commit Graph

43822 Commits

Author SHA1 Message Date
Kiran Challa 3c7a2dc847 Revert "Temporarily skipping error page middleware test"
This reverts commit d916cfeadd.
2017-05-23 13:23:52 -07:00
Jass Bagga e681c23d5c Add ITagHelperComponentManager (#6302)
Addresses #6282
2017-05-23 13:22:15 -07:00
Kiran Challa 04f74edd85 Revert "Disable building and testing FSharpWebSite to unblock the mirror when using latest CLI"
This reverts commit b28002a9e5.
2017-05-23 13:20:36 -07:00
Chris R 421ac4bc97 React to StringSegment changes 2017-05-23 11:41:08 -07:00
Hao Kung e6f3ebf581 Refactor Identity into Core + Stores 2017-05-23 11:21:39 -07:00
Chris R 8f970d3d48 React to StringSegment header parsers 2017-05-23 11:06:30 -07:00
Pranav K 39f1f5c933 Move Pages filter creation to application model provider
Fixes #6198
2017-05-23 11:03:19 -07:00
Chris R 9c5870b1b4 React to StringSegment change 2017-05-23 10:59:32 -07:00
Chris R d0034864a0 React to StringSegment changes 2017-05-23 10:46:55 -07:00
Chris R 419ec53d07 React to StringSegment changes 2017-05-23 10:38:21 -07:00
Chris R 7ac6842d18 #1075 Suppress exceptions from failing to load HostingStartup assemblies 2017-05-23 10:36:57 -07:00
Nate McMaster e48eef8347 Add privateassets=all to NS.Library.NETFramework reference 2017-05-23 10:05:31 -07:00
Cesar Blum Silveira 4ab7a19dc2 Target netstandard2.0. 2017-05-23 10:00:29 -07:00
John Luo 769da5fd87 Add SameSitePolicy to CookiePolicyMiddleware 2017-05-23 09:55:11 -07:00
Steve Sanderson 918e7edbff Remove global.json files from templates for consistency with stock MVC template. 2017-05-23 17:05:42 +01:00
Steve Sanderson e1c90b3601 Change "dotnet new" config choices to reference netcoreapp2.0 (not that it makes a difference when it's the only choice) 2017-05-23 11:20:04 +01:00
Steve Sanderson b9e62cd4c9 Fix "dotnet new" postAction issues (and disable the "npm install" action) 2017-05-23 11:18:51 +01:00
David Fowler 9d9a52119e Progress towards splitting the layers (#473)
* Progress towards splitting the layers
- This is based on the work anurse did in anurse/endpoint-middleware-spike to
introduce a connection middleware pipeline that mimics much of our http
pipeline. The intent is that this layer will be generic enough to build both
SignalR and Kestrel on top of but we're not there yet. This change makes incremental
progress towards splitting apart sockets and http so that we can add the tcp transport
without breaking everything all at once.
- Created Microsoft.AspNetCore.Sockets.Abstractions where the primitives for
sockets live. That includes, ConnectionContext (formerly Connection), EndPoint,
ISocketBuilder, SocketDelegate, etc.
- ConnectionContext isn't in it's final form as yet, it still very closely mirrors
the original Connection object we had so that tests continue to pass.
- The HttpConnectionDispatcher doesn't know about EndPoint anymore, it just cares
about invoking the SocketDelegate.
- EndPointOptions has been removed as part of this change as it coupled http specific configuration
to the end point type. There's a new HttpSocketOptions that needs to be passed into MapSocket calls.
- Updated the tests to deal with the API changes.
2017-05-23 02:43:32 -07:00
Steve Sanderson ad9cfbb176 Make quotes consistent 2017-05-23 10:08:41 +01:00
Steve Sanderson 941ae9a34d Add postActions to "dotnet new" templates 2017-05-23 10:06:35 +01:00
Ryan Nowak 083f55e337 Delete pranav's test logs :) 2017-05-22 17:38:27 -07:00
John Luo b8f87eaee3 React to cookies changes 2017-05-22 17:05:16 -07:00
Jass Bagga c2262b7234 Update TFM to netstandard2.0 (#112) 2017-05-22 16:42:46 -07:00
John Luo 68d1d4ce12 Remove TestProjectHelpers from Server.IntegrationTesting 2017-05-22 15:55:24 -07:00
John Luo 9687be6c71 React to IDistributedCache interface change 2017-05-22 15:39:14 -07:00
John Luo a05ad22173 Target NETStandard2.0 2017-05-22 15:29:37 -07:00
Nate McMaster 8f3d04870f Target .NET Standard 2.0 2017-05-22 15:19:02 -07:00
BrennanConroy c8bf886e92 Fix tests not running as expected (#1080) 2017-05-22 15:16:35 -07:00
Chris R 2ce2d8b6c5 #758 Convert the header parsers to use StringSegment 2017-05-22 15:14:02 -07:00
Hao Kung e594854cd2 Add normalize back 2017-05-22 15:09:51 -07:00
John Luo d6a653145d Target NETStandard 2.0 2017-05-22 15:05:12 -07:00
Chris R df36d02311 Retarget to netstandard2.0 2017-05-22 14:57:28 -07:00
John Luo e8123db21e Add SameSite attribute to SetCookie header 2017-05-22 14:42:05 -07:00
Hao Kung 6c13465dc2 React to identity changes 2017-05-22 13:52:59 -07:00
Pranav K c5f771d96d Use factory pattern for caching in ControllerActionInvoker 2017-05-22 13:05:55 -07:00
Cesar Blum Silveira 197eb43d8a Read request body concurrent to app execution. 2017-05-22 12:23:02 -07:00
Ajay Bhargav Baaskaran 1efcdafa45 Removed ExecuteTagHelpersIRNode 2017-05-22 11:03:34 -07:00
John Luo 8b506cf36c Cross-compile Response Compression
- GZipStream is not flushable on .NET Framework
2017-05-22 10:31:55 -07:00
Chris R 2a4a7dd26a Make samples work. Fix AddOAuthAuthentication extension. (#1226) 2017-05-22 10:01:44 -07:00
David Fowler e68a1b294f Fix long polling graceful shutdown (#476)
- If a message was sent and the application was ended in the same
poll request, the connection would be closed by the time the next poll
came in which resulted in a 404. This change waits until the transport writes
all data before closing it.
- Also fixed a test so that the exception started to show client side.

#469
2017-05-22 09:07:26 -07:00
Ryan Brandenburg 3645ae6cf2 Generate Documentation files 2017-05-22 10:54:25 +01:00
David Fowler 323dae4ce9 Handle case where scanning happens after dispose. (#475)
- ConnectionManager.Scan would null ref because the timer.Change was being called
after closing all connections.
2017-05-21 23:19:17 -07:00
David Fowler 87c4da41e8 Disabling hosting startup
- VS injects a bad version of AppInsights because it doesn't
check the shared framework version in use. Since we constantly
are on the bleeding edge, we get out of sync frequently. This
change disables them from running.
2017-05-21 16:46:47 -07:00
Nate McMaster 390582dcf1 Target .NET Standard 2.0 (#1849) 2017-05-20 10:37:35 -07:00
David Fowler 2aabce48b4 Remove custom routing and path matching from HttpConnectionDispatcher (#471)
- We're now using the routing system in a very vanilla way now that
we're not using the URL space as part of the protocol.
- Removed the path argument from the HttpConnectionDispatcher (simplifies code and removes duplication from tests)
2017-05-20 00:34:29 -07:00
David Fowler 240a88f7af Make the http end points more resty (#470)
- Use HTTP verbs to describe functionality for endpoints
- Updated TransportProtocols.md
2017-05-19 23:37:17 -07:00
Ajay Bhargav Baaskaran 565b94e3af Target .NET Standard 2.0 2017-05-19 17:08:21 -07:00
BrennanConroy b6f558d60b Fix flaxy test (#1079) 2017-05-19 16:40:41 -07:00
BrennanConroy c7bac3133f Chain hosting timeout to StopAsync cancellation token (#1078) 2017-05-19 16:32:45 -07:00
John Luo d826688ebf React to dotnet store cli arguments update 2017-05-19 16:20:35 -07:00