I am trying to understand the reasoning behind the module system, and under which circumstances it would be beneficial to implement it over other standard options such as class libraries and Nuget packages (that is not clear from the official documentation).
Specifically when contrasted to class libraries and Nuget packages, I am trying to understand it's distinct value proposition.
- Which distinct benefits do I gain when I create and implement an ABP module, as opposed to a class library or Nuget package?
- Under which circumstances would it beneficial to create an ABP module as opposed to a normal class library or Nuget package
In other words, why use the module system, rather than just creating a Nuget package?
1 Answer(s)
-
0
Hi @mightyit
ABP's Modules provide lifecycle methods. Also, you can define dependencies between modules and you can use your modules as Plugins.
ABP automatically register classes of a module to dependency injection automatically.
Of course, all of these might be achieved if you create a nuget package but ABP provides a standard way of doing it.