Skip to content

Create opinionated meta package for extensions #597

Closed

Description

@davidfowl

We'd like to create a meta package that contains a Host.CreateDefaultBuilder with a set of opinionated defaults. Thinking about this more I think we should keep the good name for the meta package Microsoft.Extensions.Hosting and make a new Microsoft.Extensions.Hosting.Core that contains what Hosting is today.

cc @glennc @rynowak @Tratcher

Activity

  1. added this to the 3.0.0-preview2 milestone on Dec 7, 2018
  2. rynowak commented on Dec 7, 2018

    @rynowak

    metapackage or shared framework :trollface:

  3. Tratcher commented on Dec 7, 2018

    @Tratcher
    Member

    I'm not convinced we actually need a new assembly/package in this case. It was required for WebHost because there was no other package that could pull in Hosting, servers, middleware, etc. In the generic host scenario it's only pulling in lower level components. E.g. these are the dependencies that might need to be added, none of which are onerous:
    Microsoft.Extensions.Configuration.EnvironmentVariables
    Microsoft.Extensions.Configuration.CommandLine
    Microsoft.Extensions.Configuration.Json
    Microsoft.Extensions.Configuration.UserSecrets
    Microsoft.Extensions.Logging.Console
    Microsoft.Extensions.Logging.Debug
    Microsoft.Extensions.Logging.EventSource

    Including Console and CommandLine makes sense as we already have a built in ConsoleLifetime. UserSecrets seems like the only very optional feature.

  4. self-assigned this
    on Dec 7, 2018
  5. davidfowl commented on Dec 8, 2018

    @davidfowl
    MemberAuthor

    We'll need user secrets to be in by default as well so unless anyone has any objections. These packages will be added to the default Microsoft.Extensions.Hosting.

  6. ghost locked as resolved and limited conversation to collaborators on Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions