.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Jean Paul
SP
satyapriyanayak
Ashutosh Jha
Simon Robert VoIP

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

What's the significance of "GLOBAL.ASAX" file ?

Posted By :Maverick     Posted Date :July 29, 2011    Points :40   Category :.NET Framework 
GLOBAL.ASAX allows us to executing ASP.NET application level events and setting application-level variables.

You can also find related Interview Question to What's the significance of "GLOBAL.ASAX" file ?  below: 

Difference Between Web.Config file and Global.asax ?

  
Web.Config file is used ....

1. To specify the application settings
2. To specify the session mechanism available to use for that application.
3. To Specify the Connection strings.
4. To Specify the authentication and authorization.
5. To Specify the http handlers.
6. To Specify different providers.

Global.asax file is used to specify the session and application event handlers.
(More...)

List major events in GLOBAL.ASAX file ?

  
Application_Init:
Application_Disposed:
Application_Error:
Application_Start:
Application_End:
Application_BeginRequest:
Application_EndRequest:
Application_PreRequestHandlerExecute:
Application_PostRequestHandlerExecute:
Applcation_PreSendRequestHeaders:
Application_PreSendContent:
Application_AcquireRequestState:
Application_ReleaseRequestState:
Application_ResolveRequestCache:
thus bypassing handler execution.
Application_UpdateRequestCache:
Application_AuthenticateRequest:
Application_AuthorizeRequest:
Session_Start:
Session_End:
Web site. (More...)

what is used to execute a .net file from the command prompt ?

  
csc is C# compiler abbreviation is C Sharp Compiler (More...)

Disadvantage in File Processing System?

  
1.Data redundancy & inconsistency.
2.Difficult in accessing data.
3.Data isolation.
4.Data integrity.
5.Concurrent access is not possible.
6.Security Problems. (More...)

How u can create XML file?

  
To write Dataset Contents out to disk as an XML file use:
MyDataset.WriteXML(server.MapPath("MyXMLFile.xml")) (More...)

what is the use of using web.config file

  
By using this web.config file we can store sqlconnection string.This SqlConnection String can be accessed any where in your application.for security purpose of connection string also we can use web.config. (More...)

Can we have more than one web.config file in our application?

  
Yes,we can create or use more than one web.config file in our application. (More...)

What is contained in the AppManifest.xaml file in silverlight?

  
The AppManifest.xaml file contains the deployment details needed to run the silverlight application.

Basic example:

(More...)

What are the files contained in the .xap file in Silverlight?

  
A basic xap file in silverlight will have an assembly related to specific code for the application, an application manifest file and any additional assemblies need to run the application. At a minimum, two files are needed, the application manifest file and the application assembly.

For example:

AppManifest.xaml

MyPianoV2.dll (More...)

How do I use a .xap file in silverlight?

  
A .xap file is used to contain and transfer the assemblies and resources of a managed code application. This managed code application must be run within the Silverlight 2 browser plug-in. (More...)

if we remove a web.config file from the application , is this application will work?

  
It Depends on coding if we used something that is required to pioc values from configuration file then its required otherwise we can run our application without web.config. (More...)

How to send XML file on server using HTTP protocol?

  
Using SOAP we can send XML file on Serevr (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

 
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.


Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend