Adapter Design Pattern

Sometimes we could encountered a situation when we have a completely developed class and we are not allowed to modify it but we have to communicate with it. In that case we have to create and adapter to enable the class to communicate with us. For example, let's suppose that we developed a Log Engine …

Continue reading Adapter Design Pattern


Page Life Cycle in ASP.Net

With in Each stage of the life cycle the page raises Events that you can handle to run your own code. These are as follows 1-PreInit- Raised before the Initialization stage begins Here the Ispostback property is checked to determine wheather the first time the page is being processed. 2-Init- Raised after all the controls have been initialized. 3-Init complete: Raised at …

Continue reading Page Life Cycle in ASP.Net