Introduction:
In this article I will explain the differences between appsettings and connection strings in web.config using asp.net.
In this article I will explain the differences between appsettings and connection strings in web.config using asp.net.
Description:
In previous posts I explained Read or Write appsettings from
web.config,
Read/Write connection strings in
web.config.
Now I will explain differences between appsettings and connection strings in web.config using asp.net.
In many cases, we need to use some data string throughout the application simple example for this database connection string. Instead of writing the same connection string wherever required, it is easy to maintain if we store it in one place that is web.config file.