What is the Difference between Web.config and global.asax?
Can we write connection String code in global.asax?
Answer Posted / asmita
web.config file if root level file you do not need to create it it is mainly used for authentication authorization ,database connection etc
global.asax file mainly handles application and session events.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between response.redirect and server.transfer?
How do you create a master page?
What is the difference between client-side and server-side validations in ASP.NET?
What does mean by a neutral culture?
What would be salary for 8+ years of experience in ASP.NET in different metro city in india?
What are strong names?
What are the Types of session management in ASP.NET
What is cross page posting in asp net?
What is a response cookie?
Can you explain the basic use of dataview?
Explain how caching in asp.net 2.0 is different from caching in asp.net 1.1?
How do you secure your configuration files to be accessed remotely by unauthorized users?
Is it possible to migrate visual interdev design-time controls to asp.net?
Where web.config file is used?
How long does an http session last?