Caching in ASP.NET

Today we will discuss about how to increase the performance of ASP.NET application and the answer is CACHING. Caching is a technique of storing frequently used data/information in memory, so that, when the same data/information is needed next time, it could be directly retrieved from the memory instead of being generated by the application. Why…

Global.asax in ASP.NET

Today I am going to discuss about Global.asax file. What is Global.asax? The Global.asax file is optional file for responding to application-level and session-level events raised by ASP.NET. Using this file we can store variables that will be available through requests and sessions. It is also known as the ASP.NET application file. Its origin can…

Call Server Side Method from client-side scripts – II

Let’s continue with previous article i.e. invoking server side method through client side script. If you haven’t read the first part of this article please go here. In this article I will show how we can use XMLHttpRequest to call the server side method. This article is divided in 3 different sections which are mentioned…

Call Server Side Method from client-side scripts – I

In this article, I am going to show how to call or invoke server- side method using client-side script in ASP.NET. I have divided the article in 2 parts each containing three related ways of doing, which is listed below. 1. PageMethod, JavaScript and JQuery Ajax Using PageMethods Using JQuery Ajax Using JQuery Ajax with…

How to insert/update/delete in gridview (CRUD)

Gridview is the most basic and important control to display data in dot net based application. I have been using this control from very long time in many of my projects it may be windows or web based applications. Many of you will also agree that this is “bread and butter” of any applications. But…

Page Life Cycle Events in ASP.NET

Use of Events in Page Life Cycle:- Today we will see Page life cycle in asp.net, which is the starting point. Any developer who is working in ASP.Net platform knows about page life cycle of asp.net. The idea behind of creating this article is to demystify the ASP.Net page life cycle events. Most of the…

Using Session state in ASP.NET Application

Today I will discuss how to use Session state in ASP.NET Application, Session state is very important and useful feature which is most commonly used in every ASP.NET web application. As we know HTTP is stateless protocol i.e. each request is an independent transaction and it does not maintain or preserve data during each page…