![]() ![]() NET Core, the old style of reading values doesn’t work here. NET application is given below.īut as we move towards. The way of the reading the values of Connection string and keys and value pairs in. We store the connection strings, keys, and value pairs mostly in "appsettings.json" file. But Web.config file is in XML format and "appsettings.json" file is JSON format. In this file, we mostly store global values so that we can read those in the entire application. This file is similar to the Web.config file. The "appsettings.json" file contains configuration settings. You will ask why we want to read values from "appsettings.json" and what is there in "appsettings.json" that we would want to read it. In this article, we are going to learn how to read values from "appsettings.json" file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |