From c7972d45f83aab461d23616a9c17fe5fe3ad2226 Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Tue, 15 Oct 2019 17:33:07 +0000 Subject: [PATCH 01/11] Update dependencies from https://github.com/aspnet/Blazor build 20191014.2 (#15013) - Microsoft.AspNetCore.Blazor.Mono - 5.0.0-alpha1.19514.2 --- eng/Version.Details.xml | 4 ++-- eng/Versions.props | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index bd13837db7..2d331cc262 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -9,9 +9,9 @@ --> - + https://github.com/aspnet/Blazor - 333321c929b8c9f3385d299c9df6f2c8a96e1822 + adc2dc6547bc542aa687c712e0e3c0e5de3500fe https://github.com/aspnet/AspNetCore-Tooling diff --git a/eng/Versions.props b/eng/Versions.props index 75a2127e66..7ba249b5ca 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -89,7 +89,7 @@ 5.0.0-alpha1.19504.7 - 5.0.0-alpha1.19501.1 + 5.0.0-alpha1.19514.2 5.0.0-alpha1.19512.1 5.0.0-alpha1.19512.1 From d40fd322d0bf6778dc01142bde81d3c4349f574f Mon Sep 17 00:00:00 2001 From: Artak <34246760+mkArtakMSFT@users.noreply.github.com> Date: Tue, 15 Oct 2019 13:24:08 -0700 Subject: [PATCH 02/11] Enabling PR auto-labeling (#15020) * Create labeler.yml Creating the initial label mappings * Adding the auto-labeler workflow --- .github/labeler.yml | 6 ++++++ .github/workflows/labeler.yml | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..b0a402f291 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +area-mvc: + - src/ProjectTemplates/**/* + - src/Razor/**/* + +area-blazor: + - src/Components/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..dcafb97dc9 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,11 @@ +name: "Pull Request Labeler" +on: +- pull_request + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" From 3feb49707a169a79facc71703e69224bcf9ddff1 Mon Sep 17 00:00:00 2001 From: Artak <34246760+mkArtakMSFT@users.noreply.github.com> Date: Tue, 15 Oct 2019 13:45:17 -0700 Subject: [PATCH 03/11] Added Mvc into the area-mvc labels path --- .github/labeler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/labeler.yml b/.github/labeler.yml index b0a402f291..3f38918863 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,6 +1,7 @@ area-mvc: - src/ProjectTemplates/**/* - src/Razor/**/* + - src/Mvc/**/* area-blazor: - src/Components/**/* From c0aa9b8f5262bf6a90e11a3e438385dddf45ac54 Mon Sep 17 00:00:00 2001 From: Artak <34246760+mkArtakMSFT@users.noreply.github.com> Date: Tue, 15 Oct 2019 14:04:51 -0700 Subject: [PATCH 04/11] Adding all the areas in sorted order --- .github/labeler.yml | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 3f38918863..4842ed9f48 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,7 +1,46 @@ +#area-azure: + +area-blazor: + - src/Components/**/* + +#area-commandlinetools: + +#area-dataprotection: + +#area-grpc: + +#area-healthchecks: + +area-hosting: + - src/Hosting/**/* + +#area-httpclientfactory: + +area-identity: + - src/Identity/**/* + +#area-infrastructure: + +#area-installers: + +area-middleware: + - src/Middleware/**/* + area-mvc: - src/ProjectTemplates/**/* - src/Razor/**/* - src/Mvc/**/* + - src/MusicStore/**/* + +#area-platform: -area-blazor: - - src/Components/**/* +area-security: + - src/Security/**/* + +area-servers: + - src/Servers/**/* + +area-signalr: + - src/SignalR/**/* + +#area-websockets: From 666fe9b03cce23da5e7c64bd2cc8a4ac9a88e6e8 Mon Sep 17 00:00:00 2001 From: Artak <34246760+mkArtakMSFT@users.noreply.github.com> Date: Tue, 15 Oct 2019 15:38:09 -0700 Subject: [PATCH 05/11] Added more path mappings to labels (#15034) * Added more path mappings to labels * Update .github/labeler.yml Co-Authored-By: Doug Bunting <6431421+dougbu@users.noreply.github.com> --- .github/labeler.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 4842ed9f48..83509a9fd2 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -5,7 +5,8 @@ area-blazor: #area-commandlinetools: -#area-dataprotection: +area-dataprotection: + - src/DataProtection/**/* #area-grpc: @@ -13,15 +14,21 @@ area-blazor: area-hosting: - src/Hosting/**/* + - src/SiteExtensions/**/* #area-httpclientfactory: area-identity: - src/Identity/**/* -#area-infrastructure: +area-infrastructure: + - global.json + - .azure/**/* + - .config/**/* + - eng/**/* -#area-installers: +area-installers: + - src/Installers/**/* area-middleware: - src/Middleware/**/* From 10863cfaead78e02eb788611fc1f64a889db6941 Mon Sep 17 00:00:00 2001 From: Brennan Date: Tue, 15 Oct 2019 16:28:42 -0700 Subject: [PATCH 06/11] Add tests to verify protocol message size (#15030) --- .../Protocol/JsonHubProtocolTestsBase.cs | 60 +++++++++++++++++++ .../Protocol/MessagePackHubProtocolTests.cs | 50 ++++++++++++++++ 2 files changed, 110 insertions(+) diff --git a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs index 1570b54462..855281aecd 100644 --- a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs +++ b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/JsonHubProtocolTestsBase.cs @@ -312,6 +312,50 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol }, streamItemMessage.Item); } + public static IDictionary MessageSizeData => new[] + { + new MessageSizeTestData("InvocationMessage_WithoutInvocationId", new InvocationMessage("Target", new object[] { 1 }), 45), + new MessageSizeTestData("InvocationMessage_WithInvocationId", new InvocationMessage("1", "Target", new object[] { 1 }), 64), + new MessageSizeTestData("InvocationMessage_WithInvocationIdAndStreamId", new InvocationMessage("1", "Target", new object[] { 1 }, new string[] { "2" }), 82), + + new MessageSizeTestData("CloseMessage_Empty", CloseMessage.Empty, 11), + new MessageSizeTestData("CloseMessage_WithError", new CloseMessage("error"), 27), + + new MessageSizeTestData("StreamItemMessage_WithNullItem", new StreamItemMessage("1", null), 42), + new MessageSizeTestData("StreamItemMessage_WithItem", new StreamItemMessage("1", 1), 39), + + new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.Empty("1"), 30), + new MessageSizeTestData("CompletionMessage_WithResult", CompletionMessage.WithResult("1", 1), 41), + new MessageSizeTestData("CompletionMessage_WithError", CompletionMessage.WithError("1", "error"), 46), + + new MessageSizeTestData("StreamInvocationMessage", new StreamInvocationMessage("1", "target", Array.Empty()), 63), + new MessageSizeTestData("StreamInvocationMessage_WithStreamId", new StreamInvocationMessage("1", "target", Array.Empty(), new [] { "2" }), 81), + + new MessageSizeTestData("CancelInvocationMessage", new CancelInvocationMessage("1"), 30), + + new MessageSizeTestData("PingMessage", PingMessage.Instance, 11), + }.ToDictionary(t => t.Name); + + public static IEnumerable MessageSizeDataNames => MessageSizeData.Keys.Select(name => new object[] { name }); + + [Theory] + [MemberData(nameof(MessageSizeDataNames))] + public void VerifyMessageSize(string testDataName) + { + var testData = MessageSizeData[testDataName]; + + var writer = MemoryBufferWriter.Get(); + try + { + JsonHubProtocol.WriteMessage(testData.Message, writer); + Assert.Equal(testData.Size, writer.Length); + } + finally + { + MemoryBufferWriter.Return(writer); + } + } + public static string Frame(string input) { var data = Encoding.UTF8.GetBytes(input); @@ -345,5 +389,21 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol public override string ToString() => Name; } + + public class MessageSizeTestData + { + public string Name { get; } + public HubMessage Message { get; } + public int Size { get; } + + public MessageSizeTestData(string name, HubMessage message, int size) + { + Name = name; + Message = message; + Size = size; + } + + public override string ToString() => Name; + } } } diff --git a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/MessagePackHubProtocolTests.cs b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/MessagePackHubProtocolTests.cs index 8134f8e9bf..256037b17e 100644 --- a/src/SignalR/common/SignalR.Common/test/Internal/Protocol/MessagePackHubProtocolTests.cs +++ b/src/SignalR/common/SignalR.Common/test/Internal/Protocol/MessagePackHubProtocolTests.cs @@ -195,5 +195,55 @@ namespace Microsoft.AspNetCore.SignalR.Common.Tests.Internal.Protocol TestWriteMessages(testData); } + + public static IDictionary MessageSizeData => new[] + { + new MessageSizeTestData("InvocationMessage_WithoutInvocationId", new InvocationMessage("Target", new object[] { 1 }), 15), + new MessageSizeTestData("InvocationMessage_WithInvocationId", new InvocationMessage("1", "Target", new object[] { 1 }), 16), + new MessageSizeTestData("InvocationMessage_WithInvocationIdAndStreamId", new InvocationMessage("1", "Target", new object[] { 1 }, new string[] { "2" }), 18), + + new MessageSizeTestData("CloseMessage_Empty", CloseMessage.Empty, 4), + new MessageSizeTestData("CloseMessage_WithError", new CloseMessage("error"), 9), + + new MessageSizeTestData("StreamItemMessage_WithNullItem", new StreamItemMessage("1", null), 7), + new MessageSizeTestData("StreamItemMessage_WithItem", new StreamItemMessage("1", 1), 7), + + new MessageSizeTestData("CompletionMessage_Empty", CompletionMessage.Empty("1"), 7), + new MessageSizeTestData("CompletionMessage_WithResult", CompletionMessage.WithResult("1", 1), 8), + new MessageSizeTestData("CompletionMessage_WithError", CompletionMessage.WithError("1", "error"), 13), + + new MessageSizeTestData("StreamInvocationMessage", new StreamInvocationMessage("1", "target", Array.Empty()), 15), + new MessageSizeTestData("StreamInvocationMessage_WithStreamId", new StreamInvocationMessage("1", "target", Array.Empty(), new [] { "2" }), 17), + + new MessageSizeTestData("CancelInvocationMessage", new CancelInvocationMessage("1"), 6), + + new MessageSizeTestData("PingMessage", PingMessage.Instance, 3), + }.ToDictionary(t => t.Name); + + public static IEnumerable MessageSizeDataNames => MessageSizeData.Keys.Select(name => new object[] { name }); + + [Theory] + [MemberData(nameof(MessageSizeDataNames))] + public void VerifyMessageSize(string testDataName) + { + var testData = MessageSizeData[testDataName]; + Assert.Equal(testData.Size, Write(testData.Message).Length); + } + + public class MessageSizeTestData + { + public string Name { get; } + public HubMessage Message { get; } + public int Size { get; } + + public MessageSizeTestData(string name, HubMessage message, int size) + { + Name = name; + Message = message; + Size = size; + } + + public override string ToString() => Name; + } } } From d4cc16a1c8aac1cbbf1332e592d3ccf35eb73abc Mon Sep 17 00:00:00 2001 From: "dotnet-maestro[bot]" <42748379+dotnet-maestro[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2019 13:37:01 +0000 Subject: [PATCH 07/11] Update dependencies from https://github.com/aspnet/EntityFrameworkCore build 20191015.8 (#15053) - Microsoft.EntityFrameworkCore.Tools - 5.0.0-alpha1.19515.8 - Microsoft.EntityFrameworkCore.SqlServer - 5.0.0-alpha1.19515.8 - dotnet-ef - 5.0.0-alpha1.19515.8 - Microsoft.EntityFrameworkCore - 5.0.0-alpha1.19515.8 - Microsoft.EntityFrameworkCore.InMemory - 5.0.0-alpha1.19515.8 - Microsoft.EntityFrameworkCore.Relational - 5.0.0-alpha1.19515.8 - Microsoft.EntityFrameworkCore.Sqlite - 5.0.0-alpha1.19515.8 Dependency coherency updates - Microsoft.AspNetCore.Analyzer.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.AspNetCore.BenchmarkRunner.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.ActivatorUtilities.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Caching.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Caching.Memory - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Caching.SqlServer - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Caching.StackExchangeRedis - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.CommandLineUtils.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.AzureKeyVault - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.Binder - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.CommandLine - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.EnvironmentVariables - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.FileExtensions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.Ini - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.Json - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.KeyPerFile - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.UserSecrets - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration.Xml - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Configuration - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.DependencyInjection.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.DependencyInjection - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.DiagnosticAdapter - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Diagnostics.HealthChecks - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.FileProviders.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.FileProviders.Composite - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.FileProviders.Embedded - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.FileProviders.Physical - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.FileSystemGlobbing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.HashCodeCombiner.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Hosting.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Hosting - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.HostFactoryResolver.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Http - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Localization.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Localization - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.Abstractions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.AzureAppServices - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.Configuration - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.Console - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.Debug - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.EventSource - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.EventLog - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.TraceSource - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Logging.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.ObjectPool - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Options.ConfigurationExtensions - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Options.DataAnnotations - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Options - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.ParameterDefaultValue.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.Primitives - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.TypeNameHelper.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.ValueStopwatch.Sources - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.WebEncoders - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Internal.Extensions.Refs - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.JSInterop - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Mono.WebAssembly.Interop - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.NETCore.App.Runtime.win-x64 - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging) - Microsoft.Extensions.Logging - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.Extensions.DependencyModel - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging) - Microsoft.NETCore.App.Ref - 5.0.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging) - NETStandard.Library.Ref - 2.1.0-alpha1.19514.1 (parent: Microsoft.Extensions.Logging) - Internal.AspNetCore.Analyzers - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) - Microsoft.AspNetCore.Testing - 5.0.0-alpha1.19514.8 (parent: Microsoft.EntityFrameworkCore) --- eng/Version.Details.xml | 288 ++++++++++++++++++++-------------------- eng/Versions.props | 144 ++++++++++---------- 2 files changed, 216 insertions(+), 216 deletions(-) diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml index 2d331cc262..e465c078ce 100644 --- a/eng/Version.Details.xml +++ b/eng/Version.Details.xml @@ -29,269 +29,269 @@ https://github.com/aspnet/AspNetCore-Tooling debe2d2e911020ffee5d6e95eb4dc6d0754bd8ef - + https://github.com/aspnet/EntityFrameworkCore - c1215453fb2d89acac314249c9f0749acef4c2f4 + 2da52082db1fb33f785822c560f2373e691bab0c - + https://github.com/aspnet/EntityFrameworkCore - c1215453fb2d89acac314249c9f0749acef4c2f4 + 2da52082db1fb33f785822c560f2373e691bab0c - + https://github.com/aspnet/EntityFrameworkCore - c1215453fb2d89acac314249c9f0749acef4c2f4 + 2da52082db1fb33f785822c560f2373e691bab0c - + https://github.com/aspnet/EntityFrameworkCore - c1215453fb2d89acac314249c9f0749acef4c2f4 + 2da52082db1fb33f785822c560f2373e691bab0c - + https://github.com/aspnet/EntityFrameworkCore - c1215453fb2d89acac314249c9f0749acef4c2f4 + 2da52082db1fb33f785822c560f2373e691bab0c - + https://github.com/aspnet/EntityFrameworkCore - c1215453fb2d89acac314249c9f0749acef4c2f4 + 2da52082db1fb33f785822c560f2373e691bab0c - + https://github.com/aspnet/EntityFrameworkCore - c1215453fb2d89acac314249c9f0749acef4c2f4 + 2da52082db1fb33f785822c560f2373e691bab0c - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 https://github.com/dotnet/corefx @@ -381,25 +381,25 @@ https://github.com/dotnet/corefx a434a52ae3f1175bc1cad8b1a02b0921ef3b1f55 - + https://github.com/dotnet/core-setup - 3fccad76fc65967dc194983284c3a43de37e95a0 + 4ace84dbf94128b4825c76cdd09b46dba7473478 - + https://github.com/dotnet/core-setup - 3fccad76fc65967dc194983284c3a43de37e95a0 + 4ace84dbf94128b4825c76cdd09b46dba7473478 - + https://github.com/dotnet/core-setup - 3fccad76fc65967dc194983284c3a43de37e95a0 + 4ace84dbf94128b4825c76cdd09b46dba7473478 - + https://github.com/dotnet/core-setup - 3fccad76fc65967dc194983284c3a43de37e95a0 + 4ace84dbf94128b4825c76cdd09b46dba7473478 @@ -408,9 +408,9 @@ https://github.com/dotnet/corefx a434a52ae3f1175bc1cad8b1a02b0921ef3b1f55 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 https://github.com/dotnet/arcade @@ -424,9 +424,9 @@ https://github.com/dotnet/arcade f8546fbab59a74a66c83b8cb76b3f6877ce1d374 - + https://github.com/aspnet/Extensions - 1dfe8bc2af511822677789c29a0c800f7cca1d7b + 5fb4eb52033b15dea5a4165fb7ce15f6bee83cf0 https://github.com/dotnet/roslyn diff --git a/eng/Versions.props b/eng/Versions.props index 7ba249b5ca..57d9d3ba42 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -59,10 +59,10 @@ 3.4.0-beta1-19456-03 - 5.0.0-alpha1.19506.5 - 5.0.0-alpha1.19506.5 - 5.0.0-alpha1.19506.5 - 2.1.0-alpha1.19506.5 + 5.0.0-alpha1.19514.1 + 5.0.0-alpha1.19514.1 + 5.0.0-alpha1.19514.1 + 2.1.0-alpha1.19514.1 1.2.0-alpha1.19504.7 5.0.0-alpha1.19504.7 @@ -91,75 +91,75 @@ 5.0.0-alpha1.19514.2 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 - 5.0.0-alpha1.19512.1 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 + 5.0.0-alpha1.19514.8 - 5.0.0-alpha1.19514.3 - 5.0.0-alpha1.19514.3 - 5.0.0-alpha1.19514.3 - 5.0.0-alpha1.19514.3 - 5.0.0-alpha1.19514.3 - 5.0.0-alpha1.19514.3 - 5.0.0-alpha1.19514.3 + 5.0.0-alpha1.19515.8 + 5.0.0-alpha1.19515.8 + 5.0.0-alpha1.19515.8 + 5.0.0-alpha1.19515.8 + 5.0.0-alpha1.19515.8 + 5.0.0-alpha1.19515.8 + 5.0.0-alpha1.19515.8 5.0.0-alpha1.19513.1 5.0.0-alpha1.19513.1 From 8f9073e8ea965af9649c760de5aef4ca9d74dca5 Mon Sep 17 00:00:00 2001 From: Joni Date: Thu, 17 Oct 2019 01:29:56 +0900 Subject: [PATCH 08/11] Fixes typo in StaticComponentRenderer.cs (#14925) Fixes "reponse" => "response" --- .../src/RazorComponents/StaticComponentRenderer.cs | 2 +- .../test/HtmlHelperComponentExtensionsTests.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs index 72e89faf5f..6fb6027fae 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs @@ -53,7 +53,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.RazorComponents // all components have rendered. throw new InvalidOperationException("A navigation command was attempted during prerendering after the server already started sending the response. " + "Navigation commands can not be issued during server-side prerendering after the response from the server has started. Applications must buffer the" + - "reponse and avoid using features like FlushAsync() before all components on the page have been rendered to prevent failed navigation commands.", navigationException); + "response and avoid using features like FlushAsync() before all components on the page have been rendered to prevent failed navigation commands.", navigationException); } httpContext.Response.Redirect(navigationException.Location); diff --git a/src/Mvc/Mvc.ViewFeatures/test/HtmlHelperComponentExtensionsTests.cs b/src/Mvc/Mvc.ViewFeatures/test/HtmlHelperComponentExtensionsTests.cs index a7629497a7..791b4cb5bb 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/HtmlHelperComponentExtensionsTests.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/HtmlHelperComponentExtensionsTests.cs @@ -1,4 +1,4 @@ -// Copyright (c) .NET Foundation. All rights reserved. +// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. using System; @@ -516,7 +516,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Test Assert.Equal("A navigation command was attempted during prerendering after the server already started sending the response. " + "Navigation commands can not be issued during server-side prerendering after the response from the server has started. Applications must buffer the" + - "reponse and avoid using features like FlushAsync() before all components on the page have been rendered to prevent failed navigation commands.", + "response and avoid using features like FlushAsync() before all components on the page have been rendered to prevent failed navigation commands.", exception.Message); } From d73dfd3a1d6aad5ba7b7edaeef1cbd69110c990a Mon Sep 17 00:00:00 2001 From: Bharat Kumar Bellamkonda Date: Wed, 16 Oct 2019 22:06:16 +0530 Subject: [PATCH 09/11] Replaced >= with > in condition. (#14825) --- .../Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs index 0e975e697f..956f585a75 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs @@ -481,7 +481,7 @@ namespace Microsoft.AspNetCore.Mvc.DataAnnotations // See: https://github.com/dotnet/roslyn/blob/master/docs/features/nullable-reference-types.md#annotations if (nullableAttribute.GetType().GetField(NullableFlagsFieldName) is FieldInfo field && field.GetValue(nullableAttribute) is byte[] flags && - flags.Length >= 0 && + flags.Length > 0 && flags[0] == 1) // First element is the property/parameter type. { isNullable = true; From 1599a5a2a791def8a23784756c303a914c0e1631 Mon Sep 17 00:00:00 2001 From: Koen Ekelschot Date: Wed, 16 Oct 2019 18:41:28 +0200 Subject: [PATCH 10/11] Improve documentation RequestHeaders and ResponseHeaders #3465 (#14971) --- src/Http/Http.Extensions/src/RequestHeaders.cs | 16 ++++++++++++++++ .../Http.Extensions/src/ResponseHeaders.cs | 18 +++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/src/Http/Http.Extensions/src/RequestHeaders.cs b/src/Http/Http.Extensions/src/RequestHeaders.cs index 12246922d4..94fa8149b9 100644 --- a/src/Http/Http.Extensions/src/RequestHeaders.cs +++ b/src/Http/Http.Extensions/src/RequestHeaders.cs @@ -279,11 +279,27 @@ namespace Microsoft.AspNetCore.Http.Headers } } + /// + /// Gets the value of header with . + /// + /// must contain a TryParse method with the signature public static bool TryParse(string, out T). + /// The type of the header. + /// The given type must have a static TryParse method. + /// The name of the header to retrieve. + /// The value of the header. public T Get(string name) { return Headers.Get(name); } + /// + /// Gets the values of header with . + /// + /// must contain a TryParseList method with the signature public static bool TryParseList(IList<string>, out IList<T>). + /// The type of the header. + /// The given type must have a static TryParseList method. + /// The name of the header to retrieve. + /// List of values of the header. public IList GetList(string name) { return Headers.GetList(name); diff --git a/src/Http/Http.Extensions/src/ResponseHeaders.cs b/src/Http/Http.Extensions/src/ResponseHeaders.cs index 87e3c0318c..2feff2fe3c 100644 --- a/src/Http/Http.Extensions/src/ResponseHeaders.cs +++ b/src/Http/Http.Extensions/src/ResponseHeaders.cs @@ -158,11 +158,27 @@ namespace Microsoft.AspNetCore.Http.Headers } } + /// + /// Gets the value of header with . + /// + /// must contain a TryParse method with the signature public static bool TryParse(string, out T). + /// The type of the header. + /// The given type must have a static TryParse method. + /// The name of the header to retrieve. + /// The value of the header. public T Get(string name) { return Headers.Get(name); } + /// + /// Gets the values of header with . + /// + /// must contain a TryParseList method with the signature public static bool TryParseList(IList<string>, out IList<T>). + /// The type of the header. + /// The given type must have a static TryParseList method. + /// The name of the header to retrieve. + /// List of values of the header. public IList GetList(string name) { return Headers.GetList(name); @@ -208,4 +224,4 @@ namespace Microsoft.AspNetCore.Http.Headers Headers.AppendList(name, values); } } -} \ No newline at end of file +} From 1434f89d508389ac4f69fa33dd7822565e20748d Mon Sep 17 00:00:00 2001 From: Chris Ross Date: Wed, 16 Oct 2019 12:39:36 -0700 Subject: [PATCH 11/11] GenerateReferenceAssemblies requires restore.cmd (#15072) --- docs/ReferenceAssemblies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ReferenceAssemblies.md b/docs/ReferenceAssemblies.md index 1ef20699e6..593682a29e 100644 --- a/docs/ReferenceAssemblies.md +++ b/docs/ReferenceAssemblies.md @@ -22,4 +22,4 @@ Set `false` in the implementation ( ### Regenerate reference assemblies for all projects -Run `.\eng\scripts\GenerateReferenceAssemblies.ps1` from repository root. +Run `.\eng\scripts\GenerateReferenceAssemblies.ps1` from repository root. Make sure you've run `.\restore.cmd` first.