abpframework / abpframework/abp

More abstractions packages to reduce dependencies

Open
#8,771 1 comment 4 reactions 1 assignee View on GitHub

@hikalkan is already working on this.

Since Sep 16, 2021.

abp-framework enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.