Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.2" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="6.1.3" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,6 @@
<SupportedPlatform Include="browser"/>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="9.0.9" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Microsoft.Extensions.Http.Polly" Version="9.0.9" />
</ItemGroup>

<ItemGroup>
<Compile Include="..\Cnblogs.Architecture.Ddd.Cqrs.AspNetCore\CqrsHeaderNames.cs">
<Link>CqrsHeaderNames.cs</Link>
Expand All @@ -29,6 +21,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Compliance.Redaction" Version="10.0.0" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="10.0.0" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using System.Net.Http.Headers;
using Cnblogs.Architecture.Ddd.Cqrs.AspNetCore;
using Microsoft.Extensions.Compliance.Redaction;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using Microsoft.Extensions.Http.Logging;
using Microsoft.Extensions.Http.Resilience;

Expand All @@ -27,6 +29,7 @@ public static IHttpClientBuilder AddServiceAgent<TClient>(
Action<HttpStandardResilienceOptions>? pollyConfigure = null)
where TClient : class
{
services.TryAddSingleton<IRedactorProvider, NullRedactorProvider>();
var builder = services.AddHttpClient<TClient>(h =>
{
h.BaseAddress = new Uri(baseUri);
Expand Down Expand Up @@ -55,6 +58,7 @@ public static IHttpClientBuilder AddServiceAgent<TClient, TImplementation>(
where TClient : class
where TImplementation : class, TClient
{
services.TryAddSingleton<IRedactorProvider, NullRedactorProvider>();
var builder = services.AddHttpClient<TClient, TImplementation>(h =>
{
h.BaseAddress = new Uri(baseUri);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="StackExchange.Redis" Version="2.9.32" />
<PackageReference Include="StackExchange.Redis" Version="2.10.1" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MongoDB.Driver" Version="3.5.0" />
<PackageReference Include="MongoDB.Driver" Version="3.5.1" />
</ItemGroup>

<ItemGroup>
Expand Down