Answer Posted / amrit sidhu
The Global.asax file, sometimes called the ASP.NET
application file, provides a way to respond to application
or module level events in one central location. You can use
this file to implement application security, as well as
other tasks.
The Global.asax file is in the root application directory.
While Visual Studio .NET automatically inserts it in all
new ASP.NET projects, it's actually an optional file. It's
okay to delete it—if you aren't using it. The .asax file
extension signals that it's an application file rather than
an ASP.NET file that uses aspx.
The Global.asax file is configured so that any direct HTTP
request (via URL) is rejected automatically, so users
cannot download or view its contents. The ASP.NET page
framework recognizes automatically any changes that are
made to the Global.asax file. The framework reboots the
application, which includes closing all browser sessions,
flushes all state information, and restarts the application
domain.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Can you dynamically assign a Master Page?
How can we create pie chart in asp.net?
Tell me how asp.net mvc differs from asp.net web forms? : asp.net mvc
Any one can tell how we store tiff format images in database and retrive from the database(need for tiff format only)
What is postback in asp net?
What is marshalling ? Is it a part of asp.net ?
Explain Life cycle of ASP.NET page when a request is made.
Explain cashing in asp.net.
How would you turn off cookies on a page of a website?
What setting must be added in the configuration file to deny a particular user from accessing the secured resources?
Explain different types of Caching techniques in ASP.NET?
Whats the difference between abstract factory pattern and factory pattern?
Can we store object in viewstate?
Explain what is the procedure to create the environment for asp.net? : asp.net mvc
In a Repeater control how one can provide an alternating color scheme ?