What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?
Answer Posted / saiish
web.config contains values.
global.config contains code.
n we cant place connection string code in global.asax.
we can place only in web.config.
| Is This Answer Correct ? | 6 Yes | 15 No |
Post New Answer View All Answers
What are the asp.net 2.0 features?
What is the use of global.asax file?
Define the steps to set up validation control.
What is the difference between mvc and asp.net? : Asp.Net MVC
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
What are the ways to sending the data in ASP.NET page?
What are sessions and cookies?
What is a web pool?
How do you secure your configuration files to be accessed remotely by unauthorized users?
What is inproc mode in session?
How you can access the properties and controls of master pages from content pages?
WSDL means?
What is webresource axd?
Why we go for mvc instead of asp.net? : Asp.Net MVC
Who is using asp.net?