Commit Graph

43822 Commits

Author SHA1 Message Date
John Luo c77f7b7c77 Add Microsoft.AspNetCore to Microsoft.AspNetCore.All
This metapackage now contains the static WebHost API
2017-04-24 16:47:18 -07:00
Andrew Stanton-Nurse a4e54822b1 remove integration test logging (#782)
now that logging.testing has it
2017-04-24 16:04:42 -07:00
Andrew Stanton-Nurse 463612d3a6 remove integration test logging (#76)
now that logging.testing has it
2017-04-24 16:04:36 -07:00
Pranav K ccdaa5a729 Make /Pages the default root for pages.
Fixes #6184
2017-04-24 15:46:32 -07:00
John Luo 280a849060 Move the target files to the correct location in .nupkg 2017-04-24 15:41:28 -07:00
John Luo d2816d14ab Make WebHost internal
To avoid conflict with WebHost defined in Microsoft.AspNetCore in MetaPackages
2017-04-24 14:46:35 -07:00
Andrew Stanton-Nurse e4b78ab958 Remove Microsoft.Extensions.PlatformAbstractions 2017-04-24 14:41:11 -07:00
John Luo 0f28da1234 Use correct version of M.A.Diagnostics.Identity.Service 2017-04-24 14:31:07 -07:00
Ryan Nowak 04fd762943 Rename form-action -> handler 2017-04-24 14:15:35 -07:00
John Luo c6fcd743db Add more package to package cache. 2017-04-24 12:58:57 -07:00
John Luo 3a4a3ca291 WebHost static API updates
- Specify ApplicationName when wrapping RequestDelegate or RouteBuilder
- Add debug logger by default
2017-04-24 12:56:20 -07:00
Andrew Stanton-Nurse 1018a20c61 more logging (#417) 2017-04-24 12:38:39 -07:00
David Fowler a98581670e Schedule connection adapter reads on configured thread pool (#1741)
* Schedule connection adapter reads on configured thread pool
- This should speed up connection adapters as we don't block
new reads. It *might* also help some of the test flakiness
2017-04-24 12:19:22 -07:00
David Fowler 7e5604b2f5 Remove async from OnRead (#1746)
- Remove async from fast path.
- Added ApplyBackpressureAsync that pauses and resumes reading
2017-04-24 11:58:52 -07:00
Hao Kung 3085f016e4 Fix GetToken() 2017-04-24 11:58:12 -07:00
Pavel Krymets df9e48b1f0 Add cancellation support for write async (#1736) 2017-04-24 11:58:08 -07:00
Ajay Bhargav Baaskaran c959795a64 Creating one IAuthenticatedEncryptor per IKey 2017-04-24 10:46:33 -07:00
Nate McMaster 1e61428f8e Lift packages to target .NET Core 2.0 2017-04-24 10:39:27 -07:00
Doug Bunting cacee2a837 Break fix: Undo part of 141b637
- affected test using a test factory for `HttpResponseStreamWriter`s
2017-04-23 21:48:42 -07:00
David Fowler 71d2abed06 More clean up of LibuvConnection (#1743)
* More clean up of LibuvConnection
- Use C# 7
- Use Buffer<T>.Pin to get access to the underlying
pointer instead of using TryGetPointer.
2017-04-23 20:45:03 -07:00
David Fowler db44f5b672 Clean up LibuvOutputConsumer (#1744)
* Clean up LibuvOutputConsumer
- Added UvShutdownReq.ShutdownAsync
- Added Debug.Assert in LibuvAwaitable since it should never race.
2017-04-23 20:22:49 -07:00
Doug Bunting 141b637d20 Bump `MemoryPoolHttpResponseStreamWriter` buffer size up to 16K `char`s
- #3516
- fix tests that relied on otherwise-unused `HttpResponseStreamWriter.DefaultBufferSize`
2017-04-23 16:15:58 -07:00
Kiran Challa 68866f8716 Added functional tests for JsonPatch 2017-04-23 09:09:08 -07:00
Kiran Challa 7d0770b0e4 Revert "Temporarily remove `dotnet run` argument separator"
This reverts commit 5f9fa5c009.
2017-04-23 08:32:58 -07:00
David Fowler 7a9de7cf6e React to Hosting changes 2017-04-22 11:06:40 -07:00
David Fowler 58cc0bc3f9 Fix the configuration key name for PreferHostingUrls (#1034) 2017-04-22 10:12:16 -07:00
David Fowler 5472763fc2 Added feature to control http body behavior (#821)
* Added feature to control http body behavior
- Added a flag to allow synchronous IO
2017-04-22 02:52:40 -07:00
David Fowler 650a3ccc26 Pass exception to Complete (#1739) 2017-04-21 23:31:59 -07:00
Ryan Nowak da5c304f5d Temporarily deativate API Check 2017-04-21 19:42:04 -07:00
Chris R b7ed993d9d Remove obsolete Azure ForwardedHeaders workaround. (#359) 2017-04-21 19:02:11 -07:00
Chris R 1ade06fd34 #190 Change RequireHeaderSymmetry default to false, improve consistency. (#226) 2017-04-21 19:01:37 -07:00
Pranav K ca017eced2 Add page to AnchorTagHelper and FormTagHelper
Fixes #6088
2017-04-21 18:12:54 -07:00
Pranav K f568d3c2bc Support finding "sibling" pages when using RedirecToPage
Fixes #6083
2017-04-21 18:12:52 -07:00
Pranav K fb12815786 Remove System.Reflection.Metadata 2017-04-21 18:10:45 -07:00
Ryan Nowak 297196baa0 Design updates to handler methods and binding
Implements #6091, #6072, #6090, #5927
2017-04-21 17:29:25 -07:00
Ryan Brandenburg 908b4c8d62 FormAction from QueryString 2017-04-21 15:04:37 -07:00
John Luo d9661ed70d Un-revert changes for static WebHost API
Keeping the same netstandard1.3 TFM so as to not break apps targeting net46.
2017-04-21 14:06:20 -07:00
Ajay Bhargav Baaskaran 52c4abee9b Fix build break 2017-04-21 13:38:39 -07:00
David Fowler a749939be4 Clean up libuv connection (#1726)
* Clean up libuv connection
- Cancel all pending flushes on the input writer before
disposing the stream handle.
- Complete the pipe before disposing the socket
- Added logging for connection pause/resume.
- Added test
2017-04-21 13:13:05 -07:00
David Fowler feb9d1281e Tweak libuv shutdown sequence (#1735)
* Tweak libuv shutdown sequence
- Increase timeouts for thread and listener shutdowns
- Remove post.Unreference call from AllowStopRude
2017-04-21 13:12:37 -07:00
Ajay Bhargav Baaskaran 8eac7c2d6c [Fixes #6117] Added RedirectToPage overloads to Controller 2017-04-21 12:19:35 -07:00
Kiran Challa 7dff704c34 Unskipped Nano server's standalone tests 2017-04-21 12:15:19 -07:00
Ajay Bhargav Baaskaran 4e2cd0c2d6 Finish writer implementation of the remaining IR nodes and added tests
- SetTagHelperPropertyIRNode
- ChecksumIRNode
- UsingStatementIRNode
- Preallocated attributes target extension
- HtmlAttributeIRNode and friends
- Design time directive helper target extension
- Removed renderers and rendering conventions
- Regenerated IR baselines
Issue - #846 and #1051
2017-04-21 11:46:34 -07:00
N. Taylor Mullen 83faaebdb6 Upgrade Roslyn dependency to 2.0.0.
- Added C# 7 unit and functional test to validate features work end-to-end.

#6149
2017-04-21 11:41:31 -07:00
N. Taylor Mullen 1696e2aebf Upgrade Razor's Roslyn dependency to 2.0.0.
- Added C# 7 test to validate questionable features work end-to-end.
- Had to add several explicit package references to let our VS specific packages work as expected.

#1046
2017-04-21 11:40:21 -07:00
David Fowler 383a13f1f9 Remove unused dependency (#1032) 2017-04-21 10:37:35 -07:00
Pranav K 6b96a38dc8 Revert "Set MvcRazorExcludeRefAssembliesFromPublish to false to fix build break temporarily"
This reverts commit 69e2fa82eb.
2017-04-21 09:37:20 -07:00
Ryan Brandenburg 9daa61084e Make DataStoreErrorLogger._log static 2017-04-21 09:26:04 -07:00
Nate McMaster 31635abf6b Resolve warnings about duplicate imports of Microsoft.Common.targets 2017-04-21 08:54:29 -07:00
Christopher Dresel 025870e8b9 Fix #6159 - Fix deep copy for ControllerModel and ActionModel 2017-04-21 07:41:14 -07:00