| 123456789101112131415161718192021222324 |
- using Microsoft.Extensions.DependencyInjection;
- using System;
- using System.Collections.Generic;
- using System.Text;
- using Volo.Abp.Modularity;
- namespace Business
- {
- [DependsOn(
- typeof(BusinessApplicationContractsModule)
- )]
- public class BusinessHttpApiClientModule : AbpModule
- {
- public const string RemoteServiceName = "Business";
- public override void ConfigureServices(ServiceConfigurationContext context)
- {
- context.Services.AddHttpClientProxies(
- typeof(BusinessApplicationContractsModule).Assembly,
- RemoteServiceName
- );
- }
- }
- }
|