Vishwamohan

Welcome to Vishwa's blog - Technology, Spirituality and More...

Abstract Factory Design Pattern

It is one of the highly used Creational Pattern from Gang of Four patterns. It provides a way to encapsulate a group of individual factories that have a common theme. In normal usage, the client software creates a concrete implementation of the abstract factory and then uses the generic interfaces to create the concrete objects that are part of the theme. The client does not know (or care) which concrete objects it gets from each of these internal factories since it uses only the generic interfaces of their products. This pattern separates the details of implementation of a set of objects from their general usage. [More]

Types Of Design Patterns

In Software Development, a design pattern is generally used as a reusable solution to a commonly occurring problem within a given context in software design. A design pattern is a template or format for how to solve a problem that can be used in many different situations. These Patterns are design and interaction of objects, as well as providing a communication platform for elegant and reusable solution. [More]

Export GridView Data to CSV/Excel/XML format

Many times your customers will ask if they can export the Gridview data in one of the most popular formats like CSV, Excel or XML. I had written an example before for exporting Gridview data to Excel only, here I am combining all of three popular formats at one place so that you can choose whatever it may fit your need or give the opportunity to end user to select whatever format they would like to choose to export the data. [More]

Multi Header Footer Gridview

You may come across a situation, where you may have to display multiple headers rather just single one, and also some of these header or footer values has to be updated dynamically. Here is a simple example on how to do it using a simple ASPX page. [More]

Multi-threaded Parallel Processing

Many times you come across a situation when you have to execute the same logic across different clients or batch. While running them in simplest manner without multi-threading, your records will be sequentially processed means your process will take longer time to finish. So here is an example to implement Multi-threading [More]