Skip to content

WebHostBuilder.UseStartup<>() Must have a constraint for class type #1472

Closed
@xumix

Description

@xumix

Something list this:

public static IWebHostBuilder UseStartup<TStartup>(this IWebHostBuilder hostBuilder) where TStartup : class, IAppStartup

Or even a base class with required constructor, so I know from the beginning what method must be implemented.

There is NO way for me at the moment to understand the Startup class methods and their signature w/o reading some examples and docs or launching the app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions