Browse Source
Merge pull request #258 from colinin/4.3
Remove redundant references
pull/274/head
cKey
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
10 deletions
-
aspnet-core/modules/dapr/LINGYUN.Abp.Dapr.Actors/LINGYUN.Abp.Dapr.Actors.csproj
-
aspnet-core/modules/dapr/LINGYUN.Abp.Dapr.Actors/LINGYUN/Abp/Dapr/Actors/AbpDaprActorsModule.cs
|
|
@ -9,10 +9,6 @@ |
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
<ItemGroup> |
|
|
<PackageReference Include="Dapr.Actors" Version="1.1.0" /> |
|
|
<PackageReference Include="Dapr.Actors" Version="1.1.0" /> |
|
|
<PackageReference Include="Volo.Abp.Castle.Core" Version="4.3.0" /> |
|
|
|
|
|
<PackageReference Include="Volo.Abp.ExceptionHandling" Version="4.3.0" /> |
|
|
|
|
|
<PackageReference Include="Volo.Abp.MultiTenancy" Version="4.3.0" /> |
|
|
|
|
|
<PackageReference Include="Volo.Abp.Validation" Version="4.3.0" /> |
|
|
|
|
|
<PackageReference Include="Volo.Abp.Http.Client" Version="4.3.0" /> |
|
|
<PackageReference Include="Volo.Abp.Http.Client" Version="4.3.0" /> |
|
|
</ItemGroup> |
|
|
</ItemGroup> |
|
|
</Project> |
|
|
</Project> |
|
|
|
|
|
@ -1,5 +1,4 @@ |
|
|
using Microsoft.Extensions.Configuration; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
using Microsoft.Extensions.DependencyInjection; |
|
|
|
|
|
using Volo.Abp.Http.Client; |
|
|
using Volo.Abp.Http.Client; |
|
|
using Volo.Abp.Modularity; |
|
|
using Volo.Abp.Modularity; |
|
|
|
|
|
|
|
|
@ -18,10 +17,7 @@ namespace LINGYUN.Abp.Dapr.Actors |
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
public override void ConfigureServices(ServiceConfigurationContext context) |
|
|
{ |
|
|
{ |
|
|
var configuration = context.Services.GetConfiguration(); |
|
|
var configuration = context.Services.GetConfiguration(); |
|
|
Configure<AbpDaprRemoteServiceOptions>(options => |
|
|
Configure<AbpDaprRemoteServiceOptions>(configuration); |
|
|
{ |
|
|
|
|
|
configuration.Bind(options); |
|
|
|
|
|
}); |
|
|
|
|
|
context.Services.AddHttpClient(DaprHttpClient); |
|
|
context.Services.AddHttpClient(DaprHttpClient); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|