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

fixed: ModulesHostBuilder dosn't configures ModulesHost #28

Merged
merged 14 commits into from May 10, 2021

Conversation

fw2568
Copy link
Contributor

@fw2568 fw2568 commented May 9, 2021

Changed the way how the ModulesHost (building host) is configured due to issue #27:

  • ConfigureAppConfiguration will configure ModulesHost and host of module.
  • ConfigureServices will now also be applied to ModulesHost.
    This allows to us to use things like logging also within the Hosuto framework. It should on the other hand cause no harm, as these services are also applied to every module.
  • WebHostBuilder configuration will no longer overwrite host configuration.
    This was implemented by changing the call order of ConfigureAppConfiguration and ConfigureWebHost as documented here: UseEnvironment overwritten by ConfigureWebHostDefaults dotnet/runtime#47050

@fw2568 fw2568 added the bug Something isn't working label May 9, 2021
@fw2568 fw2568 linked an issue May 9, 2021 that may be closed by this pull request
@fw2568 fw2568 merged commit ab23c69 into main May 10, 2021
@fw2568 fw2568 deleted the pull/fix_host_app_configuration branch May 10, 2021 14:05
@fw2568 fw2568 added this to the v0.4 milestone May 11, 2021
@fw2568 fw2568 changed the title fixed: ModulesHostBuilder dosn't configures App Host fixed: ModulesHostBuilder dosn't configures ModulesHost May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default configurations are not applied to app host
1 participant