What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?
Answer Posted / abhishek vyas indore
web.config file is generated automatically if we are run a application in first time a but gloabal.asax file is not generated its a optional file,
web.config is a xml file where global.asax is class file
web.config file is more efficient as compared to global.asax
Is This Answer Correct ? | 24 Yes | 2 No |
Post New Answer View All Answers
Where is http session stored?
What is viewstate in asp net with example?
Define viewstate in .net?
What is master page in dtp?
What is ipostback?
Explain the asp.net page life cycle.
What is the difference between user control an custom control?
Explain how is a property designated as read-only?
Why do we use web config?
How response object is related to asp's response object?
Where are session variables stored?
What is server infrastructure?
Difference between application events and session events
Can you explain how ASP.NET application life cycle and page life cycle events fire?
What is state management in .net?