Category Archives: Tutorial

ASP.Net Instrumentation – Tracing

Tracing in ASP.NET 3.5: Tracing is a way to monitor the execution of your ASP.NET application. You can record exception details and program flow in a way that doesn’t affect the program’s output. In ASP.NET 3.5, there is rich support for tracing. The destination for trace output can be configured with TraceListeners like the EventLogTraceListener.… Read More »

Site Navigation explained in ASP.Net

Site Navigation in ASP.NET 3.5 Web applications that you develop will have multiple pages interconnected with each other in some fashion. You need to have a navigation system in place which can help the end user to successfully work through your application. There is no standard mechanism which offers well-defined navigation system for the web… Read More »

XML Programming using .Net Framework 2.0/3.5

Enhanced XML classes in .Net Framework 2.0/3.5 Extensible Markup Language (XML) is a meta-markup language that provides a format for describing structured data. XML is the universal language for data exchange on the Web. XML gives developers the power to deliver structured data from a wide variety of applications to the desktop for local computation… Read More »

Improved Databing and Datasource controls in ASP.NET 2.0

Improved DataBinding and Data Source controls in ASP.NET:Most of commercial web applications you see around are data driven. These web applications rely on data sources (databases) for storage and retrieval of data. In ASP.NET, you can perform data access either programmatically or declaratively with out writing single piece of code. You can perform all common… Read More »

Alternative to QueryString Mechanism. ASP.Net Cross posting functionality

Cross Page posting in ASP.NET:We always tend to post data from one page to another in a typical web application. For example, user name entered on login page getting displayed in welcome message on homepage. How do you generally post values/data from one page to another page in ASP.NET 1.x? There are different ways in… Read More »

Implementing Caching in ASP.Net Web applications

Caching Techniques in ASP.NET: Performance is the key requirement of any application. One of important technique which helps in the performance of application is Caching. Caching is the process of storing frequently used data on the server to fulfill subsequent requests. Reusing pages from memory is much faster than re-creating pages every time they are… Read More »

ASP.Net Custom Expression Builders

ASP.NET 2.0 Expression builders: ASP.NET introduced new declarative expression syntax which allows you to substitute values into page at run time called Expression builders. You can make extensive use of expressions for referencing string resources for localization, connection strings and application settings from configuration file. Expressions are evaluated at run time when the declarative elements… Read More »

Implementing ControlState property for ASP.Net custom controls

ControlState Property: ASP.NET web applications are based on stateless HTTP protocol. New instance of the web page class is created each time the page is requested from the server. So, this would mean that all data on the page will be lost when page is posted to server. Then how do we create pages with… Read More »

Java script client callbacks using ASP.Net ICallbackEventHandler Interface

Client Side Callbacks in ASP.NET 2.0 ASP.NET 2.0 includes a new Client Callback feature that enables you to retrieve page values and populate them to an already-generated page with out reconstructing page. This makes it possible to use on a page with out going through the entire post back cycle; that means you can update… Read More »