Software / Programs

Dot Net Questions on Web Config

There are two Config Files Web.Config and Machine.Config and these configurations files are XML-based text files and have named web.config that can be appear in any directory of web application created in ASP.NET . Web.config configuration settings to all the files and on child directory file of the application and directory it is located in and to all virtual child directories beneath it. Child directories have option to override or modify settings that is specified in parent directories .

The root configuration file WinNTMicrosoft.NETFrameworkconfigmachine.config provides default configuration settings for the entire machine and all application under it . But one thing is that IIS cannot configures to direct browser access to web.config files to ensure that their values cannot become public and error which is shown is ASP.NET to return 403: Access Forbidden. The main functioning of Config file explorere it self at run time in ASP.NET and ASP.NET uses these web.config configuration files to hierarchically compute a unique collection of settings for each incoming URL target request .Some of the settings that's comes in Config files is just like sessionstate. Session state features can be added in web.config in session state tag.We can also set the timeout policy there which is default 20 minutes mainly there are four modes of session in config file.

Off -Indicates that session state is not enabled.

Inproc - Indicates that session state is stored locally.

StateServer-Indicates that session state is stored on a remote server.

SQLServer-Indicates that session state is stored on the SQL Server.

And another section of the config file is connection string or we can say that appSettings that's the great advantage of config file that we can place our connection string that's help in securing of our connection string from the user because this file cannot be browse some other feature also in config file just like Custom Error, Authorization, Authentication assembly reference.

For more information on <a href="http://www.dotnetquestion.info">Dot Net Interview Questions</a> visit - dotnetquestion.info








best software
swish
photo editing
xsitepro
creative suite
adobe shortcuts
xhtml
firefox secret
software
Firewalls and Proxies
best programs
Drive By Downloads
adobe photoshop
ArticleDenial of Service Attack
email
Backdoor Programs
Why the Flight from On Premise to On Demand CRM Software
Adware Overview
Virus Overview
How to view PowerPoint on TV
Virus Hoaxes
Online Computer Repair Services
The Nimda Virus
Quick tips on buying foreign currency and paying for goods abroadl
The Michelangelo Virus
Stop Squinting and Fight Eye Strain with a Virtual Magnifying Glass
The CIH Virus
Where To Go To Find Computer Software Ratings And Reviews
Spyware Overview
What Is Used For An Accountant s Computer Software
Robert Tappan Morris and the Internet Worm
Video Conferencing Computer Software
Malware Overview
The World of Computer Software For, Web Design
Macro Viruses and the Melissa virus
Virus-History 2001 to Present
Legitimate Adware
The World O -Computer Software For Genealogy Enthusiasts
Home Page Hijacking and Browser Helper Objects
The-Prefect Card Making Computer Software
History of Viruses 1999 through 2001
Quicken 2007 Computer Software.
History of Computer Viruses to 1989
QuickBooks Computer Software.
Is It Safe To Download Computer Software From The Internet
Protect Your Computer From Spyware Computer Software.
Installing And Uninstalling Computer Software
Photographers Computer Software.
Having Fun With Karaoke Computer Software
Microsoft Office Computer Software
History of Computer Viruses since 1989 1999
Protect Your Computer With Anti Virus Computer Software