Activities of "peyman@debtrak.com"

Hello, are you trying to add a user from the admin page or to register? This code is working to add user from admin page. Can you create and share a project that doesn't work using this method? You can create a private repository on Github and authorize me.(https://github.com/salihozkara)

I solved the problem . I moved class from identityServer project to the HttpApi.Host Project and problem Solved.

I fixed the return type but result not changed,
your version is : v5.3.4? because as i see your constructor inputs are not same as i.
for example you dont have distributedEventBus as input for constructor

I tested it with MVC as it is a backend. That's why it's missing. Now I've created it with Angular. https://github.com/salihozkara/Qa4641/commit/17ea6c5e26a85f59580647cd444403794f93313b https://github.com/salihozkara/Qa4641/blob/master/aspnet-core/src/Qa4641.Domain.Shared/Qa4641.Domain.Shared.csproj#L19 The command I use to create the project is: abp new Qa4641 --version 5.3.4 -u angular

I write the same code as you but my override method not executed.do u have any idea why this happen?

The return type is wrong in the code you tried. It worked when I fixed it

I fixed the return type but result not changed, your version is : v5.3.4? because as i see your constructor inputs are not same as i. for example you dont have distributedEventBus as input for constructor

Can you try this way? [Dependency(ServiceLifetime.Transient, ReplaceServices = true)]

I try this but override createAsync in IdentityUserAppService not executed

ABP Framework version: v5.3.4

UI type: Angular

DB provider: EF Core

Tiered (MVC) or Identity Server Separated (Angular): yes Im trying custom create user by admin in abp,so override createAsync in IdentityUserAppService,but this part of code not executed

[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IIdentityUserAppService))]
public class CustomIdentityUserAppService : IdentityUserAppService
{

    #region DI

    private readonly IContactDapperRepository _contactDapperRepository;

    public CustomIdentityUserAppService(IdentityUserManager userManager, IIdentityUserRepository userRepository, IIdentityRoleRepository roleRepository,                 IOrganizationUnitRepository organizationUnitRepository, IIdentityClaimTypeRepository identityClaimTypeRepository, IdentityProTwoFactorManager                     identityProTwoFactorManager, IOptions<IdentityOptions> identityOptions, IDistributedEventBus distributedEventBus, IOptions<AbpIdentityOptions>                 abpIdentityOptions, IContactDapperRepository contactDapperRepository) : base(userManager, userRepository, roleRepository,                                       organizationUnitRepository,identityClaimTypeRepository, identityProTwoFactorManager, identityOptions, distributedEventBus, abpIdentityOptions)
    {
        _contactDapperRepository = contactDapperRepository;
    }

    #endregion

    public override async Task<IdentityUserDto> CreateAsync(IdentityUserCreateDto input)
    {

        var x = await base.CreateAsync(input);
        var userContactId = CurrentUser.GetContactId().ToInt().GetValueOrDefault();
        var userSessionId = CurrentUser.GetUserSessionId().ToInt();
        var contactId = await _contactDapperRepository.CreateUserAsync(input, null, userContactId, userSessionId);

        return x;
    }

i try this

[ExposeServices( typeof(IIdentityUserAppService), typeof(IdentityUserAppService), typeof(CustomIdentityUserAppService))]

and this too [ExposeServices(typeof(CustomIdentityUserAppService), typeof(IIdentityUserAppService), typeof(IdentityUserAppService))]

but not working yet

ABP Framework version: v5.3.4

UI type: Angular

DB provider: EF Core

Tiered (MVC) or Identity Server Separated (Angular): yes Hi .we want for security in Forgot password , flow and messages be the same when an account exist or not exist, how can I do that? and i want to know how override SendPasswordResetCodeAsync and config it.

  • ABP Framework version: v5.3.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

how can i Extend Application Configuration Endpoint For version 5.3? i want get setting from database and set in Application Configuration Endpoint

  • ABP Framework version: v5.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes We update backend and front project , after update when I run abp generate-proxy -t ng command , all generated proxies and models and services get deleted. I Checked /api/abp/api-definition and I have all services and Dtos there.
Showing 1 to 8 of 8 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11