Why Global.asax is used?

Answer Posted / shailesh thapa

It is an optional application level file and at the compile
time be converted in a class inheriting the HttpApplication
class and it keeps the event handlers for the session and
application.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of asp.net.

542


Can we have 2 web config files?

539


What's the difference between viewstate and sessionstate?

564


What is page request in asp.net?

525


What is the life cycle of an asp.net page?

524






Explain the advantages of caching?

529


Where can I get the details on migration of existing projects using various technologies to asp.net?

518


Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

568


How many languages are supported by .NET at present time?

285


Define viewstate in .net?

542


What is difference between viewstate and session state in javascript?

572


What's the ASP.Net Application life cycle?

564


a web application needs to be created to accept the product name and quantity of a toy from a customer. After the customer has entered the product name the application needs to display the discounted price of the product to the customer (company is offering 35% discount on all products). The application should allow the customer to select the product name from a list box. and also while i'm data binding to a label with custom data binding with some declarations : "The Discounted Price is "+((System.Convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)) - ((System.convert.todouble(lblprodprice.text)*(system.convert.todouble(txtqty.text)*0.35)). Where i need to give this declaration in asp.net 2.0.

1440


i want to implement grid view value in paypal site. so how to create this code in asp.net with C#

1408


Write a code for passing ArrayList in Web API?

1053