Can you please provide an example of how to configure DefaultAzureCredential?
Hi, We want to use managed identity to connect to redis not password.
configurationOptions = await ConfigurationOptions.Parse($"{cacheHostName}:6380").ConfigureForAzureWithUserAssignedManagedIdentityAsync(managedIdentityId!);
connectionMultiplexer = await ConnectionMultiplexer.ConnectAsync(configurationOptions);
The Microsoft.Azure.StackExchangeRedis package supports authentication via Managed Identity. Is there a way to override ABP.IO’s default cache connection configuration to leverage this package and connect securely to Azure Redis?
So how can we test this in our microservice project? Do we need to upgrade the packages to v9.3?
Hi, we’ve tested this in the sample project and it’s working as expected. However, in our main project, we don’t have a HandleSelector configured, and setting it up might be difficult due to the number of events and the fact that our event handlers are in a separate project. The handlers also persist data to both Entity Framework and MongoDB. Is there an alternative way to test this setup without configuring HandleSelector?
Also, we’re wondering about error handling:
Hi,
Processed is getting set to true for us every time, it is not even invoking the handler. https://streamable.com/4wmglj
Hi, I have sent you the debug logs. Can you please check?
Hi, We have events coming from different microservices. So, if the events are not received in the correct order, it throws foreign key exception when inserting to db. await _repository.InsertAsync(appLicence);
Hi,
Please find below the event handler code. _repository stores data to SQL Server Db. _eventHistoryRepository stores data to mongo db.