Two patterns that promote code reuse in ASP.NET