adspace


What is web.config in .net?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the .net syntax for 'while loop'?

1141