|
|
|
@ -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 => |
|
|
|
|