Browse Source
Merge pull request #5922 from abpframework/maliming/DynamicProxyIgnoreTypes-ViewComponent
Add ViewComponent to DynamicProxyIgnoreTypes.
pull/5956/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/AbpAspNetCoreMvcModule.cs
|
|
@ -55,6 +55,7 @@ namespace Volo.Abp.AspNetCore.Mvc |
|
|
{ |
|
|
{ |
|
|
DynamicProxyIgnoreTypes.Add<ControllerBase>(); |
|
|
DynamicProxyIgnoreTypes.Add<ControllerBase>(); |
|
|
DynamicProxyIgnoreTypes.Add<PageModel>(); |
|
|
DynamicProxyIgnoreTypes.Add<PageModel>(); |
|
|
|
|
|
DynamicProxyIgnoreTypes.Add<ViewComponent>(); |
|
|
|
|
|
|
|
|
context.Services.AddConventionalRegistrar(new AbpAspNetCoreMvcConventionalRegistrar()); |
|
|
context.Services.AddConventionalRegistrar(new AbpAspNetCoreMvcConventionalRegistrar()); |
|
|
} |
|
|
} |
|
|
|