Skip to content

Commit 8ea2cac

Browse files
Package updates and target net9
1 parent a698337 commit 8ea2cac

File tree

17 files changed

+59
-51
lines changed

17 files changed

+59
-51
lines changed

Diff for: src/Certify.Aspire/Certify.Aspire.ServiceDefaults/Certify.Aspire.ServiceDefaults.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<ItemGroup>
1212
<FrameworkReference Include="Microsoft.AspNetCore.App" />
1313

14-
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.8.0" />
14+
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="8.9.1" />
1515
<PackageReference Include="Microsoft.Extensions.ServiceDiscovery" Version="8.2.0" />
1616
<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.9.0" />
1717
<PackageReference Include="OpenTelemetry.Extensions.Hosting" Version="1.9.0" />

Diff for: src/Certify.Models/Certify.Models.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<PlatformTarget>AnyCPU</PlatformTarget>
1818
</PropertyGroup>
1919
<ItemGroup>
20-
<PackageReference Include="Fody" Version="6.8.1">
20+
<PackageReference Include="Fody" Version="6.8.2">
2121
<PrivateAssets>all</PrivateAssets>
2222
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
2323
</PackageReference>

Diff for: src/Certify.Providers/DNS/AWSRoute53/Plugin.DNS.AWSRoute53.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="AWSSDK.Route53" Version="3.7.402.7" />
10+
<PackageReference Include="AWSSDK.Route53" Version="3.7.402.9" />
1111
</ItemGroup>
1212

1313
<ItemGroup>

Diff for: src/Certify.Providers/DNS/Azure/Plugin.DNS.Azure.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</PropertyGroup>
88

99
<ItemGroup>
10-
<PackageReference Include="Azure.Core" Version="1.42.0" />
10+
<PackageReference Include="Azure.Core" Version="1.43.0" />
1111
<PackageReference Include="Azure.Identity" Version="1.12.0" />
1212
<PackageReference Include="Azure.ResourceManager.Dns" Version="1.1.1" />
1313
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />

Diff for: src/Certify.Server/Certify.Server.Api.Public.Client/Certify.API.Public.cs

+27-22
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//----------------------
22
// <auto-generated>
3-
// Generated using the NSwag toolchain v14.0.8.0 (NJsonSchema v11.0.1.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
3+
// Generated using the NSwag toolchain v14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
44
// </auto-generated>
55
//----------------------
66

@@ -17,20 +17,21 @@
1717
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
1818
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
1919
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
20+
#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
2021
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
2122
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
2223
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
2324
#pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant"
2425
#pragma warning disable 8603 // Disable "CS8603 Possible null reference return"
2526
#pragma warning disable 8604 // Disable "CS8604 Possible null reference argument for parameter"
2627
#pragma warning disable 8625 // Disable "CS8625 Cannot convert null literal to non-nullable reference type"
27-
#pragma warning disable CS8765 // Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes).
28+
#pragma warning disable 8765 // Disable "CS8765 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes)."
2829

2930
namespace Certify.API.Public
3031
{
3132
using System = global::System;
3233

33-
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.8.0 (NJsonSchema v11.0.1.0 (Newtonsoft.Json v13.0.0.0))")]
34+
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
3435
public partial class Client
3536
{
3637
#pragma warning disable 8618
@@ -39,13 +40,15 @@ public partial class Client
3940

4041
private System.Net.Http.HttpClient _httpClient;
4142
private static System.Lazy<Newtonsoft.Json.JsonSerializerSettings> _settings = new System.Lazy<Newtonsoft.Json.JsonSerializerSettings>(CreateSerializerSettings, true);
43+
private Newtonsoft.Json.JsonSerializerSettings _instanceSettings;
4244

4345
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
4446
public Client(string baseUrl, System.Net.Http.HttpClient httpClient)
4547
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
4648
{
4749
BaseUrl = baseUrl;
4850
_httpClient = httpClient;
51+
Initialize();
4952
}
5053

5154
private static Newtonsoft.Json.JsonSerializerSettings CreateSerializerSettings()
@@ -66,10 +69,12 @@ public string BaseUrl
6669
}
6770
}
6871

69-
protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get { return _settings.Value; } }
72+
protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get { return _instanceSettings ?? _settings.Value; } }
7073

