Skip to content

Add support working with appsettings.json in Asp.Net Core 2.x and above #370

@rahicks26

Description

@rahicks26

Description

In core there has been a shift away from web.config files and to using appsettings.json to hold configuration settings. It would be ideal if these configuration files could be used with type providers.

Repro steps

  1. Build an asp.net core application

  2. Configure trivial type provider that references the name of the connection string in appsettings.json

  3. Build applicaiton

Expected behavior

The expected behavior is for the type provider to be able to locate the connection string in the config file.

Actual behavior

The connection string cannot be found and the application will not build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions