What are the major events in global.aspx?

What are the major events in global.aspx?

The Global.asax file, which is derived from the HttpApplication class, maintains a pool of HttpApplication objects, and assigns them to applications as needed. The Global.asax file contains the following events, Application_Init Application_Disposed Application_Error Application_Start Application_End Application_BeginReques In ASP.NET, the global.asax file contains application-level events and handlers that are executed in response to application-level events like application start, end, error handling, session start, etc. Some of the major events in global.asax are: Application_Start: This event is fired when the application is…

Read More Read More

What are the data controls available in ASP.NET?

What are the data controls available in ASP.NET?

The Controls having DataSource Property are called Data Controls in ASP.NET. ASP.NET allows a powerful feature of data binding, you can bind any server control to simple properties, collections, expressions and/or methods. When you use data binding, you have more flexibility when you use data from a database or other means. Data Bind controls are container controls. Controls -> Child Control Data Binding is binding controls to data from databases. With data binding we can bind a control to a…

Read More Read More

What is tracing in .NET?

What is tracing in .NET?

Tracing helps to see the information of issues at the runtime of the application. By default Tracing is disabled. Tracing has the following important features: We can see the execution path of the page and application using the debug statement. We can access and manipulate trace messages programmatically. We can see the most recent tracing of the data. Tracing can be done with the following 2 types. Page Level When the trace output is displayed on the page and for…

Read More Read More

What is the App Domain Concept in ASP.NET?

What is the App Domain Concept in ASP.NET?

ASP.NET introduces the concept of an Application Domain which is known as AppDomain for short. It can be considered as a lightweight process which is both a container and boundary. The .NET runtime uses an AppDomain as a container for code and data, just like the operating system uses a process as a container for code and data. As the operating system uses a process to isolate misbehaving code, the .NET runtime uses an AppDomain to isolate code inside a…

Read More Read More

What is the Web.config file in ASP?

What is the Web.config file in ASP?

Configuration file is used to manage various settings that define a website. The settings are stored in XML files that are separate from your application code. In this way you can configure settings independently from your code. Generally a website contains a single Web.config file stored inside the application root directory. However there can be many configuration files that manage settings at various levels within an application. Usage of configuration file ASP.NET Configuration system is used to describe the properties…

Read More Read More

What are the concepts of Globalization and Localization in .NET?

What are the concepts of Globalization and Localization in .NET?

Localization means “the process of translating resources for a specific culture”, and Globalization means “the process of designing applications that can adapt to different cultures”. Proper Globalization Your application should be able to Accept, Verify, and Display all kinds of global data. It should well also be able to operate over this data, accordingly. Localizability and Localization Localizability stands for clearly separating the components of culture-based operations regarding the user interface, and other operations from the executable code. .NET framework…

Read More Read More

What are the Advantages of ASP.NET?

What are the Advantages of ASP.NET?

ASP.NET provides services to allow the creation, deployment, and execution of Web Applications and Web Services like ASP. ASP.NET is a server-side technology. Web applications are built using Web Forms. ASP.NET comes with built-in Web Form controls, which are responsible for generating the user interface. They mirror typical HTML widgets such as text boxes or buttons. If these controls do not fit your needs, you are free to create your own user controls. Advantages of ASP.NET, Separation of Code from…

Read More Read More

What are Web Services in ASP.NET?

What are Web Services in ASP.NET?

A Web Service is a software program that uses XML to exchange information with other software via common internet protocols. In a simple sense, Web Services are a way of interacting with objects over the Internet. A web service is, Language Independent. Protocol Independent. Platform Independent. It assumes a stateless service architecture. Scalable (e.g. multiplying two numbers together to an entire customer-relationship management system). Programmable (encapsulates a task). Based on XML (open, text-based standard). Self-describing (metadata for access and use)….

Read More Read More

What is Ajax in ASP.NET?

What is Ajax in ASP.NET?

Ajax stands for Asynchronous JavaScript and XML; in other words Ajax is the combination of various technologies such as a JavaScript, CSS, XHTML, DOM, etc. AJAX allows web pages to be updated asynchronously by exchanging small amounts of data with the server behind the scenes. This means that it is possible to update parts of a web page, without reloading the entire page. We can also define Ajax is a combination of client-side technologies that provides asynchronous communication between the…

Read More Read More

What are Cookies in ASP.NET?

What are Cookies in ASP.NET?

Cookies are a State Management Technique that can store the values of control after a post-back. Cookies can store user-specific information on the client’s machine, such as when the user last visited your site. Cookies are also known by many names, such as HTTP Cookies, Browser Cookies, Web Cookies, Session Cookies and so on. Basically cookies are a small text file sent by the web server and saved by the Web Browser on the client’s machine. List of properties containing…

Read More Read More