Browse Source
Merge pull request #3902 from abpframework/liangshiwei/samples-microservices
Add AbpAspNetCoreMvcModule to microservices host module dependencies
pull/3918/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
8 additions and
0 deletions
-
samples/MicroserviceDemo/microservices/BloggingService.Host/BloggingServiceHostModule.cs
-
samples/MicroserviceDemo/microservices/IdentityService.Host/IdentityServiceHostModule.cs
-
samples/MicroserviceDemo/microservices/ProductService.Host/ProductServiceHostModule.cs
-
samples/MicroserviceDemo/microservices/TenantManagementService.Host/TenantManagementServiceHostModule.cs
|
|
|
@ -13,6 +13,7 @@ using MsDemo.Shared; |
|
|
|
using Swashbuckle.AspNetCore.Swagger; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.AspNetCore.MultiTenancy; |
|
|
|
using Volo.Abp.AspNetCore.Mvc; |
|
|
|
using Volo.Abp.Auditing; |
|
|
|
using Volo.Abp.AuditLogging.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
@ -40,6 +41,7 @@ namespace BloggingService.Host |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpAutofacModule), |
|
|
|
typeof(AbpAspNetCoreMvcModule), |
|
|
|
typeof(AbpEventBusRabbitMqModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqlServerModule), |
|
|
|
typeof(AbpAuditLoggingEntityFrameworkCoreModule), |
|
|
|
|
|
|
|
@ -9,6 +9,7 @@ using Microsoft.OpenApi.Models; |
|
|
|
using MsDemo.Shared; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.AspNetCore.MultiTenancy; |
|
|
|
using Volo.Abp.AspNetCore.Mvc; |
|
|
|
using Volo.Abp.Auditing; |
|
|
|
using Volo.Abp.AuditLogging.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
@ -29,6 +30,7 @@ namespace IdentityService.Host |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpAutofacModule), |
|
|
|
typeof(AbpAspNetCoreMvcModule), |
|
|
|
typeof(AbpEventBusRabbitMqModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqlServerModule), |
|
|
|
typeof(AbpAuditLoggingEntityFrameworkCoreModule), |
|
|
|
|
|
|
|
@ -12,6 +12,7 @@ using MsDemo.Shared; |
|
|
|
using Swashbuckle.AspNetCore.Swagger; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.AspNetCore.MultiTenancy; |
|
|
|
using Volo.Abp.AspNetCore.Mvc; |
|
|
|
using Volo.Abp.Auditing; |
|
|
|
using Volo.Abp.AuditLogging.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
@ -32,6 +33,7 @@ namespace ProductService.Host |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpAutofacModule), |
|
|
|
typeof(AbpAspNetCoreMvcModule), |
|
|
|
typeof(AbpEventBusRabbitMqModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqlServerModule), |
|
|
|
typeof(AbpAuditLoggingEntityFrameworkCoreModule), |
|
|
|
|
|
|
|
@ -9,6 +9,7 @@ using MsDemo.Shared; |
|
|
|
using StackExchange.Redis; |
|
|
|
using Volo.Abp; |
|
|
|
using Volo.Abp.AspNetCore.MultiTenancy; |
|
|
|
using Volo.Abp.AspNetCore.Mvc; |
|
|
|
using Volo.Abp.Auditing; |
|
|
|
using Volo.Abp.AuditLogging.EntityFrameworkCore; |
|
|
|
using Volo.Abp.Autofac; |
|
|
|
@ -29,6 +30,7 @@ namespace TenantManagementService.Host |
|
|
|
{ |
|
|
|
[DependsOn( |
|
|
|
typeof(AbpAutofacModule), |
|
|
|
typeof(AbpAspNetCoreMvcModule), |
|
|
|
typeof(AbpEventBusRabbitMqModule), |
|
|
|
typeof(AbpEntityFrameworkCoreSqlServerModule), |
|
|
|
typeof(AbpAuditLoggingEntityFrameworkCoreModule), |
|
|
|
|