You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| LINGYUN/Abp/Dapr/Actors | 1 year ago | |
| Microsoft/Extensions/DependencyInjection | 1 year ago | |
| FodyWeavers.xml | 2 years ago | |
| FodyWeavers.xsd | 2 years ago | |
| LINGYUN.Abp.Dapr.Actors.csproj | 1 year ago | |
| README.md | 2 years ago | |
README.md
LINGYUN.Abp.Dapr.Actors
Dapr.IActor客户端代理
配置使用
模块按需引用
[DependsOn(typeof(AbpDaprActorsModule))]
public class YouProjectModule : AbpModule
{
public override void ConfigureServices(ServiceConfigurationContext context)
{
// 注册代理类似于 Volo.Abp.Http.Client 模块
context.Services.AddDaprActorProxies(
typeof(YouProjectActorInterfaceModule).Assembly, // 搜索 YouProjectActorInterfaceModule 模块下的IActor定义
RemoteServiceName
);
}
}