Skip to content

Commit 30472b1

Browse files
authored
Merge branch 'master' into merge/release/5.0-preview7-to-master
2 parents f6a6e4b + 7aa91ff commit 30472b1

File tree

111 files changed

+1613
-1149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1613
-1149
lines changed

eng/Version.Details.xml

Lines changed: 138 additions & 138 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 71 additions & 71 deletions
Large diffs are not rendered by default.

src/Components/Components/test/Rendering/RendererSynchronizationContextTest.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void Post_RunsAsynchronously_WhenNotBusy()
2626
Thread capturedThread = null;
2727

2828
var e = new ManualResetEventSlim();
29-
29+
3030
// Act
3131
context.Post((_) =>
3232
{
@@ -766,7 +766,6 @@ public async Task InvokeAsync_FuncTaskT_CanReportCancellation()
766766
}
767767

768768
[Fact]
769-
[QuarantinedTest]
770769
public async Task InvokeAsync_SyncWorkInAsyncTaskIsCompletedFirst()
771770
{
772771
// Simplified version of ServerComponentRenderingTest.CanDispatchAsyncWorkToSyncContext

src/Hosting/Hosting/ref/Microsoft.AspNetCore.Hosting.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Reference Include="Microsoft.Extensions.DependencyInjection" />
1717
<Reference Include="Microsoft.Extensions.FileProviders.Physical" />
1818
<Reference Include="Microsoft.Extensions.FileProviders.Composite" />
19-
<Reference Include="Microsoft.Extensions.Hosting.Abstractions" />
19+
<Reference Include="Microsoft.Extensions.Hosting" />
2020
<Reference Include="Microsoft.Extensions.Logging" />
2121
<Reference Include="Microsoft.Extensions.Options" />
2222
</ItemGroup>

src/Hosting/Hosting/src/Microsoft.AspNetCore.Hosting.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<Description>ASP.NET Core hosting infrastructure and startup logic for web applications.</Description>
@@ -26,7 +26,7 @@
2626
<Reference Include="Microsoft.Extensions.DependencyInjection" />
2727
<Reference Include="Microsoft.Extensions.FileProviders.Physical" />
2828
<Reference Include="Microsoft.Extensions.FileProviders.Composite" />
29-
<Reference Include="Microsoft.Extensions.Hosting.Abstractions" />
29+
<Reference Include="Microsoft.Extensions.Hosting" />
3030
<Reference Include="Microsoft.Extensions.Logging" />
3131
<Reference Include="Microsoft.Extensions.Options" />
3232

src/Identity/Specification.Tests/src/UserManagerSpecificationTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,6 @@ public async Task ChangePhoneNumberWithCustomProvider()
14501450
/// </summary>
14511451
/// <returns>Task</returns>
14521452
[Fact]
1453-
[QuarantinedTest]
14541453
public async Task ChangePhoneNumberFailsWithWrongPhoneNumber()
14551454
{
14561455
var manager = CreateManager();
@@ -1471,7 +1470,6 @@ public async Task ChangePhoneNumberFailsWithWrongPhoneNumber()
14711470
/// </summary>
14721471
/// <returns>Task</returns>
14731472
[Fact]
1474-
[QuarantinedTest]
14751473
public async Task CanVerifyPhoneNumber()
14761474
{
14771475
var manager = CreateManager();
@@ -1519,7 +1517,6 @@ public async Task CanChangeEmail()
15191517
/// </summary>
15201518
/// <returns>Task</returns>
15211519
[Fact]
1522-
[QuarantinedTest]
15231520
public async Task CanChangeEmailOnlyIfEmailSame()
15241521
{
15251522
var manager = CreateManager();

src/JSInterop/Microsoft.JSInterop.JS/src/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
"author": "Microsoft",
1919
"license": "Apache-2.0",
2020
"bugs": {
21-
"url": "https://github.com/dotnet/extensions/issues"
21+
"url": "https://github.com/dotnet/aspnetcore/issues"
2222
},
23-
"homepage": "https://github.com/dotnet/extensions/tree/master/src/JSInterop#readme",
23+
"homepage": "https://github.com/dotnet/aspnetcore/tree/master/src/JSInterop",
2424
"files": [
2525
"dist/**"
2626
],

src/Middleware/SpaServices.Extensions/src/Proxying/SpaProxy.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal static class SpaProxy
2727

2828
// Don't forward User-Agent/Accept because of https://github.com/aspnet/JavaScriptServices/issues/1469
2929
// Others just aren't applicable in proxy scenarios
30-
private static readonly string[] NotForwardedWebSocketHeaders = new[] { "Accept", "Connection", "Host", "User-Agent", "Upgrade", "Sec-WebSocket-Key", "Sec-WebSocket-Version" };
30+
private static readonly string[] NotForwardedWebSocketHeaders = new[] { "Accept", "Connection", "Host", "User-Agent", "Upgrade", "Sec-WebSocket-Key", "Sec-WebSocket-Protocol", "Sec-WebSocket-Version" };
3131

3232
public static HttpClient CreateHttpClientForProxy(TimeSpan requestTimeout)
3333
{
@@ -209,6 +209,10 @@ private static async Task<bool> AcceptProxyWebSocketRequest(HttpContext context,
209209

210210
using (var client = new ClientWebSocket())
211211
{
212+
foreach (var protocol in context.WebSockets.WebSocketRequestedProtocols)
213+
{
214+
client.Options.AddSubProtocol(protocol);
215+
}
212216
foreach (var headerEntry in context.Request.Headers)
213217
{
214218
if (!NotForwardedWebSocketHeaders.Contains(headerEntry.Key, StringComparer.OrdinalIgnoreCase))

src/Mvc/Mvc.Abstractions/ref/Microsoft.AspNetCore.Mvc.Abstractions.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Project Sdk="Microsoft.NET.Sdk">
33
<PropertyGroup>
44
<TargetFrameworks>$(DefaultNetCoreTargetFramework)</TargetFrameworks>
5+
<Nullable>annotations</Nullable>
56
</PropertyGroup>
67
<ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
78
<Compile Include="Microsoft.AspNetCore.Mvc.Abstractions.netcoreapp.cs" />

0 commit comments

Comments
 (0)