I want to generate xml and rss from entity dynamically in asp.net webforms.
I think the best way is attribute based definition: by default, all properties should be included in xml and if we want to exclude some, we should define in the properties attributes. In rss it is reversed...