Open Closed

Is it possible to run and host each frontend subsystem independently (as a standalone Angular application)? Or are these projects tightly coupled as modules within the main Angular application and cannot function separately? #9104


User avatar
0
g.hasan@tatweermea.com created

I have a quick question: When using ABP Studio to create a microservice-based application with an Angular frontend, it generates sub Angular projects for each .NET microservice. Is it possible to run and host each frontend subsystem independently (as a standalone Angular application)? Or are these projects tightly coupled as modules within the main Angular application and cannot function separately?


1 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, In the Angular frontend generated by ABP Studio for a microservice-based architecture, each subproject typically corresponds to an Angular library.

    These frontend "subsystems" are not standalone Angular applications by default — they are structured as libraries, meaning they are meant to be consumed by a root Angular application (the host app). This structure promotes code sharing and encapsulation across microservices.

    However, it is technically possible to host each subsystem as an independent Angular application, but this requires:

    1. Creating a new Angular application shell for each library.
    2. Wiring up routing, environment configs, and bootstrapping logic manually.
    3. Ensuring each new app has access to shared services (e.g., authentication, theming, localization) if needed — which might involve refactoring common modules into shared libraries.

    So, while they're not tightly coupled to the main app and can be decoupled, they’re not standalone out-of-the-box. Making them standalone would involve restructuring and setting up new applications that consume these libraries independently.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 16, 2025, 12:13