|
|
|
@ -29,6 +29,7 @@ using Volo.Abp.MultiTenancy; |
|
|
|
using Volo.Abp.PermissionManagement.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Security.Claims; |
|
|
|
using Volo.Abp.SettingManagement.EntityFrameworkCore; |
|
|
|
using Volo.Abp.TenantManagement.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Threading; |
|
|
|
using Volo.Blogging; |
|
|
|
using Volo.Blogging.Blogs; |
|
|
|
@ -49,7 +50,8 @@ namespace BloggingService.Host |
|
|
|
typeof(BloggingApplicationModule), |
|
|
|
typeof(AbpHttpClientIdentityModelWebModule), |
|
|
|
typeof(AbpIdentityHttpApiClientModule), |
|
|
|
typeof(AbpAspNetCoreMultiTenancyModule) |
|
|
|
typeof(AbpAspNetCoreMultiTenancyModule), |
|
|
|
typeof(AbpTenantManagementEntityFrameworkCoreModule) |
|
|
|
)] |
|
|
|
public class BloggingServiceHostModule : AbpModule |
|
|
|
{ |
|
|
|
@ -82,7 +84,7 @@ namespace BloggingService.Host |
|
|
|
{ |
|
|
|
options.Languages.Add(new LanguageInfo("en", "en", "English")); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
Configure<AbpDbContextOptions>(options => |
|
|
|
{ |
|
|
|
options.UseSqlServer(); |
|
|
|
|