{"id":24638,"date":"2021-03-02T10:00:41","date_gmt":"2021-03-02T17:00:41","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/aspnet\/?p=24638"},"modified":"2021-03-02T10:00:41","modified_gmt":"2021-03-02T17:00:41","slug":"intellisense-for-appsettings-json","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/dotnet\/intellisense-for-appsettings-json\/","title":{"rendered":"IntelliSense for appsettings.json"},"content":{"rendered":"<p>The <code>appsettings.json<\/code> file is a common way to <a href=\"https:\/\/docs.microsoft.com\/aspnet\/core\/fundamentals\/configuration\">configure .NET apps<\/a>. ASP.NET Core uses <code>appsettings.json<\/code> and <code>appsettings.${Environment}.json<\/code> files to configure some of its most frequently used features, including:<\/p>\n<ul>\n<li>Database connection strings<\/li>\n<li>Kestrel endpoints<\/li>\n<li>HTTPS certificates<\/li>\n<li>Logging<\/li>\n<li>Host filtering<\/li>\n<\/ul>\n<p>Visual Studio and Visual Studio Code (with C# extension 1.23.8 or later) now support IntelliSense of well known <code>appsettings.json<\/code> configuration settings. IntelliSense allows you to quickly edit your app&#8217;s configuration and get immediate feedback on available properties or typos.<\/p>\n<p>IntelliSense for <code>appsettings.json<\/code> in action:<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2021\/02\/appsettings-schema.gif\"><img decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/aspnet\/wp-content\/uploads\/sites\/16\/2021\/02\/appsettings-schema.gif\" alt=\"Image appsettings schema\" width=\"1296\" height=\"810\" class=\"alignnone size-full wp-image-24641\" \/><\/a><\/p>\n<p>There isn&#8217;t anything you need to do to enable this feature. Try it out today! Happy coding.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Visual Studio and Visual Studio Code now support IntelliSense for `appsettings.json`. IntelliSense allows you to quickly edit your app&#8217;s configuration and get immediate feedback on available properties or typos.<\/p>\n","protected":false},"author":11402,"featured_media":58792,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[197,7509,646],"tags":[],"class_list":["post-24638","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aspnet","category-aspnetcore","category-visual-studio"],"acf":[],"blog_post_summary":"<p>Visual Studio and Visual Studio Code now support IntelliSense for `appsettings.json`. IntelliSense allows you to quickly edit your app&#8217;s configuration and get immediate feedback on available properties or typos.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/24638","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/users\/11402"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/comments?post=24638"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/posts\/24638\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media\/58792"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/media?parent=24638"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/categories?post=24638"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/dotnet\/wp-json\/wp\/v2\/tags?post=24638"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}