using Company.Project.Shared; using ProductManagement; using ProductManagement.Web; using Volo.Abp; using Volo.Abp.AspNetCore.Mvc.Client; using Volo.Abp.AspNetCore.Mvc.UI.BasicTheme; using Volo.Abp.Autofac; using Volo.Abp.Http.Client.IdentityModel.Web; using Volo.Abp.Identity.Web; using Volo.Abp.Modularity; using Volo.Abp.MultiTenancy; using Volo.Abp.TenantManagement.Web; namespace Company.Project.BackendAdminApp; [DependsOn( typeof(AbpAutofacModule), typeof(AbpAspNetCoreMvcClientModule), typeof(AbpAspNetCoreMvcUiBasicThemeModule), typeof(AbpHttpClientIdentityModelWebModule), typeof(AbpIdentityWebModule), typeof(AbpTenantManagementWebModule), typeof(ProductManagementHttpApiClientModule), typeof(ProductManagementWebModule) )] public class BackendAdminAppHostModule : AbpModule { public override void ConfigureServices(ServiceConfigurationContext context) { Configure(options => { options.IsEnabled = ProjectConsts.IsMultiTenancyEnabled; }); } public override void OnApplicationInitialization(ApplicationInitializationContext context) { var app = context.GetApplicationBuilder(); app.UseStaticFiles(); app.UseRouting(); app.UseConfiguredEndpoints(); } }