Skip to content

Rename default appsettings.json file to local.settings.json #122

@lindydonna

Description

@lindydonna

We've gotten feedback from customers that the name appsettings.json is confusing. I did a poll on the Advisors group. We got 50+ responses, with most voting for the name local.settings.json.

We should do the following:

  • Change the default file that is created on func init
  • On all commands that use the settings file (e.g. func host start, func settings), print a deprecation warning if appsettings.json is used

    Warning: The filename 'appsettings.json' is deprecated. Rename it to local.settings.json

  • If both files exist, print a warning

    Warning: found both 'local.settings.json' and 'appsettings.json'. Ignoring 'appsettings.json'.

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