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
What is synchronous and Asynchronous post back ?
What are main return types supported in Web API?
What is microsoft windows sharepoint services?
Explain the difference between page.registerclientscriptblock and page.registerstartupscript?
To display data in a Repeater control which template you provide?
How to disable cut, copy and paste in TextBox using jQuery in asp.net?
How will you do windows authentication and what is the namespace? If a user is logged under integrated windows authentication mode, but he is still not able to logon, what might be the possible cause for this? In ASP.Net application how do you find the name of the logged in person under windows authentication?
What are the asp.net security controls?
Where are session variables stored?
In a webservice, need to display 10 rows from a table. Which is the best choice among datareader or dataset?
Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?
What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?
Explain the boxing and unboxing concept in .net?
Is session server side or client side?
Explain authorization levels in .net ?