Activités de "Payoff"

Question

We need to integrate the login of a microservice written in .NET 7, without any dependency on ABP, with an application developed entirely in ABP 7.2.2 with OpenIddict. What we need is to enable the microservice to use ABP as its identity. How can we configure the microservice? Thank you.

  • ABP Framework version: 7.2.2
  • UI type: Angular
  • DB provider: EF Core PostgreSQL
  • *Identity Server Separated (Angular)**: no

Version 6.x introduce Publish with option to specify MessageId, but we need to read it and other attributes to avoid potential duplicate handling. I've not found any easy way to read messageId and other parameters like rbs2-senttime, rbs2-corr-id, ... from handler am I missing something?

I want to create something on top like: https://www.milanjovanovic.tech/blog/idempotent-consumer-handling-duplicate-messages Can I have entry point to add this to out solution?

tnx mik

I want to enable DbContextPool in my solution, but I don't want to use the connection string that is shared with other code that should not be pooled. The AddDbContextPool extension requires that it be called from IServiceCollection and I haven't found a way to modify the registration in ABP. I saw a previous answer that I can't apply: can I have an example with the code?

And here is the example code : Configure<AbpDbContextOptions>(options => { // add support to second level cache in ABP options.Configure(d => { if (enableSecondLevelCache) { d.DbContextOptions.AddInterceptors(d.ServiceProvider.GetRequiredService<SecondLevelCacheInterceptor>()); } /* The main point to change your DBMS. * See also BloxDbContextFactory for EF Core tooling. */ d.UseNpgsql(); }); });

Thanks

  • ABP Framework version: v6.0.3
  • UI type: Angular
  • DB provider: EF Core
Affichage de 11 à 13 sur 13 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11