7174
static partial void UpdateJsonSerializerSettings(Newtonsoft.Json.JsonSerializerSettings settings);
7275

76+
partial void Initialize();
77+
7378
partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, string url);
7479
partial void PrepareRequest(System.Net.Http.HttpClient client, System.Net.Http.HttpRequestMessage request, System.Text.StringBuilder urlBuilder);
7580
partial void ProcessResponse(System.Net.Http.HttpClient client, System.Net.Http.HttpResponseMessage response);
@@ -444,7 +449,7 @@ public virtual async System.Threading.Tasks.Task<SecurityPrincipleCheckResponse>
444449
{
445450
using (var request_ = new System.Net.Http.HttpRequestMessage())
446451
{
447-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
452+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
448453
var content_ = new System.Net.Http.StringContent(json_);
449454
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
450455
request_.Content = content_;
@@ -532,7 +537,7 @@ public virtual async System.Threading.Tasks.Task<ActionResult> UpdateSecurityPri
532537
{
533538
using (var request_ = new System.Net.Http.HttpRequestMessage())
534539
{
535-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
540+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
536541
var content_ = new System.Net.Http.StringContent(json_);
537542
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
538543
request_.Content = content_;
@@ -620,7 +625,7 @@ public virtual async System.Threading.Tasks.Task<ActionResult> AddSecurityPrinci
620625
{
621626
using (var request_ = new System.Net.Http.HttpRequestMessage())
622627
{
623-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
628+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
624629
var content_ = new System.Net.Http.StringContent(json_);
625630
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
626631
request_.Content = content_;
@@ -798,7 +803,7 @@ public virtual async System.Threading.Tasks.Task<ActionResult> UpdateSecurityPri
798803
{
799804
using (var request_ = new System.Net.Http.HttpRequestMessage())
800805
{
801-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
806+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
802807
var content_ = new System.Net.Http.StringContent(json_);
803808
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
804809
request_.Content = content_;
@@ -886,7 +891,7 @@ public virtual async System.Threading.Tasks.Task<ActionResult> UpdateSecurityPri
886891
{
887892
using (var request_ = new System.Net.Http.HttpRequestMessage())
888893
{
889-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
894+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
890895
var content_ = new System.Net.Http.StringContent(json_);
891896
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
892897
request_.Content = content_;
@@ -1054,7 +1059,7 @@ public virtual async System.Threading.Tasks.Task<AuthResponse> LoginAsync(AuthRe
10541059
{
10551060
using (var request_ = new System.Net.Http.HttpRequestMessage())
10561061
{
1057-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
1062+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
10581063
var content_ = new System.Net.Http.StringContent(json_);
10591064
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
10601065
request_.Content = content_;
@@ -1805,7 +1810,7 @@ public virtual async System.Threading.Tasks.Task<ManagedCertificate> UpdateManag
18051810
{
18061811
using (var request_ = new System.Net.Http.HttpRequestMessage())
18071812
{
1808-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
1813+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
18091814
var content_ = new System.Net.Http.StringContent(json_);
18101815
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
18111816
request_.Content = content_;
@@ -1984,7 +1989,7 @@ public virtual async System.Threading.Tasks.Task<ManagedCertificate> PerformRene
19841989
{
19851990
using (var request_ = new System.Net.Http.HttpRequestMessage())
19861991
{
1987-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
1992+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
19881993
var content_ = new System.Net.Http.StringContent(json_);
19891994
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
19901995
request_.Content = content_;
@@ -2078,7 +2083,7 @@ public virtual async System.Threading.Tasks.Task<ManagedCertificate> PerformRene
20782083
{
20792084
using (var request_ = new System.Net.Http.HttpRequestMessage())
20802085
{
2081-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
2086+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
20822087
var content_ = new System.Net.Http.StringContent(json_);
20832088
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
20842089
request_.Content = content_;
@@ -2340,7 +2345,7 @@ public virtual async System.Threading.Tasks.Task<ActionResult> AddAcmeAccountAsy
23402345
{
23412346
using (var request_ = new System.Net.Http.HttpRequestMessage())
23422347
{
2343-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
2348+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
23442349
var content_ = new System.Net.Http.StringContent(json_);
23452350
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
23462351
request_.Content = content_;
@@ -2428,7 +2433,7 @@ public virtual async System.Threading.Tasks.Task<ActionResult> AddCertificateAut
24282433
{
24292434
using (var request_ = new System.Net.Http.HttpRequestMessage())
24302435
{
2431-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
2436+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
24322437
var content_ = new System.Net.Http.StringContent(json_);
24332438
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
24342439
request_.Content = content_;
@@ -3213,7 +3218,7 @@ public virtual async System.Threading.Tasks.Task<ManagedCertificateSummaryResult
32133218
{
32143219
using (var request_ = new System.Net.Http.HttpRequestMessage())
32153220
{
3216-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
3221+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
32173222
var content_ = new System.Net.Http.StringContent(json_);
32183223
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
32193224
request_.Content = content_;
@@ -3385,7 +3390,7 @@ public virtual async System.Threading.Tasks.Task<StoredCredential> UpdateStoredC
33853390
{
33863391
using (var request_ = new System.Net.Http.HttpRequestMessage())
33873392
{
3388-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
3393+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
33893394
var content_ = new System.Net.Http.StringContent(json_);
33903395
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
33913396
request_.Content = content_;
@@ -3729,7 +3734,7 @@ public virtual async System.Threading.Tasks.Task<ImportExportPackage> PerformExp
37293734
{
37303735
using (var request_ = new System.Net.Http.HttpRequestMessage())
37313736
{
3732-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
3737+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
37333738
var content_ = new System.Net.Http.StringContent(json_);
37343739
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
37353740
request_.Content = content_;
@@ -3817,7 +3822,7 @@ public virtual async System.Threading.Tasks.Task<ImportExportPackage> PerformExp
38173822
{
38183823
using (var request_ = new System.Net.Http.HttpRequestMessage())
38193824
{
3820-
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, _settings.Value);
3825+
var json_ = Newtonsoft.Json.JsonConvert.SerializeObject(body, JsonSerializerSettings);
38213826
var content_ = new System.Net.Http.StringContent(json_);
38223827
content_.Headers.ContentType = System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json");
38233828
request_.Content = content_;
@@ -4448,7 +4453,7 @@ private string ConvertToString(object value, System.Globalization.CultureInfo cu
44484453

44494454

44504455

4451-
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.8.0 (NJsonSchema v11.0.1.0 (Newtonsoft.Json v13.0.0.0))")]
4456+
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
44524457
public partial class FileResponse : System.IDisposable
44534458
{
44544459
private System.IDisposable _client;
@@ -4485,7 +4490,7 @@ public void Dispose()
44854490
}
44864491

44874492

4488-
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.8.0 (NJsonSchema v11.0.1.0 (Newtonsoft.Json v13.0.0.0))")]
4493+
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
44894494
public partial class ApiException : System.Exception
44904495
{
44914496
public int StatusCode { get; private set; }
@@ -4508,7 +4513,7 @@ public override string ToString()
45084513
}
45094514
}
45104515

4511-
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.8.0 (NJsonSchema v11.0.1.0 (Newtonsoft.Json v13.0.0.0))")]
4516+
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
45124517
public partial class ApiException<TResult> : ApiException
45134518
{
45144519
public TResult Result { get; private set; }

Diff for: src/Certify.Server/Certify.Server.Api.Public.Client/Certify.Server.Api.Public.Client.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
</PropertyGroup>

Diff for: src/Certify.Server/Certify.Server.Api.Public.Tests/Certify.Server.Api.Public.Tests.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<ItemGroup>
1313
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.8" />
1414
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.8" />
15-
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.0" />
16-
<PackageReference Include="MSTest.TestAdapter" Version="3.5.2" />
17-
<PackageReference Include="MSTest.TestFramework" Version="3.5.2" />
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
16+
<PackageReference Include="MSTest.TestAdapter" Version="3.6.0" />
17+
<PackageReference Include="MSTest.TestFramework" Version="3.6.0" />
1818
<PackageReference Include="coverlet.collector" Version="6.0.2">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

Diff for: src/Certify.Server/Certify.Server.Api.Public/Certify.Server.Api.Public.csproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
</PropertyGroup>
1919

2020
<ItemGroup>
21-
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.8" />
21+
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="9.0.0-rc.1.24452.1" />
22+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.0-rc.1.24452.1" />
2223
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
2324
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.3" />
2425
</ItemGroup>

0 commit comments

Comments
 (0)