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
What are the advantages of using session?
How can we update records in gridview?Is there any appropriate code for it?
What is the advantage of mvc over asp.net? : Asp.Net MVC
We are using Jscriopt validations and at clint site javascript is not running that time validation would work? if yes then how it would behave?
How can you make sure that web api returns json data only?
How does exception management works in ASP.NET?
What is sdlc process?
How do you change the session time-out value?
What’s the difference between response .redirect and server.transfer?
How do u deploy ur project?
What is the file through which you can customize your asp.net application?
Why do we need master page in asp.net?
What does occur first in ASP.Net, Authentication or Authorization?
Is it possible to change the index of primary key on table?
What is the difference between WindowsDefaultLocation and WindowsDefaultBounds?