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

appsettings.json intellisense support missing #2926

Closed
Legends opened this issue Mar 6, 2018 · 3 comments
Closed

appsettings.json intellisense support missing #2926

Legends opened this issue Mar 6, 2018 · 3 comments

Comments

@Legends
Copy link

Legends commented Mar 6, 2018

I am using VS2017 and created an ASP.NET Core 2.0 project, but I have no intellisense support in the appsettings.json file?

Any planned support for this?

@Tratcher
Copy link
Member

Tratcher commented Mar 6, 2018

What kind of settings did you have in mind? Intellisense is challenging in this context as it's a free-form structure, the developer can bind any section to any component. The ASP.NET components read almost no data direct from appsettings by default (Kestrel is the only one I can think of and that's new in 2.1).

@shirhatti @glennc

@natemcmaster
Copy link
Contributor

Duplicate of #2867

@natemcmaster natemcmaster marked this as a duplicate of #2867 Mar 6, 2018
@Eilon Eilon closed this as completed Mar 6, 2018
@Legends
Copy link
Author

Legends commented Mar 6, 2018

Something like this:

{
  "Logging": {
    "IncludeScopes": false,
    "Debug": {
      "LogLevel": {
        "Default": "Warning"
      }
    },
    "Console": {
      "LogLevel": {
        "Default": "Warning"
      }
    }
  },
  "Jwt": {
    "Key": "veryVerySecretKey",
    "Issuer": "http://localhost:63939/"
  }
}

@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants