What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?
Answer Posted / hridya
We can place connction str in global.asax
bt
web.config file is generally considered a better place
because it's a
simple text file that is easily updated without needing to
recompile
anything and changes go into effect immediately.
Is This Answer Correct ? | 11 Yes | 0 No |
Post New Answer View All Answers
How do you secure your configuration files to be accessed remotely by unauthorized users?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
Which .NET framework supports Web API?
What is the exact purpose of http handlers?
Explain automatic memory management in .net.
What are the Types of session management in ASP.NET
Where session variables are stored?
In What Order Do The Events Of An Aspx Page Execute. As A Developer Is It Important To Undertsand These Events?
What are ASP.NET Web Forms? How is this technology different than what is available though ASP?
What is marshalling ? Is it a part of asp.net ?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
What is the difference between asp.net and mvc?
What is asp.net master page?
What is the use of placeholder control? Can we see it at runtime?
Describe the application event handlers in ASP.NET?