I've a problem on a shared DLL on ABP .Net 4.x not core.
I've create a shared DLL where I put some Interface/implementation like
MyControllerApplicationService : IApplicationService
So If I move this class from ApplicationModule MyControllerApplicationService is not registered and I don't see on js and Ioc to restore the normal functionality I need to move back to Application module.
Is there a way to solve this issue?
4 Answer(s)
-
0
Hi,
You can create a module on your shared DLL and depend on this one from your app module. And register classes like this https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/AbpZeroTemplateApplicationModule.cs#L27 in your shared module.
-
0
Hi
but in this we my DLL is strict dependent from ABP version. I see that in Core version the shared dll is not a module, is it correct?
-
0
@ismcagdas
I look into the Core solution when I plan to use shared DLL and I see that on Core there is some DLL but is not a ABP module.
What I'm wrong?
-
0
show your project's module class code