What is web.config in .net?



What is web.config in .net?..

Answer / Bhanu Pratap

"Web.Config" is an XML-based configuration file used by ASP.NET web applications to store various application settings, such as connection strings, authentication settings, session state, and more. It allows developers to modify the behavior of their web application without modifying the code itself.nnExample:nn```xmln<configuration>n <connectionStrings>n <add name="ConnectionString1" connectionString="Server=localhost;Database=MyDB;User Id=myusername;Password=mypassword;" providerName="System.Data.SqlClient" />n </connectionStrings>n</configuration>n```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is JIT and how is works?

3 Answers  


How is meant by dll in .net?

1 Answers  


Explain the difference between public and static modifiers?

1 Answers  


Explain me how does linq work?

1 Answers  


Please explain what is the .net framework and how does it work?

1 Answers  


How to prepare parametrized (with more than one parameters) crystal report.pls tell me the code procedure, if any body can?

1 Answers  


How can I tell if .net 3.5 is installed?

1 Answers  


What is Complex Class in .NET?

1 Answers  


Why DLL files are needed. & how They are Created in DOTNET?

1 Answers  


What is Application Domain?

1 Answers  


What's the problem with .net generics?

1 Answers  


Is .net capable of supporting multi-thread?

1 Answers  


Categories