Open Closed

Commercial License and Source code #610


User avatar
0
truong.nguyen@outlook.com created

ABP Commercial v3.3.1 License: Business

public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
    LicenseChecker.Check<AbpAccountSharedApplicationModule>(context);
}

What is LicenseChecker.Check function? What does it do? Why is it needed?

Also, all of the commericial modules has dependency of Abp.Commercial.Core package? What is this package? And where can I get the source code for this package?


8 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You don't need to add this line of code in your module. we use this module to check commercial license information.

  • User Avatar
    0
    truong.nguyen@outlook.com created

    Since I have the Business license, if I were to rebuild the commercial modules from source code (Volvo.Account.Pro). Can I remove this LicenseChecker.Check<>()? What will happen?

    Also, what is the purpose of AbpLicenseCode in appsettings.json file?

    Where can I download the source code for Volo.Abp.Commercial.Core?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @truong.nguyen@outlook.com

    If you have the source code of the module, you can remove it, the nuget package of abp commercial requires license check.

  • User Avatar
    0
    truong.nguyen@outlook.com created

    Can you also answer these questions?

    Also, what is the purpose of AbpLicenseCode in appsettings.json file, generated from Application Template using Abp Suite.

    Where can I download the source code for Volo.Abp.Commercial.Core?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    LicenseChecker.Check will read AbpLicenseCode in appsettings.json to check your license.

    The Volo.Abp.Commercial.Core package is not open source.

  • User Avatar
    0
    truong.nguyen@outlook.com created

    Thanks. So I assume that if I rebuild all modules from source codes with LicenseChecker removed, then I don't need to include the ApbLicenseCode in the appsettings.json file. Is this correct?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    Correct : )

  • User Avatar
    0
    truong.nguyen@outlook.com created

    Many thanks.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38