abpframework / abpframework/abp
More abstractions packages to reduce dependencies
@hikalkan is already working on this.
Since Sep 16, 2021.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
ABP has some Abstractions NuGet packages, but we can add more and adjust existing ones to reduce dependencies.
For example, AbpDddApplicationContractsModule depends on AbpAuditingModule to just use the auditing interfaces. However, it doesn't need the auditing system fully working. Creating an AbpAuditingAbstractionsModule can reduce the dependency chain for AbpDddApplicationContractsModule (think that AbpAuditingModule has dependencies and most of them are unnecessary for the AbpDddApplicationContractsModule).
We especially want to reduce dependencies of client applications (like Blazor WASM). They are depending on application.contracts packages and in current situation, there are some unnecessary packages are coming. This can be a good optimization reduce the output size of client applications.
This work is not trival since dependencies have dependencies. For example, I wanted to move some AbpLocalizationOptions to AbpLocalizationAbstractionsModule, but it see we have dependency to AbpVirtualFileSystemModule which should also have a kind of abstractions package.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.