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
961 B
33 lines
961 B
using Volo.Abp.AutoMapper;
|
|
using Volo.Abp.Identity;
|
|
using Volo.Abp.Json;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.PermissionManagement;
|
|
|
|
namespace BaseService
|
|
{
|
|
[DependsOn(
|
|
typeof(BaseServiceApplicationContractsModule),
|
|
typeof(AbpPermissionManagementApplicationModule),
|
|
typeof(AbpIdentityApplicationModule),
|
|
typeof(AbpAutoMapperModule)
|
|
)]
|
|
public class BaseServiceApplicationModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
options.AddMaps<BaseServiceApplicationAutoMapperProfile>();
|
|
});
|
|
}
|
|
|
|
public override void PreConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
PreConfigure<AbpJsonOptions>(option =>
|
|
{
|
|
option.UseHybridSerializer = false;
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|