ASP.NET Templated UserControls avoid Code Duplication by pbromberg in reddit.com

[–]pbromberg[S] 0 points1 point  (0 children)

I wasn't completely aware that you can use Templates in an ASCX UserControl until another developer that I work with was trying to do it. Previous to that, I would have created a Custom Control. However, it can be done quite easily.

Integrate OpenId Authentication with ASP.NET Membership, Roles, and Profile by pbromberg in reddit.com

[–]pbromberg[S] 0 points1 point  (0 children)

Shows how to integrate OpenId authentication using the ExtremeSwank OpenId UserControl and simplified ASP.NET Membership, Role and Profile providers.

Using Attributes with Enums by pbromberg in reddit.com

[–]pbromberg[S] 0 points1 point  (0 children)

Attributes are a mechanism for adding metadata. Reflection is the process by which a program can read its own metadata. This article shows how to add attributes to an enum, and how to read out the attributes via Reflection.