Starts in:
1 DAY
21 HRS
51 MIN
6 SEC
Starts in:
1 D
21 H
51 M
6 S
Open Closed

Update License Bussiness ABP #5728


User avatar
0
CI created

Verifique a documentação antes de fazer uma pergunta: https://docs.abp.io/en/commercial/latest/ Confira os exemplos para ver as tarefas básicas: https://docs.abp.io/en/commercial/latest/samples/index A solução exata para sua pergunta pode ter sido respondida antes, então use primeiro a busca na página inicial. Forneça-nos as seguintes informações:

  • ** Versão do Framework ABP **: v7.2.3
  • ** Tipo de UI **: Angular
  • ** Sistema de Banco de Dados **: EF Core (SQL Server)
  • ** Em camadas (para MVC) ou servidor de autenticação separado (para Angular) ** :não
  • ** Mensagem de exceção e rastreamento completo da pilha ** :
  • ** Etapas para reproduzir o problema ** :

Hi,

Work for two companies, each company has its bussines license.

I needed to make a project based on the ABP that will serve both companies and I downloaded some modules for customization, etc...

Based on this base project that I customized, I need to make two copies, that is, one for each company.

Where do I need to change the license key so that each project has its respective license for each company?


3 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    The license key is in the appsettings.secrets.json file. If these companies will make development, then both companies need to purchase a license and generate a new project with the same project name, then replace their own code with yours in the appsettings.secrets.json file.

    For Angular, appsettings.secrets.json files are located in the DbMigrator and HttpApi.Host projects.

  • User Avatar
    0
    CI created

    Hi,

    Both have bussinnes license. Instead of going through my changes piece by piece, I'd like to go through everything and just change the licenses... the Project Name will be the same for both.

    In Angular there are no secrets?

  • User Avatar
    0
    jfistelmann created

    Hi,

    first thing to notice: dooes the module really depend on something which involves the commercial license? if not -> resolve that.

    if it does depend on commercial license:

    the commercial license part is inside the appsettings.secrets.json. just open the solution in vs code (for example) and search for "AbpLicenseCode"

    This is the thing you need to have set individually for each of your customers. In the example above, we have that several times. You may want to work with things like a common.props or Directory.Build.props file to reduce the amount of files needed to change and you may also want to exclude that file from change tracking.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06