Commit Graph

37440 Commits

Author SHA1 Message Date
Gert Driesen ea1ee2b68c Do not check if key is present before removing item. (#1064)
Use Nullable<T>.GetValueOrDefault() instead of Nullable<T>.Value when it is known to have a value.
2018-11-14 14:32:50 -08:00
Nate McMaster 0782a9dfa9
Merge aspnet/DotNetTools release/2.2 2018-11-14 14:12:52 -08:00
Nate McMaster 401fd68985
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in d745b8c161
2018-11-14 14:10:28 -08:00
Nate McMaster 27acef3d46
Merge branch 'release/2.1' into release/2.2 2018-11-14 14:01:43 -08:00
Stephen Halter 5d80016b4f Merge branch 'release/2.2' 2018-11-14 13:43:25 -08:00
Stephen Halter 4598850c20 Revert "Use non-pinnable buffer for zero byte read (#3094)"
This reverts commit 0029b8f053.
2018-11-14 13:42:55 -08:00
Nate McMaster 51c9b7355d
Create Kestrel.sln, update documentation and README, and ensure all Kestrel test projects have the test logger installed 2018-11-14 13:14:47 -08:00
Gert Driesen 31a836c9f3 Use Nullable<T>.GetValueOrDefault() instead of Nullable<T>.Value when a it is known to have a value. (#1063) 2018-11-14 12:16:44 -08:00
Gert Driesen 5da68a2bb7 Improve performance and reduce allocations in RouteValueDictionary. (#1062) 2018-11-15 09:15:08 +13:00
Stephen Halter 446f5a8cdf Merge branch 'release/2.2' 2018-11-14 12:06:23 -08:00
Ben Adams 0029b8f053 Use non-pinnable buffer for zero byte read (#3094) 2018-11-14 12:05:26 -08:00
Pranav K fe981c108b Add Microsoft.AspNetCore.Mvc.Razor.Extensions.Version2_X 2018-11-14 11:32:20 -08:00
BrennanConroy 05b0d41533
Merge pull request #3304 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-11-14 11:28:08 -08:00
John Luo b4dbaa95d0 Add ChromeDriver dependency 2018-11-14 11:24:59 -08:00
Nate McMaster 02536ff991
Merge source code from aspnet/KestrelHttpServer into this repo 2018-11-14 11:21:49 -08:00
Nate McMaster 0cf9019caa
Remove KestrelHttpServer submodule and update targets and baselines for Kestrel packages 2018-11-14 11:21:15 -08:00
Nate McMaster 9d0c69f277
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 15ba5065a9
2018-11-14 11:18:51 -08:00
John Luo 0544290038 Merge branch 'release/2.2' 2018-11-14 11:17:06 -08:00
John Luo e69285a36d Use Selenium to test Chrome 2018-11-14 11:13:24 -08:00
BrennanConroy 5e96262b2a Updated PR conflicts 2018-11-14 11:08:15 -08:00
BrennanConroy 7e96a02975
Skip cert errors on Chromium too (#3299) 2018-11-14 10:48:26 -08:00
BrennanConroy 3896fc7242
Cleanup process (#3300) 2018-11-14 10:48:12 -08:00
Ryan Brandenburg 2ca560f0b2 Don't tell people to run selenium themselves 2018-11-14 09:52:48 -08:00
David Blankenbush 01c1f7b187 Fix typo (#2066) 2018-11-14 09:33:00 -08:00
Justin Kotalik 1858527fb0 Feedback 2018-11-14 09:32:16 -08:00
Nate McMaster c1c7d711b6
Merge branch 'release/2.1' into release/2.2 2018-11-14 09:27:23 -08:00
Pranav K b2e9365084 Disable instrumentation pass with 3.0 configuration 2018-11-14 09:14:21 -08:00
David Fowler cfe9b26a34
Added support for generic host based IWebHostBuilder (#1580)
- This adds an implementation of IWebHostBuilder as a facade over the IHostBuilder.
This removes the 2 container issue by executing the Startup.ConfigureServies and Startup.ConfigureContainer inline as part of building the IHostBuilder.
- The implementation is highly compatible implementation since it exposes the same IWebHostBuilder interface.
Existing extensions mostly work.
- There are some caveats with this approach.
    - Injecting services into Startup is not extremely constrained to the
    services availble on HostBuilderContext. This includes the IHostingEnvironment
    and the IConfiguration.
    - IStartup is broken when using this pattern because it isn't composable.
    - The IStartupConfigureServicesFilter and IStartupConfigureContainer The before
    and after filters added in 2.1 are also broken  because there's a single container (it could maybe be fixed by downcasting and doing something specific on the GenericHostBuilder instance).
    - Calling into IWebHostBuilder.Build will throw a NotSupportedException since
    this implementation is just a facade over the IHostBuilder.
2018-11-13 21:22:30 -08:00
Nate McMaster cb3e84de17
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 45b7e2ddb7
2018-11-13 20:49:46 -08:00
Nate McMaster 1e073d9488
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 6c5ca90d81
2018-11-13 20:48:24 -08:00
Nate McMaster a8ec75aac4
Prepare for the 2.2.1 patch
* Generate 2.2.0 package baselines
* Update dependencies to 2.2.0
* Update branding to 2.2.1-servicing
2018-11-13 18:21:09 -08:00
Justin Kotalik f13a49bd2a Fix websocket disconnect issue 2018-11-13 16:57:15 -08:00
Nate McMaster 87092a2590
Update targets and infrastructure for dotnet-watch et. al. 2018-11-13 15:58:22 -08:00
Doug Bunting a96b5cf5f8 Quick fix: Correct benchmark apps' branches 2018-11-13 15:56:55 -08:00
Nate McMaster b3ad3aa989
Merge source code from aspnet/DotNetTools into this repo 2018-11-13 15:37:55 -08:00
Nate McMaster a2d855406b
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in eba014d534
2018-11-13 15:36:38 -08:00
Ben McCallum 42dd66647d refactor: Rename param from requiredValues to allowedValues to better indicate usage. (#1908) 2018-11-13 14:05:55 -08:00
Nate McMaster d26f89a6bc
Update branding for 2.2.1 servicing builds 2018-11-13 13:52:18 -08:00
Pranav K fc3f45bf4e Add RazorLanguageVersion.3_0
Fixes https://github.com/aspnet/Razor/issues/2612
2018-11-13 13:36:20 -08:00
Javier Calvarro Nelson bf8058da25
Switch from async void to async Task (#8722) 2018-11-13 12:26:08 -08:00
James Newton-King b6a1de5676
Validate the maximum number of route segments (#911) 2018-11-14 09:25:14 +13:00
Stephen Halter d5ee379972 Merge branch 'release/2.2' 2018-11-13 12:04:08 -08:00
ASP.NET CI 85a5b1b51f Updating submodule(s)
Diagnostics => cfdbbdec15
JavaScriptServices => 160d822f52
KestrelHttpServer => f223b4a663
ResponseCaching => 1da1c69a6f

[auto-updated: submodules]
2018-11-13 12:03:47 -08:00
Stephen Halter f223b4a663
Avoid possible tearing in HeartbeatManager.UtcNow (#3092) 2018-11-13 11:58:54 -08:00
Stephen Halter c80588ec51
Stop skipping libuv functional tests (#3091) 2018-11-13 11:34:17 -08:00
Stephen Halter 6d375e9027
Wait for reads before advancing clock in Http2TimeoutTests (#3090)
Prior to this change, HTTP/2 read rate limit tests would fail when the stalled read started after the test started advancing the clock.
2018-11-13 11:33:48 -08:00
Nate McMaster 10c4646146
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in bf9fd0d106
2018-11-13 11:24:22 -08:00
Nate McMaster 9671b9d8c3
Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3b485909eb
2018-11-13 11:21:52 -08:00
Javier Calvarro Nelson cfdbbdec15
Switch async void to async Task (#527) 2018-11-13 11:09:56 -08:00
Javier Calvarro Nelson 1da1c69a6f
Switch async void to async Task (#176) 2018-11-13 11:09:27 -08:00