From 06064fd94e6d975d6f750aa7d50ade03006b650e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Halil=20=C4=B0brahim=20Kalkan?= Date: Thu, 22 Oct 2020 17:16:14 +0300 Subject: [PATCH] Ignore ComponentBase for DynamicProxyIgnoreTypes --- .../WebAssembly/AbpAspNetCoreComponentsWebAssemblyModule.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/AbpAspNetCoreComponentsWebAssemblyModule.cs b/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/AbpAspNetCoreComponentsWebAssemblyModule.cs index 6664ec773a..0fba352983 100644 --- a/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/AbpAspNetCoreComponentsWebAssemblyModule.cs +++ b/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/AbpAspNetCoreComponentsWebAssemblyModule.cs @@ -4,6 +4,7 @@ using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.Logging; using Volo.Abp.AspNetCore.Components.WebAssembly.ExceptionHandling; using Volo.Abp.AspNetCore.Mvc.Client; +using Volo.Abp.DynamicProxy; using Volo.Abp.Http.Client; using Volo.Abp.Modularity; using Volo.Abp.UI; @@ -18,6 +19,8 @@ namespace Volo.Abp.AspNetCore.Components.WebAssembly { public override void PreConfigureServices(ServiceConfigurationContext context) { + DynamicProxyIgnoreTypes.Add(); + context.Services.AddConventionalRegistrar(new AbpWebAssemblyConventionalRegistrar()); PreConfigure(options =>