Dot Net Questions on Web Config
This article gives you the basic knowledge of web config file. 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.
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 Dot Net Interview Questions visit - dotnetquestion.info
Adam Sturo provides you the latest Interview Questions Answers for getting dot net jobs easily in gurgaon, delhi NCR.
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 Dot Net Interview Questions visit - dotnetquestion.info
Adam Sturo provides you the latest Interview Questions Answers for getting dot net jobs easily in gurgaon, delhi NCR.

Use the feedback form below to submit your comments.

Use the form below to email this article to your friends.

- Cool Web Site Directories: Finding Really Cool Sites
- Webmaster Follies - Ignoring PR0 Directories
- How To Get Instant Results with Web Directory Submissions
- Finding Quality Web Directories to Submit your Site to
- Increase Web Site Traffic – All About Free Web Directories
- How to Use Web Directories to Boost Traffic to Your Site
- Web Directories - General Introduction
- Promoting your Web Site on the Search Engines and Directories
- Posting to Web Directories
- Using Free Website Submission Services
- Is Submitting your Website to Directories still worthwhile?
- Getting listed in DMOZ - Not as easy as we'd like it to be
- Get listed at DMOZ
- How is Directory Submission helpful in Search engine optimization?
- Pros and Cons of Automated Directory Submissions Explained
- Importance of Directory Submission and the Value of Varied Titles
- Article Directory
- Getting Listed in the ODP, Google Directory
- 6 Reasons Why I Would Submit To Yahoo's Paid Directory
- Vertical Search Directory Calling For Exceptional Sites



