CSharpFeeds - All your C# feeds in one place.

Monday, February 02, 2009

Properties vs. Attributes

by Eric Lippert via Fabulous Adventures In Coding on 2/2/2009 9:02:26 PM

Here is yet another question I got from a C# user recently: I have a class that represents a business rule. I want to add some rule metadata that could be used by consumers to retrieve a friendlier rule name, description, and anything else that makes sense. Should this information be exposed as an attribute or property on the class? I would say to absolutely go for a property in this case, for four reasons. First, properties are highly discoverable. Consumers of this class can use IntelliSens ...

[ read more ]

More .NET for VFP developers training in March

by via Claudio Lassala in Software Development on 2/2/2009 5:02:35 PM

EPS has announced another full week of .NET for VFP developers training for March. I’ll be involved again with delivering a good chunk of training. If you’ve missed the other ones, this is your chance.  :) For more information, go here. ...

[ read more ]

The MVC platform: creating a new HTML helper

by luisabreu via LA.NET [EN] on 2/2/2009 2:36:36 PM

Yesterday I’ve presented the main properties and methods of the TagBuilder class. Today, we’re going to reuse those ideas and build an extension method that renders an image inside an anchor (unfortunately, the image helper methods are defined in the futures assembly and the current release of the anchors won’t let you pass HTML for its content). Before going on, I’d like to say two things: This isn’t going to be a complete example. What I mean by this is that I’m going to pick up a general ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us