在创建ASP.NET 3.5的RSS源 [英] Creating an RSS feed in ASP.NET 3.5
问题描述
你会如何创建一个使用C#在ASP.NET 3.5的RSS源?
How would you create an RSS feed in ASP.NET 3.5 using C#?
在做RSS或Atom的出版将有助于什么框架件为.NET开发人员更容易养活?
What framework pieces would help in making the publishing of an RSS or Atom feed easier for the .NET developer?
是否有.NET 4中的任何额外的功能,使这个任务比3.5更容易?
Are there any extra features in .NET 4 to make this task easier than in 3.5?
推荐答案
有一个新的命名空间这被称为3.5 System.ServiceModel.Syndication 。
There's a new namespace for this in 3.5 called System.ServiceModel.Syndication.
凯文·米勒的对这个,不是一大堆伟大的书面记录也将其与新的命名空间,请查看文章,没有必要在这里重新发布,示例代码是很容易看在我看来。
Kevin Miller has a great writeup on this, not a whole lot too it with the new namespace, check out the article, no need to repost here, example code is much easier to look at in my opinion.
这篇关于在创建ASP.NET 3.5的RSS源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!