Answer Posted / sabari
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 ? | 18 Yes | 3 No |
Post New Answer View All Answers
What is x xss protection?
What is razor? : asp.net mvc
What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state?
What are the asp.net security controls?
What is http post action?
What is query string?
Explain the asp.net page life cycle.
What are web server controls in asp.net?
What is sdlc process?
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
How would you implement inheritance using c#?
How can you dynamically add user controls to a page?
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
What is view state management in asp net?
What is http post and http get?