Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Custom DLL usable like APP in JS? (Module/Plugin?) #3604


User avatar
0
bbakermmc created

We have a DLL that contains all of our DB logic for connecting to each of our clients DBs. Is there a way to register it so it can make the methods usable in JS like the APP/AppServices does?

I found this but I cant find a DynamicApiControllerBuilder in any of the code.

DynamicApiControllerBuilder
    .ForAll<IApplicationService>(Assembly.GetAssembly(typeof (SimpleTaskSystemApplicationModule)), "tasksystem")
    .Build();

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    It is defined in ABP here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp.Web.Api/WebApi/Controllers/Dynamic/Builders/DynamicApiControllerBuilder.cs">https://github.com/aspnetboilerplate/as ... Builder.cs</a>.

    You can investigate ABP's source codes to get an idea about it. You can create similar classes for your own DLLs.

    Thanks.