/
aprogrammer
/
ACme.BookStore
Обзор
Документация
Войти
/
aprogrammer
/
ACme.BookStore
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/ACme.BookStore.HttpApi.Client/BookStoreHttpApiClientModule.cs
38 строк
1 KB
nicolaujoao1
Add project files.
29 сен 2022, 16:22
29 сен 2022, 16:22
e371a9d
Код
Авторство
О чём код?
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; using Volo.Abp.SettingManagement; using Volo.Abp.VirtualFileSystem; namespace ACme.BookStore; [DependsOn( typeof(BookStoreApplicationContractsModule), typeof(AbpAccountHttpApiClientModule), typeof(AbpIdentityHttpApiClientModule), typeof(AbpPermissionManagementHttpApiClientModule), typeof(AbpTenantManagementHttpApiClientModule), typeof(AbpFeatureManagementHttpApiClientModule), typeof(AbpSettingManagementHttpApiClientModule) )] public class BookStoreHttpApiClientModule : AbpModule { public const string RemoteServiceName = "Default"; public override void ConfigureServices(ServiceConfigurationContext context) { context.Services.AddHttpClientProxies( typeof(BookStoreApplicationContractsModule).Assembly, RemoteServiceName ); Configure<AbpVirtualFileSystemOptions>(options => { options.FileSets.AddEmbedded<BookStoreHttpApiClientModule>(); }); } }