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
Which two new properties are added in asp.net 4.0 page class?
How does exception management works in ASP.NET?
What is sql data source control in asp.net?
What is the difference between application state and session state in asp net?
If you want to bind the columns manually within the asp:datagrid tags what kind of tags you have to add.
What is the difference between session and viewstate in asp.net?
What are cookies in your browser?
What are the benefits of view state?
What is http session state?
Is asp.net outdated?
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
What is viewstate? In which event of the page life cycle, is the viewstate available?
What is preprocessor in .net? Where it use?
Explain the difference between sql invalidation and sql notification.
What is a nested masterpage in asp.net 2.0? Can there be a master page inside a masterpage?