AppSetting Section in asp .net

It is containing all topics related to Visual Basic, .NET Framework, Web Resource, GDI etc.
Ladva Nidhi
Posts: 295
Joined: Sat Sep 20, 2014 5:26 pm
Contact:

AppSetting Section in asp .net

Postby Ladva Nidhi » Thu Oct 16, 2014 5:31 pm

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


Guest

Re: AppSetting Section in asp .net

Postby Guest » Tue Aug 04, 2015 5:55 am

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.

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


Return to “Visual Basic .NET and ASP.NET”

Who is online

Users browsing this forum: No registered users and 1 guest