Quantcast
Channel: Visual Studio - .NET Blog
Viewing all articles
Browse latest Browse all 50

IntelliSense for appsettings.json

$
0
0

The appsettings.json file is a common way to configure .NET apps. ASP.NET Core uses appsettings.json and appsettings.${Environment}.json files to configure some of its most frequently used features, including:

  • Database connection strings
  • Kestrel endpoints
  • HTTPS certificates
  • Logging
  • Host filtering

Visual Studio and Visual Studio Code (with C# extension 1.23.8 or later) now support IntelliSense of well known appsettings.json configuration settings. IntelliSense allows you to quickly edit your app’s configuration and get immediate feedback on available properties or typos.

IntelliSense for appsettings.json in action:

Image appsettings schema

There isn’t anything you need to do to enable this feature. Try it out today! Happy coding.

The post IntelliSense for appsettings.json appeared first on .NET Blog.


Viewing all articles
Browse latest Browse all 50

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>