Web.Config File in ASP.NET

Here's the basic skeletal structure of the web.config file:

The web.config File

<?xml version="1.0" ?>

<configuration>
  <
appSettings>...</appSettings>
<connectionStrings>...</connectionStrings>
  <
system.web>...</system.web>
</
configuration>

The <appSettings>  section allows you to add your own miscellaneous pieces of information. You'll learn how
to use it in the next section.

The <connectionStrings> section allows you to define the connection
information for accessing a database.

The <system.web> section holds every ASP.NET setting you'll need to configure.

Ebook Download
View all
Learn
View all