Usage of web.configuration ?

Answers were Sorted based on User's Feedback



Usage of web.configuration ?..

Answer / j_baghla

This file is used to configure the application in terms of
session timeout,connection
timeout,authentication,authorization,debugging,tracing etc.

Is This Answer Correct ?    3 Yes 0 No

Usage of web.configuration ?..

Answer / tiger.net

This is the configuration file for the application, its
common practice for having application level config
settings available for the website.
We can have multiple web.config files for the application.
All the config settings of the application can be managed
and can be encrypted if requirement demands.
We can manage database connection, session settings,
authentication, authorization,...etc

We have machine.config file that can provide the config
settings for the websites, but it is laid per machine,
which is not not a good practice to use it, so in web
applications we can place the web.cnfig file for each
application, which has higher precidence over the
machine.config file.

Is This Answer Correct ?    0 Yes 0 No

Usage of web.configuration ?..

Answer / gayathri

The web.config file contains information that control module loading, security configuration, session state configuration, and application language and compilation settings. Web.config files can also contain application specific items such as database connection strings.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

When an ASP.NET server control is added to a web form, Visual Studio .NET adds one item to the class for the form. What item is added? a) The event registration. b) A protected class member for the control. c) A default event handler for the click event. d) A default class that inherits from the control?s base class.

4 Answers   Syntax Softtech, TCS,


How do you relate an aspx page with its code behind Page?

2 Answers   Accenture,


What are main return types supported in Web API?

0 Answers  


Can the action attribute of a server-side tag be set to a value and if not how can you possibly pass data from a form page to a subsequent page?

1 Answers  


Describe how to implement globalization and localization in the use interface in .net.

0 Answers  


What is Difference between Application object and Session Object

5 Answers  


Why session is necessary in web application?

0 Answers  


Can you explain one critical mapping? Performance issue which one is better? Whether connected lookup tranformation or unconnected one?

0 Answers  


How To Send Value one page to Another Page On MasterMenu Click ? please Tell Me!

3 Answers   Accenture,


What are validator? Name the validation controls in asp.net? How do you disable them? Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

0 Answers  


What is viewstate in asp net with example?

0 Answers  


Explain the difference between server control and html control.

0 Answers  


Categories