Activities of "liangshiwei"

Hi,

You can upload to google drive or onedrive and share the link with me.

Hi,

Oh, the single-layer template missing the GlobalFeatureConfigurator class.

You can add the GlobalFeatureConfigurator to your project manually.

For example:

public class MyGlobalFeatureConfigurator
{
   private static readonly OneTimeRunner OneTimeRunner = new OneTimeRunner();

    public static void Configure()
    {
        OneTimeRunner.Run(() =>
        {
            GlobalFeatureManager.Instance.Modules.CmsKit(cmsKit =>
            {
                cmsKit.EnableAll();
            });

            GlobalFeatureManager.Instance.Modules.CmsKitPro(cmsKitPro =>
            {
                cmsKitPro.EnableAll();
            });
        });
    }
}
public class MyProjectNameModule ....
{
    .....
    public override void PreConfigureServices(ServiceConfigurationContext context)
    {
        MyGlobalFeatureConfigurator.Configure();
    }
}

PS: You also need to add the database migration file.

Hi,

You may need to install the CMS kit module manually. The CLI doesn't support it yet.

Hi,

As I understand, you want to install the CMS Kit module to the single-layer project.

Of course, you can do it.

Answer

Hi,

You should check whether the data exists before inserting it, for example:

https://github.com/abpframework/abp/blob/d7fbcb95f23307c611ee77de2bbdd1d41ff673b7/modules/identity/src/Volo.Abp.Identity.Domain/Volo/Abp/Identity/IdentityDataSeeder.cs#L58-L66

Answer

Hi,

Of course not.

But first, you need to read the document to understand how it works: https://blog.abp.io/abp/ABP.IO-Platform-7-4-RC-Has-Been-Published

To be safe, you should create a new git branch to update the version. If everything works as expected, merge it into the main branch.

Answer

Hi,

Sorry, I didn't get it.

Could you explain it in detail? thanks.

Answer

Hi, you need to upgrade your project and suite to version 7.4.0.

For performance, ABP will cache permission definitions and check CacheStamp.

https://github.com/abpframework/abp/blob/1f16df3fd426d3a8ac4ad68c1c59d8f080c5f26a/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/DynamicPermissionDefinitionStore.cs#L91-L109

You should update the CacheStamp value after inserting a permission. https://github.com/abpframework/abp/blob/1f16df3fd426d3a8ac4ad68c1c59d8f080c5f26a/modules/permission-management/src/Volo.Abp.PermissionManagement.Domain/Volo/Abp/PermissionManagement/DynamicPermissionDefinitionStoreInMemoryCache.cs#L17

Hi,

You can give it a try

Showing 3271 to 3280 of 6692 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20