Open Closed

Extending UserAppService | best practice to make changes in ABP modules code #4740


User avatar
0
moinahmed created

Hi,

I'm new to ABP framework and need some help regarding best practices to make changes in ABP modules code. We need to extend one of the methods (specifically CreateAsync) to publish another event to Distributed event bus service, upon new user creation. We have the module (Identity.pro) source code; however, I'm not sure if it is a good idea to include the whole module source code into our project, instead I'm looking for the best practices on how to do that. Is there any better way to make such changes without making the whole module source code part of your project?

Thanks, Moin


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can override the application service in the module without source code.

    https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Guide

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15