Commit Graph

37701 Commits

Author SHA1 Message Date
Kiran Challa 69e2fa82eb Set MvcRazorExcludeRefAssembliesFromPublish to false to fix build break temporarily 2017-04-19 10:48:22 -07:00
Kiran Challa fa25533bb3 Removed global.json 2017-04-19 09:55:41 -07:00
John Luo 16eae43d38 Missed repository update 2017-04-18 17:39:27 -07:00
Stephen Halter e4ba1d01ce Ensure that KeepAliveTimeoutTests do not run with sync context (#1718)
- With Task.Delay(1).ConfigureAwait(false) there's a race where
  Task.IsCompleted could already be true by the time it's evaluated.
2017-04-18 17:20:59 -07:00
Kiran Challa d65e77e4f7 Updated dependency model version to 2.0.0-* 2017-04-18 16:55:39 -07:00
John Luo c202608f19 Platform specific path separator 2017-04-18 16:30:27 -07:00
Ryan Nowak a8eb5bee70 Implement view search for pages
The View Engine now needs to know about pages :(. This isn't ideal but the
view engine needs to know what set of search paths to use. This was
already hardcoded for controllers vs controllers + areas. It felt right to
further hardcode instead of introduce a wierd abstraction that we only
use.

Additionally pages use a view location expander to implement an ascending
directory search.
2017-04-18 16:11:24 -07:00
Mikael Mengistu 8c8f6c708b Server-Sent Events Transport + Parser (#401) 2017-04-18 16:08:48 -07:00
Kiran Challa 4319593e7f Updated dependency model version to 2.0.0-* 2017-04-18 15:42:27 -07:00
N. Taylor Mullen a4a194e273 Make ViewComponentTagHelper discovery resilient to null. 2017-04-18 14:33:44 -07:00
John Luo 2d15ba8917 Add manifests to .All MetaPackage 2017-04-18 12:48:07 -07:00
Andrew Stanton-Nurse 2d278009b2 clean up client sample (#392) 2017-04-18 12:41:23 -07:00
Kiran Challa d4d0e28f0e Updated ViewCompilation project to netcoreapp2.0 2017-04-18 12:14:59 -07:00
Andrew Stanton-Nurse d8b1724454 improve logging of Autobahn tests (#166) 2017-04-18 11:53:45 -07:00
moozzyk e691e1cff8 Removing legacy raw format for `send`
Fixes issues #383 and #127
2017-04-18 11:34:43 -07:00
Chris R 0ce85e2ea2 #263 Add Caching_SetTtlAndStatusCode_Cached test diagnostics 2017-04-18 09:41:30 -07:00
Pavel Krymets 88890595d1 Define a constant to workaround corefxlab classes asses modifier issue 2017-04-18 09:01:35 -07:00
Cesar Blum Silveira a0743650ef Don't use hardcoded ports in PreferHostingUrls tests (#1701). 2017-04-17 20:47:46 -07:00
Cesar Blum Silveira 801a7c7652 Add copyright header to TransportSocketOptions.cs. 2017-04-17 20:47:29 -07:00
John Luo 87c513b0d8 Add target to set default target manifest 2017-04-17 17:35:38 -07:00
Hao Kung d508c027ba Add GetToken overload to HttpContext as well 2017-04-17 16:41:22 -07:00
Ryan Brandenburg c56b64fc41 Add factory methods 2017-04-17 16:11:34 -07:00
David Fowler e4af3f7e35 Expose a UseTransportThread property on KestrelServerOptions (#1695)
- This property will force Kestrel to use whatever scheduler the transport
used when write and read callbacks are fired. The default value is false so
all calls to user code including connection adapters, and the application function,
and cancellation token callbacks.
- Transports may expose configuration that changes what the transport thread is.
- Removed InternalKestrelServerOptions.cs
- Added a configurable UseSockets overload (even though there are no options yet)
- Remove RequiresDispatch from the IConnectionInformation
2017-04-17 12:58:28 -07:00
David Fowler de6da7c757 Add ConfigureAwait(false) to test helpers (#1699)
* Add ConfigureAwait(false) to test helpers
2017-04-17 11:33:27 -07:00
BrennanConroy ce365799a6 Remove Microsoft.Extensions.Logging.Filter 2017-04-17 11:01:42 -07:00
Pranav K 8ed55107e7 Add support for page precompilation 2017-04-17 10:43:50 -07:00
David Fowler 85d883456b Remove Reset from IHttpParser (#1700)
* Remove Reset from IHttpParser
- The parser isn't stateful and doesn't need it
2017-04-17 00:37:40 -07:00
Smit Patel 775847a1fa Disable SqlServer specific tests on netcoreapp2.0 on win7/2008 2017-04-16 11:58:33 -07:00
David Fowler 31cc1e5018 Fix extra space 2017-04-16 09:25:28 -07:00
David Fowler 6a403d231e Clean up IThreadPool interface (#1696)
- Remove tcs completion methods
2017-04-15 19:04:44 -07:00
Kiran Challa c18724a275 Updated to use 0.4.0 version of IntegrationTesting package 2017-04-15 04:37:40 -07:00
John Luo 04c86c65b6 Nuget pack requires a version attribute
Even when you override with -Version on the command line.
2017-04-15 00:59:33 -07:00
David Fowler 0ac478858d Fixed benchmarks after refactoring
- Added MockTimeoutControl
2017-04-14 20:15:16 -07:00
David Fowler 051c251e53 Fixed flaky test
- Increase the interval to avoid chances of overlapping
2017-04-14 19:25:32 -07:00
Mike Harder e766a259ed Revert "Skip test `AssemblyPartTest.GetReferencePaths_ReturnsReferencesFromDependencyContext_IfPreserveCompilationContextIsSet`"
This reverts commit c69e48f06b.
2017-04-14 18:41:31 -07:00
Hao Kung 4b4b375909 Add GetToken overload using default scheme 2017-04-14 17:37:05 -07:00
Hao Kung ef9ff35370 Remove unneeded AuthenticateContext 2017-04-14 17:19:25 -07:00
N. Taylor Mullen 385e2523a9 Re-enable ViewComponentTagHelpers for tooling.
#1231
2017-04-14 17:11:26 -07:00
John Luo b19a46f3c2 Write complete version number 2017-04-14 17:06:33 -07:00
Pranav K 49628bca2e Use case invariant lookups for DependencyModel to workaround CLI version differences 2017-04-14 17:03:20 -07:00
Pranav K 8fa95d66d4 Add support for suppressing inbound and outbound routing 2017-04-14 17:02:45 -07:00
Kiran Challa fd7707e7d2 Upgraded IntegrationTesting package to 0.4.0 2017-04-14 16:38:21 -07:00
Stephen Halter 8cd58b042c Fix tests using Heartbeat 2017-04-14 16:26:27 -07:00
Stephen Halter 7aa7b3e0a9 Track connections until request processing completes
- Paves the way to allow request processing to continue during server shutdown
  even after a client disconnects.
2017-04-14 16:26:27 -07:00
N. Taylor Mullen 1d10293db5 Revert "Uncap version max for vsix manifest."
This reverts commit ee1fd61e64.
2017-04-14 16:19:03 -07:00
Nate McMaster c08c57f764 Reject HTTP/1.1 requests that do not have a correct Host header
Improves Kestrel to reject requests that don't conform to HTTP spec.

RFC 7230 section 5.4: "A server MUST respond with a 400 (Bad Request)
status code to any HTTP/1.1 request message that lacks a Host header
 field and to any request message that contains more than one Host
 header field or a Host header field with an invalid field-value."

See https://tools.ietf.org/html/rfc7230#section-5.4.

Other changes:

 - update VS code settings to work better with CLI 2.0
 - update tests that were subject to infinite hangs
2017-04-14 15:48:21 -07:00
Mike Harder c69e48f06b Skip test `AssemblyPartTest.GetReferencePaths_ReturnsReferencesFromDependencyContext_IfPreserveCompilationContextIsSet`
- Workaround for "Can not find compilation library location for package" (https://github.com/dotnet/cli/issues/6318)
2017-04-14 15:37:54 -07:00
Chris R 52be2b750e #21 Initial site extension and packaging 2017-04-14 14:52:57 -07:00
Ryan Nowak ed3aa4d918 Adding functional tests for @namespace 2017-04-14 14:47:29 -07:00
Hao Kung f9e19ed522 DefaultAuthentication => DefaultAuthenticate 2017-04-14 14:42:10 -07:00