eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 
eg: UK or Brides UK or Classical Art or Buy Music or Spirituality
 

Your Online Guide » »

[D616]Dot Net Web Application
by Adam Sturo, Ada
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 has sinced written about articles on various topics from Family Travel, Architecture and Interview Questions. Adam Sturo provides you the latest Interview Questions Answers for getting. Adam Sturo's top article generates over 49500 views. Bookmark Adam Sturo to your Favourites.
EditorialToday has 0 sub sections. Such as . With over 20,000 authors and writers, we are a well known online resource and editorial services site in United Kingdom, Canada & America . Here, we cover all the major topics from self help guide to A Guide to Business, Guide to Finance, Ideas for Marketing, Legal Guide, Lettre De Motivation, Guide to Insurance, Guide to Health, Guide to Medical, Military Service, Guide to Women, Pet Guide, Politics and Policy , Guide to Technology, The Travel Guide, Information on Cars, Entertainment Guide, Family Guide to, Hobbies and Interests, Quality Home Improvement, Arts & Humanities and many more.
About Editorial Today | Contact Us | Terms of Use | Submit an Article | Our Authors