Activities of "liangshiwei"

Hi @rachanee-mwp,

Is your database connection string correct?

abp has a module for managing email settings, but not public yet. I will reply to you after confirmation.

Yes this is enough. If you still have problems, I can help you remotely.

For quartz, it is two different jobs.

If you want to add only one background worker instance, you should specify Job Identity, See https://www.quartz-scheduler.net/documentation/quartz-3.x/tutorial/index.html for more information.

But if you use persistent storage, it throws an exception, you can add the following code to your project : https://github.com/liangshiw/AbpVnextQuartzBackground/blob/master/QuartzBackgroundWorkerManager.cs.

You need to pay attention, if your periodic work is missed multiple times, it will only try to execute it for you once.

You can track this PR : https://github.com/abpframework/abp/pull/3382.

Feature system has not documented yet. It's purpose and usage is similar to https://aspnetboilerplate.com/Pages/Documents/Feature-Management.

You can also refer to: https://github.com/abpframework/abp/blob/dev/docs/en/AspNet-Boilerplate-Migration-Guide.md#feature-management.

For tenants with database connection strings, the data is kept in a separate database. The information of the tenant itself is stored in the host database (connection string, tenant name, etc.).

Answer

Hi @ididsbury,

Do you mean to add a toolbar to a custom page?

If you use a layout page, the toolbar will be displayed on your page, You only need to add toolbar contributors according to the documentation.

If you are not using a layout page, you can add a toolbar conponent to page , like this.

If you want a new toolbar, you can add your own toolbar component, like this, The important thing is StandardToolbars.Main, you need to replace it with your own toolbar constant.

Hi @talhazengin

I checked your code. You added workers repeatedly.

Quartz integration will automatically add workers, See Source Code. So, for quartz you don't need to add it manually.

There is another reason for repetition. You did not specify the job identity, for quartz, it is two different jobs.

In the next version, there will be an option to disable automatic add. See https://github.com/abpframework/abp/pull/3382.

liangshiw@outlook.com

You can send a email to me.

Using layout-hooks, you can add code to specific locations of the layout (including the top).

Is there an option to move a bundle to the top of a page and/or header

There is currently no such way.

Is there an option to remove scripts from a bundle, we may need to move the jquery script from the global bundle to another bundle with the telerik components that is loaded earlier on the page.

You can delete scripts through custom bundle contributors. Example:

public class CustomGlobalScriptContributor: BundleContributor
{
    public override void ConfigureBundle(BundleConfigurationContext context)
    {
        context.Files.RemoveAll(x => x.Contains("jquery"));
    }
}
context.Services.Configure<AbpBundlingOptions>(options =>
{
    options
        .ScriptBundles
        .Configure(StandardBundles.Scripts.Global, bundle => {
            bundle.AddContributors(typeof(CustomGlobalScriptContributor));
        });
});
Showing 5921 to 5930 of 5950 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11