예제 #1
0
        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>();
                });
            });
        }
예제 #3
0
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     DynamicProxyIgnoreTypes.Add <ComponentBase>();
     context.Services.AddConventionalRegistrar(new AbpWebAssemblyConventionalRegistrar());
 }
예제 #4
0
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     DynamicProxyIgnoreTypes.Add <ControllerBase>();
 }