diff options
author | Mackinnon Buck <mackinnon.buck@gmail.com> | 2022-10-25 02:42:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 02:42:42 +0300 |
commit | 1e8fe7e4ba93935ebc10aee6ef2a4d2b3b0c05d9 (patch) | |
tree | e88c01930c1f5e14a00ca15e7137a7150385726a | |
parent | f5b7f6fa60711710685165486dca16b23cb53d31 (diff) |
Update SDK (#44601)
* Update SDK
* Update global.json
* Trying previous version
* Update global.json
* Updating 8.0.100-alpha.1.22524
* Updating MicrosoftNetCompilersToolsetVersion to 4.5.0-1.22517.9
* Fix CA1507
* Removing EnableAltSvc
Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
Co-authored-by: Bruno Oliveira <brunolins16@users.noreply.github.com>
Co-authored-by: Bruno Oliveira <brolivei@microsoft.com>
-rw-r--r-- | eng/Versions.props | 2 | ||||
-rw-r--r-- | global.json | 4 | ||||
-rw-r--r-- | src/Features/JsonPatch/src/Operations/Operation.cs | 2 | ||||
-rw-r--r-- | src/Features/JsonPatch/src/Operations/OperationBase.cs | 6 | ||||
-rw-r--r-- | src/Servers/Kestrel/Core/src/KestrelServerOptions.cs | 3 |
5 files changed, 7 insertions, 10 deletions
diff --git a/eng/Versions.props b/eng/Versions.props index 3e8a2a0718..70a163c09f 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -161,7 +161,7 @@ <PropertyGroup Label="Manual"> <!-- Bumping the Roslyn version used in order to ingest the new runtime source generators --> <UsingToolMicrosoftNetCompilers>true</UsingToolMicrosoftNetCompilers> - <MicrosoftNetCompilersToolsetVersion>4.4.0-3.22452.8</MicrosoftNetCompilersToolsetVersion> + <MicrosoftNetCompilersToolsetVersion>4.5.0-1.22517.9</MicrosoftNetCompilersToolsetVersion> <!-- DiagnosticAdapter package pinned temporarily until migrated/deprecated --> <MicrosoftExtensionsDiagnosticAdapterVersion>5.0.0-preview.4.20180.4</MicrosoftExtensionsDiagnosticAdapterVersion> <!-- Build tool dependencies --> diff --git a/global.json b/global.json index 0d2e0bbbb2..1a03d40aae 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,9 @@ { "sdk": { - "version": "8.0.100-alpha.1.22480.9" + "version": "8.0.100-alpha.1.22524.1" }, "tools": { - "dotnet": "8.0.100-alpha.1.22480.9", + "dotnet": "8.0.100-alpha.1.22524.1", "runtimes": { "dotnet/x86": [ "$(MicrosoftNETCoreBrowserDebugHostTransportVersion)" diff --git a/src/Features/JsonPatch/src/Operations/Operation.cs b/src/Features/JsonPatch/src/Operations/Operation.cs index 67d93a0963..9ce29c3a5c 100644 --- a/src/Features/JsonPatch/src/Operations/Operation.cs +++ b/src/Features/JsonPatch/src/Operations/Operation.cs @@ -9,7 +9,7 @@ namespace Microsoft.AspNetCore.JsonPatch.Operations; public class Operation : OperationBase { - [JsonProperty("value")] + [JsonProperty(nameof(value))] public object value { get; set; } public Operation() diff --git a/src/Features/JsonPatch/src/Operations/OperationBase.cs b/src/Features/JsonPatch/src/Operations/OperationBase.cs index 9bc59cb4d4..7ae24f6c7f 100644 --- a/src/Features/JsonPatch/src/Operations/OperationBase.cs +++ b/src/Features/JsonPatch/src/Operations/OperationBase.cs @@ -20,10 +20,10 @@ public class OperationBase } } - [JsonProperty("path")] + [JsonProperty(nameof(path))] public string path { get; set; } - [JsonProperty("op")] + [JsonProperty(nameof(op))] public string op { get @@ -42,7 +42,7 @@ public class OperationBase } } - [JsonProperty("from")] + [JsonProperty(nameof(from))] public string from { get; set; } public OperationBase() diff --git a/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs b/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs index f31880e891..fc6322dd41 100644 --- a/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs +++ b/src/Servers/Kestrel/Core/src/KestrelServerOptions.cs @@ -252,9 +252,6 @@ public class KestrelServerOptions writer.WritePropertyName(nameof(AllowResponseHeaderCompression)); writer.WriteBooleanValue(AllowResponseHeaderCompression); - writer.WritePropertyName(nameof(EnableAltSvc)); - writer.WriteBooleanValue(EnableAltSvc); - writer.WritePropertyName(nameof(IsDevCertLoaded)); writer.WriteBooleanValue(IsDevCertLoaded); |