Open Closed

Removing microservices #6787


User avatar
0
rishabh.shukla created

ABP Framework version: 8.0.3

UI Type: Angular

Database System: MongoDB

Tiered (for MVC) yes or Auth Server Separated (for Angular): yes

Steps to reproduce the issue: I need to remove the some out of box services that are provided by ABP microservices template. Please note that I do not need the authentication and authorization from ABP and need to add my own microservices. Please help me on how to do it?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi

    I need to remove the some out of box services that are provided by ABP microservices template

    I'm assuming here that removing the language management service:

    1. Remove all Volo.Abp.LanguageManagement packages from the solution
    2. Update the AdministrationServiceDbContext to remove related code(entity, ConfigureLanguageManagement, namespce using etc..)
    3. Remove all module references, for example: typeof(LanguageManagementEntityFrameworkCoreModule),, typeof(LanguageManagementApplicationModule),
    4. Update AdministrationServiceEntityFrameworkCoreModule to remove options.ReplaceDbContext<ILanguageManagementDbContext>();
    5. Run the dotnet ef migrations add Remove_Language_Management command on the ...AdministrationService.EntityFrameworkCore folder to add a new migrations file
    6. Run the DbMigrator to apply the change.
    7. Update yarp.json file to remove LanguageManagement route config.
    8. Remove @volo/abp.ng.language-management from package.json and remove related code from Angular UI.

    Please note that I do not need the authentication and authorization from ABP

    You can add the AddAlwaysAllowAuthorization to the SharedHostingAspNetCoreModule class

    need to add my own microservices

    See https://docs.abp.io/en/commercial/latest/startup-templates/microservice/add-microservice

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    rishabh.shukla created

    It is not about the LanguageManagement Service. I need to remove the administration and identity microservice as I don't need them.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    The administration and identity are the basis of microservices, If you remove them, the microservice template will not work.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 23, 2026, 09:57
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.