Activities of "narinder@urvin.finance"

ABP Framework version: 5.2.1 UI type: Blazor server DB provider: EF Core

In one of my microservice. where i am using disributed servcie one of my entity change logs are not updated. I tried to do the same with other entity and it workds. please suggest something.

Unable to create user after adding

   Configure<AbpDistributedEntityEventOptions>(options =>
    {
        options.EtoMappings.Add<IdentityUser, UserEto>(typeof(AbpIdentityDomainModule));
        //options.EtoMappings.Add<IdentityClaimType, IdentityClaimTypeEto>(typeof(AbpIdentityDomainModule));
        //options.EtoMappings.Add<IdentityRole, IdentityRoleEto>(typeof(AbpIdentityDomainModule));
        //options.EtoMappings.Add<OrganizationUnit, OrganizationUnitEto>(typeof(AbpIdentityDomainModule));

        options.AutoEventSelectors.Add<IdentityUser>();
        //options.AutoEventSelectors.Add<IdentityRole>();
    });

This is giving error while creating user something related to method invocation

Ok Thanks. let me try

Do i need to add AbpIdentityDomainModule module in my project

ABP Framework version: 5.2.1
UI type: Blazor server
DB provider: EF Core

Hi I have created some properties in Identity User and it is saving working. but In my other microservice i am handling its create/update event handler using UserEto. Now the issue is that event handling is working fine but it not giving my additional propteries because UserEto is implementing IuserData which has does not have my additional properties. please suggest how and where should i update the changes.

Answer

Hi. I Did that is there any thing else needs to be done. also i am able to get client ip address insdide blazor app. but not in gateway. its always.::1.

Question
  • ABP Framework version: 5.2.1
  • UI type: Blazor
  • DB provider: EF Core

I'm using microservices with Blazor Server. I'm getting issue with Audit Logs. The IP address is not local IP instead of inbound(Client IP Address)

Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module UrvinFinance.ProductService.ProductServiceTestBaseModule, UrvinFinance.ProductService.TestBase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: An exception was thrown while activating UrvinFinance.ProductService.EntityFrameworkCore.ProductServiceDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions1[[UrvinFinance.ProductService.EntityFrameworkCore.ProductServiceDbContext, UrvinFinance.ProductService.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].. See the inner exception for details. ---- Autofac.Core.DependencyResolutionException : An exception was thrown while activating UrvinFinance.ProductService.EntityFrameworkCore.ProductServiceDbContext -> λ:Microsoft.EntityFrameworkCore.DbContextOptions1[[UrvinFinance.ProductService.EntityFrameworkCore.ProductServiceDbContext, UrvinFinance.ProductService.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]. -------- System.ArgumentNullException : Value cannot be null. (Parameter 'connectionString')

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