Starts in:
1 DAY
0 HR
30 MIN
12 SEC
Starts in:
1 D
0 H
30 M
12 S

Activities of "imranStem"

I have created one abp module class library where I need to fetch the features, I am already fetching the setting and setting is working fine. I have added Volo.Abp.Features reference in the class library to get the required features.

In the class, I injected ISettingStore settingStore, IFeatureStore featureStore.

When I get the setting from the settingStore then I am getting the setting value but when I am using the featureStore to get the feature, it returning the null value. I am not able to fetch the feature values from feature store.

Do I need to add dependency of AbpFeaturesModule ?

[DependsOn(typeof(AbpFeaturesModule))]

When we add permission or remove permission from the Roles or Users, It takes too much time to apply that permission. I have to restart the application to apply permission changes so how we can resolve the permission issues and update the caching data on permission change. I am using the modular architecture and I have several applications as modules.

  • ABP Framework version: v7.X.X
  • UI Type: Angular
  • Database System: EF Core (SQL Serve)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I have one library and I am using the Feature Store GetOrNullAsync but it returning the null value and when I debug the code and check the Results View, the data is there.

  • ABP Framework version: v8.1.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

However, this can work only if the audit log database with the given connection string is available. So, you need to create the second database, create audit log tables inside it and maintain the database tables. No problem if you manually do all these. However, the recommended approach is the code first migrations. One of the main purposes of this document is to guide you on such database separation scenarios.

Ok, I understand, The migration for module can be manage by module itself, not the application.

I have add builder.ConfigureYourModule() and migration is updating default database not module database.

I mean one apps can have multiple databases connection string, Like If I want abp audit log in different database then we can configure that same way, I want different database for custom module. One is default connection string and ModuleConnectionString.

public static class ModuleDbProperties
{
    public static string DbTablePrefix { get; set; } = "Module";

    public static string? DbSchema { get; set; } = null;

    public const string ConnectionStringName = "Module";
}

I have already called builder.ConfigureYourModule(); in module class, If I add builder.ConfigureYourModule(); in main application ef core module then it will create entities in same database, not in module database. Right?

Execution command : dotnet ef migrations add TestName Folder: Ef core module in main application

Migration run successfully but only with abp entities, not module entity. I have add reference of module ef core in main ef core module and also add DependsOn ef core module ref to main ef core module.

Do I need to do any other configuration to add module entities migration?

I have created new module and add each project references to main application project like application into application, ef into ef module. When I add migration with module dbContext then It throws error that no dbContext was found. The startup project is main host application and selected project is main entity framework module.

  • ABP Framework version: v8.3.0
  • UI Type: Angular
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Confirm email is disabled.

Showing 1 to 10 of 118 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06