public override void PreConfigureServices(ServiceConfigurationContext context) { DynamicProxyIgnoreTypes.Add <ControllerBase>(); DynamicProxyIgnoreTypes.Add <PageModel>(); context.Services.AddConventionalRegistrar(new AbpAspNetCoreMvcConventionalRegistrar()); }
public override void PreConfigureServices(ServiceConfigurationContext context) { DynamicProxyIgnoreTypes.Add <ComponentBase>(); context.Services.AddConventionalRegistrar(new AbpWebAssemblyConventionalRegistrar()); PreConfigure <AbpHttpClientBuilderOptions>(options => { options.ProxyClientBuildActions.Add((_, builder) => { builder.AddHttpMessageHandler <AbpBlazorClientHttpMessageHandler>(); }); }); }
public override void PreConfigureServices(ServiceConfigurationContext context) { DynamicProxyIgnoreTypes.Add <ComponentBase>(); context.Services.AddConventionalRegistrar(new AbpWebAssemblyConventionalRegistrar()); }
public override void PreConfigureServices(ServiceConfigurationContext context) { DynamicProxyIgnoreTypes.Add <ControllerBase>(); }