Introduction to Custom Attributes

8/6/2008 4:43:28 PM size => 2.97 MB, duration => 3:58

In this screencast we will demonstrate how to create custom attributes. We will create a simple CommentAttribute which can be decorated on the methods and reflects the comments about that method.

Double Click on the Video to Enlarge

Bookmark and Share

Comments

by Pattern on 8/8/2008 8:11:52 AM The screen cast was crisp and good. I am trying to fingure out the practical use of using custom attributes.

by Mohammad Azam on 8/8/2008 8:38:01 AM Hi,

Thanks for your comment! Custom Attributes can be used in a lot of different places. Microsoft has many built in attributes including [WebMethod], [Serializable] etc. Attributes are used to give extra feature/information to the objects. You can check out the link below in which I used custom attributes to create a small Validation Framework. I will do a screen cast on this topic too.

http://azamsharp.com/Posts/71_Building_a_Validation_Framework_for_Domain_Objects.aspx


by Mohammad Azam on 8/10/2008 9:33:09 AM Here is another screencast about Custom Attribute:



A Look Into CacheCall Custom Attribute