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.
22 lines
760 B
22 lines
760 B
namespace MyCompanyName.MyProjectName
|
|
{
|
|
[DependsOn(
|
|
typeof(MyProjectNameApplicationContractsModule),
|
|
typeof(BasicManagementHttpApiClientModule),
|
|
typeof(NotificationManagementHttpApiClientModule),
|
|
typeof(DataDictionaryManagementHttpApiClientModule),
|
|
typeof(LanguageManagementHttpApiClientModule)
|
|
)]
|
|
public class MyProjectNameHttpApiClientModule : AbpModule
|
|
{
|
|
public const string RemoteServiceName = "Default";
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
context.Services.AddHttpClientProxies(
|
|
typeof(MyProjectNameApplicationContractsModule).Assembly,
|
|
RemoteServiceName
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|