Commit Graph

39583 Commits

Author SHA1 Message Date
Ryan Nowak 27148c05f6 Update our Roslyn dependencies to 15.3 2017-04-24 18:59:06 -07:00
N. Taylor Mullen 5c8a161ace Change `FormTagHelper` to apply to all form tags.
- Added functional test to validate that non-attributed form tags have an antiforgery input generated. Re-generated baseline to reflect changes.
- Added a unit test to validate that parameterless `FormTagHelper`s behave as expected.

#6006
2017-04-24 18:39:01 -07:00
jhkimnew 2c5132251b Updated to support IISExpress and add new test cases for the additional environment variables (#93) 2017-04-24 18:17:33 -07:00
John Luo b1ef447ac3 Accidentally removed Antiforgery 2017-04-24 18:02:08 -07:00
Pavel Krymets e3e78bc461 Fix LibuvOutputConsumerTests (#1757)
* Fix LibuvOutputConsumerTests
2017-04-24 17:37:30 -07:00
David Fowler 9e80fb65bd Removed the wrote after disconnect log (#1747)
- It's not very useful
2017-04-24 17:34:56 -07:00
Stephen Halter f26c31c116 Fix scope id test failures on mac and linux (#1754) 2017-04-24 17:15:41 -07:00
Nate McMaster 39047638cc Add debug logging in address binding when IPv6Any fails 2017-04-24 17:14:43 -07:00
Nate McMaster 089ff49643 Put hostname address registration into separate test 2017-04-24 17:14:43 -07:00
John Luo 8d1ac47d9f Remove cyclic dependency on self 2017-04-24 17:11:43 -07:00
Stephen Halter c22f8f5c59 Fix potential race in LibuvThread.StopAsync (#1756) 2017-04-24 16:47:48 -07:00
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