diff options
author | Bruno Oliveira <brunolins16@users.noreply.github.com> | 2022-10-26 03:10:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 03:10:16 +0300 |
commit | 68fcc9c09195136d07f6f35681f0ca37eb576d17 (patch) | |
tree | 67308c781aaf466315f5e281648822ad1b3360a6 /src | |
parent | f73a1835a1454d31337b850e6adaedcf597b5119 (diff) |
Updating SDK version (#44734)
* 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>
* Adding nuget --version workaround
Co-authored-by: Mackinnon Buck <mackinnon.buck@gmail.com>
Co-authored-by: Sébastien Ros <sebastienros@gmail.com>
Diffstat (limited to 'src')
-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 |
3 files changed, 4 insertions, 7 deletions
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); |