1.

What is Application State?

Answer»

Application state is a server-side state the board procedure. The data put away in the application state is basic for all clients of that specific ASP.NET application and can be accessed from anyplace in the application. It is likewise called the application-level state of the management. Information put away in the application OUGHT to be of little size.

Let’s see how to set & GET a value in the application state object:

Following are the Application events on ASP.NET:

There are three events in ASP.NET. The application occasion is written in Global.asax. This document isn't made, of course, it is made expressly by the engineer in the ROOT directory. An application can make more than one Global.asax record YET just the root one is perused by ASP.NET.

  • Application_start: The Application_Start event is raised when an application domain begins.
  • Application_Error: It is raised when an unhandled exception happens, and we can DEAL with the exception of this event.
  • Application_End: The Application_End event is raised just before an application domain ends as a result of any reason, may IIS server restarting or rolling out certain improvements in an application cycle.


Discussion

No Comment Found