Activities of "imranStem"

imran@spacestem.com

I sent it by wetransfer.

I sent email

I am getting following error now.

System.AggregateException: 'Some services are not able to be constructed (Error while validating the service descriptor 'ServiceType: Church.Api.Services.IShipmentAppService Lifetime: Transient ImplementationType: Church.Api.Services.ShipmentAppService': Unable to resolve service for type 'AutoMapper.IMapper' while attempting to activate 'Church.Api.Services.ShipmentAppService'.)

I have added dependency of auto mapper.

[DependsOn(typeof(NxPBlobStoringAwsModule), typeof(AbpAutoMapperModule))]
public class ChurchAipModule : AbpModule
{

Its still not working. I have checked in host project as well as in application project.

I have created the class but do I need to register this class in configuration? How it will overwrite the existing class? I am using abp azure module nuget package so Do I need to use the source code instead of package.

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))]

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";
}
Showing 1 to 10 of 74 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.