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

Console applications should participate to the main host builder #5006

Closed
hikalkan opened this issue Aug 9, 2020 · 1 comment
Closed

Console applications should participate to the main host builder #5006

hikalkan opened this issue Aug 9, 2020 · 1 comment

Comments

@hikalkan
Copy link
Member

hikalkan commented Aug 9, 2020

Currently, we are adding a hosted service which internally uses AbpApplicationFactory.Create to create the ABP application with its own services and configuration.

However, we should add services to the main host builder and use the configuration from the host builder.

See the related SO question: https://stackoverflow.com/questions/63192191/using-abpapplicationfactory-create-overwrites-iconfiguration

We should change all the related projects. However, first implement for the console startup template to see if that's what we want. You can continue to apply to other applications after my review.

@hikalkan
Copy link
Member Author

hikalkan commented Aug 9, 2020

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

No branches or pull requests

2 participants