mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
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.
33 lines
1.1 KiB
33 lines
1.1 KiB
using Acme.BookStore.BookManagement;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Volo.Abp.Account;
|
|
using Volo.Abp.FeatureManagement;
|
|
using Volo.Abp.Identity;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.PermissionManagement;
|
|
using Volo.Abp.TenantManagement;
|
|
|
|
namespace Acme.BookStore
|
|
{
|
|
[DependsOn(
|
|
typeof(BookStoreApplicationContractsModule),
|
|
typeof(AbpAccountHttpApiClientModule),
|
|
typeof(AbpIdentityHttpApiClientModule),
|
|
typeof(AbpPermissionManagementHttpApiClientModule),
|
|
typeof(AbpTenantManagementHttpApiClientModule),
|
|
typeof(AbpFeatureManagementHttpApiClientModule),
|
|
typeof(BookManagementHttpApiClientModule)
|
|
)]
|
|
public class BookStoreHttpApiClientModule : AbpModule
|
|
{
|
|
public const string RemoteServiceName = "Default";
|
|
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
context.Services.AddHttpClientProxies(
|
|
typeof(BookStoreApplicationContractsModule).Assembly,
|
|
RemoteServiceName
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|