1.

What is the appSettings section in the web.config file?

Answer»

We can USE the appSettings block in the web.config file, if we want to set the user-defined values for the whole application. Example code given below will make use of ConnectionString for the DATABASE CONNECTION throughout the project:

<EM> <configuration> <appSettings> <add key= "ConnectionString" VALUE="server=local; pwd=password; database=default" /> </appSettings> </configuration></em>


Discussion

No Comment Found