Managing Modular Dependencies and Registration Order #5
-
|
Hi @cbcrouse , I wonder in case your application is modularized, and you have many modules, for example
Does Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @minhhungit, StartupOrchestration.NET does not currently provide any specific support for managing service registration order in modularized applications with complex dependencies between modules. However, since the registration of services is performed through expressions, you can control the order of registration of services within a module. For cross-module dependencies, it may be necessary to manually manage the registration order by explicitly registering services in the correct order. Dependencies in the application will be registered before any dependencies in the presentation layers. If you look at the log output sample on the readme, you will be able to see the order in which dependencies are registered. However, I'll break that example down below: Let me know if this answer helps. |
Beta Was this translation helpful? Give feedback.
-
|
thank you FYI |
Beta Was this translation helpful? Give feedback.
Hi @minhhungit, StartupOrchestration.NET does not currently provide any specific support for managing service registration order in modularized applications with complex dependencies between modules. However, since the registration of services is performed through expressions, you can control the order of registration of services within a module. For cross-module dependencies, it may be necessary to manually manage the registration order by explicitly registering services in the correct order.
Dependencies in the application will be registered before any dependencies in the presentation layers. If you look at the log output sample on the readme, you will be able to see the order in which …