ASP.NET State Management techniques

State management is the process by which you maintain state and page information over multiple requests for the same or different pages. As is true for any HTTP-based technology, Web Forms pages are stateless, which means that they do not automatically indicate whether the requests in a sequence are all from the same client or even whether a single browser instance is still actively viewing … Continue reading ASP.NET State Management techniques

Aggregation & Composition in OOPs

Aggregation and composition in real project define HAS-A relationship. Aggregation differs from ordinary composition in that it does not imply ownership.  In composition, when the owning object is destroyed, so are the contained objects.  In aggregation, this is not necessarily true.  For example, a university owns various departments (e.g., Physics, chemistry), and each department has a number of professors. Now due to some reasons, if the … Continue reading Aggregation & Composition in OOPs