Activities of "hanntd"

Hi @jfistelmann, I tried to use Dynamic API Client Proxy as the guide from here: https://docs.abp.io/en/abp/latest/API/Dynamic-CSharp-API-Clients

  1. In the GL module I have Account (finance account) Entity, this entity will be accessed by other modules. I build each projects in this module into nuget packages and push to package management server.
  2. In the appsetting of HttpApi.Host of this module I changed Auth server to the AuthServer of OM Module. Then I started only HttpApi.Host of GL Module.
  3. In Blazor project of another module I add reference to GLApplication.Contract package and in the blazor UI application I inject AccountsAppService to call GetListAsync. Then I start Auth, Blazor.Host, HttpApi.Host of this module.
  4. When run the blazor screen having call to AccountsAppService in GL module it throw the error:
  5. In the razor page I have added this code:
  6. If I review the Authorize code above it throw another error:

We are stuck on this problem two weeks, please advise us which approach will be best for our case when we need to exchange data between modules in our application. Thanks

I don't know the reason why and because the project is in rush so I generate the new module template and transfer the code from the error module to new, it's ok now. Thanks

Hi, I still confuse to use Distributed events for my case:

  • I'm in module OM (Order Management) and I want to retrieve list of Customer from Module AR (Account Receivable).
  • And in some cases is vice versa, such as I'm in module AR and I want to retrieve list of Orders (in OM module) of a customer in AR module. Could you please give me a sample code or workflow for my case? Thanks

Hi, I'm sorry because I haven't ever used events bus before and I'm quite new to ABP Framework so I still confuse how to retrieve data from an entity in another modules so that I can join with the entity in the current module. Which and where I need to publish and subscribe? Thanks Dharma (Han Nguyen)

Thanks for your information but it will be helpful if you have a document guide step by step how I can do in ABP to use distributed events for my case. Thanks, Dharma (Han Nguyen)

Hi Jfistelmann, Thanks for your information, I can merge two DbContext and do the join query well but having the issue we need to add DbSet for all AggregateRoot/Enties in GL Module although I just need one Aggregate is Account: And the second issue I mentioned in the first post is still cannot resolve, mean I cannot do migration if the table having foreign key refer to the Id in the Account table.

Thanks, I forgot to add the mapping for the UI Layer, now it already worked.

Thanks a lot for your support, I will try your code.

I have done as you recommended and it threw another exception:

Hi Jack, I did as you recommended, I tried to add try... catch in DeleteAsync in ApplicationService but when I debug it always by passed. I only can catch the exception in blazor page but there is no detail to help me check is it FGK exception or not. How and where can I catch this exception so that I can get the detail error and check if it is FGK exception I will throw a friendly message to user. Thanks, Daharma (Han Nguyen)

Showing 81 to 90 of 114 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.