Tell About Global.asax ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sridhara krishna
Global.asax is a file that resides in the root directory of
your application. It is inaccessible over the web but is
used by the ASP.NET application if it is there. It is a
collection of event handlers that you can use to change and
set settings in your site. The events can come from one of
two places - The HTTPApplication object and any HTTPModule
object that is specified in web.confg or machine.config
Regards
sridhara krishna bodavula
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sivasaravanan
it allows to execute application level events and set
application level variables.
| Is This Answer Correct ? | 1 Yes | 0 No |
Which color scheme in a Repeater control can you provide alternatively?
Can we have multiple worker process in an ASP.NET application? If so then how it has been handled by application? And who handles it?
0 Answers InfoAxon Technologies,
What is a form tag?
version information of assembly consist of _________ values.
What is a ashx file?
I have been asked in an interview What is your LOC(Line of Code)What will be the probable answer for that
1 Answers HCL, Infosys, Mantec Consultants,
Difference between Response.redirect vs server.transfer?
Trigger syntax in sql2000
How do you register a .NET assembly?
Explain client-side scripting?
Tell about WebService in Asp.Net?
what r the Templeats in ASP.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)