What is AppSetting Section in “Web.Config” file?

 Posted by ArticlesMaint on 9/15/2009 | Category: ASP.NET Interview questions | Views: 6374

Answer: -
Web.config file defines configuration for a web project. Using “AppSetting” section, we can define user-defined values. Example below defined is “Connection String” section, which will be used through out the project for database connection.

<add key="ConnectionString" value="server=xyz;pwd=www;database=testing" />

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response