What is the use of web.config? Difference between
machine.config and Web.config?

Answer Posted / gaurav kumar soni

Web config File is Most Important part of any application. without web config file you can't execute any web application. In web config we declare all setting like Connection String, Memory Management, customizing security,state management and
much more. While machine.config file defines the supported
configuration file section,configure asp.net worker process
and registers providers that can be used for advanced
features such as profiles,membership and role-based
security

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why asp.net is used?

554


Which object is used to encapsulate the state of the client and the browser in ASP.NET?

588


What is the parent class of all web server control?

537


Explain cashing in asp.net.

523


What is difference cookie and session?

525






What is the most appropriate lifetime for a database connection/orm context in an asp.net mvc application? : Asp.Net MVC

530


What does asax stand for?

516


What kind of data we can store in viewstate?

574


What is an example of an application service provider?

451


What’s difference between “optimistic” and “pessimistic” locking?

575


How to disable validator control by client side JavaScript?

569


Define a web service in .net?

611


What is an asp.net web form?

625


Do you know caching feature?

562


Explain the difference between web user control and web custom control?

534