Abp: change ABP Prefix to custom name

Created on 16 Oct 2019  路  6Comments  路  Source: abpframework/abp

public class BlogModule : AbpModule
{
}

[DependsOn(typeof(AbpAspNetCoreMvcModule))]
[DependsOn(typeof(AbpAutofacModule))]
public class BlogModule
{
}

Most helpful comment

i am happy with abp prefix. but Team senior member ask me what is abp? why you write abp? so they suggest me to change abp prefix or dont write abp there ..

All 6 comments

Can you talk about it in detail?

i am working on micro-service project. So i decide to use abp project as base project for that. in abp project satisfy my all requirement. yesterday i demonstrate this project to my senior . he give me a suggestion to remove AbpModule to Module or any Custom prefix like XYZModule .

IS this possible . if yes then how???

public class BlogModule : AbpModule
{
}

to

public class BlogModule : XyxModule
{
}

[DependsOn(typeof(AbpAspNetCoreMvcModule))]
[DependsOn(typeof(AbpAutofacModule))]
public class BlogModule
{
}

to

[DependsOn(typeof(XyxAspNetCoreMvcModule))]
[DependsOn(typeof(XyxAutofacModule))]
public class BlogModule
{
}

Most people will let us add prefixes to modules, options, etc. abp stuff.

I don't understand why you want to remove/change it.

i am happy with abp prefix. but Team senior member ask me what is abp? why you write abp? so they suggest me to change abp prefix or dont write abp there ..

Don't waste your time, ask your senior to read ABP.io to understanding what is abp. If you changed prefixes you may lose any future updates.
@maliming Maybe changing ownership of the product from ABP to TeamSeniorXYZ.
I suggest you to read LICENSE.

You mean you download the ABP source code, modify it and use in your company as an internal framework.
Then you will not be able to get new features and bugfixes we add? I don't think you want that.
On the other hand, it is impossible to make Abp prefix changeable per project.

Also, check the license: https://github.com/abpframework/abp/blob/dev/LICENSE (GNU Lesser General Public License v3.0) You should follow the license rules.
If you create a modified ABP version (by copying all and modifying), you should make it open source with the same license.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hitaspdotnet picture hitaspdotnet  路  3Comments

mehdihadeli picture mehdihadeli  路  3Comments

ugurozturk picture ugurozturk  路  3Comments

hikalkan picture hikalkan  路  3Comments

hikalkan picture hikalkan  路  3Comments