ASP.NET INTERVIEW QUESTION & ANSWERS
81. |
What is AppSetting Section in "Web.config" file? |
|
Web.config file defines configuration for a web project. Using "AppSetting" section we can define user-defined values. |
82. |
What is the role of global.asax? |
|
Store global information about the application. |
83. |
What file do you use to handle Session and Application events? |
|
The global.asax file handles Session and Application events. |
84. |
Can an ASP.NET app figure out at run-time what version of ASP.NET it's hosted by? |
|
Yes, by reading the static Version property of the Framework's System.Environment class. |
85. |
How can we identify that the page is Post Back? |
|
Page object has an "Ispostback" property, which can be checked to know that is the page posted back. |