Programming in almost language

This is the site where you may share your knowledge and experience to eachother..

  • Categories

  • LinkedIn

  • Tweet Me

  • My footsteps

  • Advertisements

ASP.NET Configuration Web.Config Files Elements

Posted by Praveen Kumar on April 5, 2008

The elements in this schema tell us how our ASP.NET web application is going to behave.

Note: Default values are for your server can be found in your Machine.Config file that is located in ..\Microsfot.Net\Framework\version#\config\Machine.config

The root element of your configuration file is <configuration>:


The following is a overview of all the XMl files Elements (Schema) in your Web.Config file:


Configuration files as you know are in XML format. The actual schema for all three of Machine Configuration files, Application configuration and security configuration files is broken down to the following elements:

The child elements are:

  1. Startup

    This setting specifies what version of the CLR your application will run

    Elements include: requiredRuntime, supportedRuntime

  2. Runtime

    The runtime settings specificy how the CLR will handle garbage collection along with the version of the assembly to use

    Elements include: assemblybinding, assemblyIdentity, bindingRedirect, codeBase, dependantAssembly, devleopmentMode, gcConcurrent, probling, publisherPolicy, qualifyAssembly, runtime

  3. Remoting

    This section allows you to put custom settings in remoting application configuration files

    Elements include: system.runtime.remoting, application, lifetime, channels, serverProviders, formatter, client, wellknown, activiated, service, interopXmlType, preload, channelSinkProviders, provider, debug and customErrors

  4. Network Settings

    Determines how the .NET framework will connect to the internet.

    Elements include: authenticationModules, connectionModules, defaultProxy,, webRequestModules

  5. Cryptography

    Specifies how to map algorithm names to classes that implement the cryptography algorithms.

    Elements include: cryptoClasses, cryptoClass, cryptoghraphySettings, mscorlib, nameEntry, oidEntry, oidMap

  6. Configuration Sections

    Elements for custom settings in configuration files

    Elements include: add, appSettings, clear, configSections, remove, section, sectionGroup

  7. Trace and Debug Settings

    Tracing and Debugging settings that specify how trace listerners will collection and route messages and also at what levels the tracing listerners are set

    Elements include: add, assert, listeners, remove, switches, system.diagnostics, trace

  8. ASP.NET Settings

    Contains elements that control how your ASP.NET Web application will react. Please refer to your machine.config for default settings.
    Elements include: system.web, add, allow, assemblies, authentication, authorization, broswerCaps, case, clear, clientTarget, compilation, compiler, credentials, customErrors, deny, error, filter, forms, globalization, httpHandlers, httpModules, httpRuntime, identity, location, machineKey, pages, passport, processModel, protocols, remove, result, securityPolicy, sessionState, soapExtensionImporterTypes, soapExtensionReflectorTypes, soapExtensionTypes, trace, trust, trustLevel, use, user, webServices, WsdlHepGenerator.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: