Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whats the Product module and whats the Product.Host service? #759

Closed
hitaspdotnet opened this issue Jan 26, 2019 · 2 comments
Closed

Whats the Product module and whats the Product.Host service? #759

hitaspdotnet opened this issue Jan 26, 2019 · 2 comments
Labels

Comments

@hitaspdotnet
Copy link
Contributor

Mr @hikalkan
Hi,
Why we need two type of same module? In your design, modules are just library references and they need an extra application for running? Isn't possible to implement Host services in their own module?
How we can access to our module's api end-point by pushing F5 without having demo app in our module's solution?

@hikalkan
Copy link
Member

Hi,

Modules are libreries as you said. They are not runnable applications. A module does not assume how it will be run, the final application decides it. You can run a module as a self deployed service or as a part of a monolithic application. See https://abp.io/documents/abp/latest/Best-Practices/Module-Architecture#layers-packages for possible usages of a module.

In addition, the application will make configurations, prepare the asp.net core pipeline and many other tasks those should not be assumed by a module. Demo applications in the modules are sample minimalist example applications use the module.

Also, most of the times, modules needs each other. For instance, blog module needs to a user & permission management system. Identity module is an implementation of the user management module. But we don't want blog module directly depends on the identity module. So, the application brings modules together and prepares a fully running application.

@hitaspdotnet
Copy link
Contributor Author

Thanks for letting me know more about the modules with your description❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants