أنشطة "AbpRaven"

We solved the issue. Just remove these certificate and create a new ones.

and next question. at what point these certificates are installed

Hi,

I am not able to reproduce this issue from a newly create app (6.0.0) on abp suite. Could you please share your project to support@abp.io.?

This problem is not with source. Could you explain me what it is "localhost.conf"?

Hi,

Can you try this solution. https://support.abp.io/QA/Questions/3537/OpenIddict-WindowsCryptographicException-Access-is-denied

Hi I don't have IIS on my local machine. I am not deploying an application. I am running a project locally for development and am getting this error.

إجابة

hi I sent

إجابة

hi Thank you so much. I have tried you solution and it works. Btw I have resolve this issue another way. But one smole question what is the method options.AddDataMigrationEnvironment() ?? Because right now i do not have it

إجابة

Hi,

You can try:

public sealed class SampleAppService_Tests : IdentityServiceDomainTestBase 
{ 
    private readonly IUserAppService _userAppService; 
    private ISettingManagementStore _abpSettingStore; 
 
    protected override void BeforeAddApplication(IServiceCollection services) 
    { 
        _abpSettingStore = Substitute.For<ISettingManagementStore>(); 
        services.AddSingleton(_abpSettingStore); 
        base.BeforeAddApplication(services); 
    } 
     
    public SampleAppService_Tests() 
    { 
        _userAppService = GetRequiredService<IUserAppService>(); 
    } 
 
    [Fact] 
    public async Task Test() 
    { 
        var test = await _userAppService.CreateUser(new UserCreateInput() 
        { 
            UserName = "TestUserName", 
            Email = "test@test.com" 
        }, ERole.External); 
    } 
} 

If I IdentityServiceDomainTestBase I can test only managers. But I need to test applications services.

إجابة

If I use IdentityServiceDomainTestBase I got another error: `Autofac.Core.Registration.ComponentNotRegisteredException: The requested service 'AMSuisse.IdentityService.Interfaces.User.IUserAppService' has not be...

Autofac.Core.Registration.ComponentNotRegisteredException The requested service 'AMSuisse.IdentityService.Interfaces.User.IUserAppService' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.`

إجابة

hi, Why should we use IdentityServiceDomainTestBase for application layer tests?

إجابة

Hi,

Could you provide the full steps to reproduce the problem? thanks.

I have create a new (first) test in identity microservice

public sealed class SampleAppService_Tests : IdentityServiceApplicationTestBase
{
    private readonly IUserAppService _userAppService;
    private ISettingManagementStore _abpSettingStore;

    protected override void BeforeAddApplication(IServiceCollection services)
    {
        _abpSettingStore = Substitute.For<ISettingManagementStore>();
        services.AddSingleton(_abpSettingStore);
        base.BeforeAddApplication(services);
    }
    
    public SampleAppService_Tests()
    {
        _userAppService = GetRequiredService<IUserAppService>();
    }

    [Fact]
    public async Task Test()
    {
        var test = await _userAppService.CreateUser(new UserCreateInput()
        {
            UserName = "TestUserName",
            Email = "test@test.com"
        }, ERole.External);
    }
}

And got this error Autofac.Core.DependencyResolutionException: An exception was thrown while activating Volo.Abp.Settings.DefaultValueSettingValueProvider -> Volo.Abp.SettingManagement.SettingStore -> Volo.Abp.SettingManagement.SettingManagementStore. ---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Volo.Abp.SettingManagement.SettingManagementStore' can be invoked with the available services and parameters: Cannot resolve parameter 'Volo.Abp.SettingManagement.ISettingRepository settingRepository' of constructor 'Void .ctor(Volo.Abp.SettingManagement.ISettingRepository, Volo.Abp.Guids.IGuidGenerator, Volo.Abp.Caching.IDistributedCache1[Volo.Abp.SettingManagement.SettingCacheItem], Volo.Abp.Settings.ISettingDefinitionManager)'.`

عرض 1 الي 10 من 15 إدخالات
Made with ❤️ on ABP v8.2.0-preview Updated on مارس 25, 2024, 15:11