Browse Source

Ignore ComponentBase for DynamicProxyIgnoreTypes

pull/5908/head
Halil İbrahim Kalkan 6 years ago
parent
commit
06064fd94e
  1. 3
      framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/AbpAspNetCoreComponentsWebAssemblyModule.cs

3
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<ComponentBase>();
context.Services.AddConventionalRegistrar(new AbpWebAssemblyConventionalRegistrar());
PreConfigure<AbpHttpClientBuilderOptions>(options =>

Loading…
Cancel
Save