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 is gridview in asp.net?
What is the difference between adding reference in solution explorer and adding references by using ?
What are httphandlers and httpmodules and difference between them?
Difference between overriding and overloading?
How many types of session in ASP.NET
Is data edited in the Repeater control?
What is a web api? Which protocol is used in a web api?
How you will manage the state of ASP.NET controls?
Apart from IDE what are the enhancements in asp.net 2.0?
What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?
Do cookies store passwords?
What are the events in a page life cycle?
What is validation in asp.net?
When should I use server transfer and response redirect?
Explain Session state management options in ASP.NET.