Open Closed

ABP Dynamic & Static Proxy Generation Customization #3214


User avatar
0
jforsythe created

Is there a method for customizing proxy generation?

We have determined that the template to generate the proxies is hard coded in the code file Volo.Abp.Cli.ServiceProxying.CSharp.CSharpServiceProxyGenerator. This class is part of the Volo.Abp.Cli.Core library. Since this code is run by the CLI (at least for static client proxy generation) we do not see a way to swap in our own code unless we fork and maintain a custom version of the CLI. Our goal is to change the ClientProxyBase with a base class of our own.

  • ABP Framework version: v5.2.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Tiered
  • Exception message and stack trace: N/A
  • Steps to reproduce the issue:" N/A

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    I think you can only custom the CLI code and build a new CLI(named: myabp)

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11