Activities of "rcalv002"

Hi Liang,

Yes the recurring worker jobs are okay, in my sample i triggered queued for processing various non-recurring worker jobs that take TransactionProcessingArgs. You can see in the screenshots above, maybe trigger a bunch of these. You should get failures since you dont have keys to use the domain service and these will end up in retry states. Stop the application and try again? Any time I have jobs in the hangfire.jobs table it wouldnt start back up

Shared via mail, thanks

maliming, I also see other problems with the template. I've compared against standard app template.

In standard app template:

  • Generate fresh template with abp new prodrelease -t app
  • run dbmigrator
  • Set ASPNETCORE_ENVIRONMENT to Production
  • Add an entry to en.json localization
  • Login to frontend, localization content is fine.
  • Validate by calling /api/abp/application-configuration you can see the new entry under prodrelease node of localization

In nolayer

  • Generate fresh template with abp new prodrelease -t app
  • run dbmigrator
  • Set ASPNETCORE_ENVIRONMENT to Production
  • Add an entry to en.json localization
  • Login to frontend, localization content from json in local project is not fine, you see the Welcome_Title instead of the localized text
  • Validate by calling /api/abp/application-configuration you can not see the new nor any project specific entry under prodrelease node of localization . This issue also seems to affect other embedded content, like for example if you create a new settings component to have custom settings, this content doesnt get loaded in Production build unless you copy the Components folder to the bin folder where the production build is generated.

Thanks. In the snippet below, the template also seems to be missing the automapper module registration

private void ConfigureAutoMapper(IServiceCollection services)
    {
        services.AddAutoMapperObjectMapper<MyModule>(); // This line seems to be missing too
        Configure<AbpAutoMapperOptions>(options =>
        {
            /* Uncomment `validate: true` if you want to enable the Configuration Validation feature.
             * See AutoMapper's documentation to learn what it is:
             * https://docs.automapper.org/en/stable/Configuration-validation.html
             */
            options.AddMaps<MyModule>(/* validate: true */);
        });
    }

Can you confirm?

Yes this worked, should this be part of the standard template ?

Perfect that worked, I'm not sure why that line was added ( I definitely did not add it manually to the project)

Thanks again!

sent via email

Hi Maliming

Can I list the tenants in my DB in my configureservices on application module? If yes, can you show a sample please?

bump

Hi Enisn,

Thanks for the info, yes I know how to add an http client, if you check my original question here its how to loop through the list of tenants so i can add http clients for each tenant, could you please provide an example of how to loop the tenants in my configure services so i can add required httpclients?

You can see currently I'm doing this, I'm missing the tenant list and specific settings part.

Showing 31 to 40 of 57 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11