InfoQ Homepage News WCF RSS Toolkit for Generating RSS 2 and Atom 1 Feeds posted

WCF RSS Toolkit for Generating RSS 2 and Atom 1 Feeds posted


The WCF RSS Toolkit has just been released. The RSS toolkit is a Windows Communication Foundation-based framework for generating RSS 2.0 and Atom 1.0 content feeds. Using this toolkit, developers can easily expose a service as an RSS or Atom feed; it supports exposing a service as an RSS 2.0 feed, Atom 1.0 feed and SOAP endpoint simultaneously. The toolkit can also be extended to support other wire formats. The version of the WCF RSS Toolkit is intended only for serving RSS and Atom feeds, the Windows RSS Platform is recommended for consuming such feeds.

Yasser Shohoud has also blogged some examples of how to use the toolkit:

using System;
using System.ServiceModel;
using System.Collections.Generic;
using Microsoft.ServiceModel.Samples.Syndication;
namespace Microsoft.ServiceModel.Samples.Syndication

    public class ItemListService
ContentFeed<FeedItem> GetItemList()

            //instantiate the feed
ContentFeed<FeedItem> feed = new ContentFeed<FeedItem>();

            //populate the list of feed items
feed.FeedItems = GenerateItemList();

            //set some feed-level properties
feed.FeedAuthor =;
            feed.FeedTitle = "WCF Item List!";


            //return the feed
return feed;       


        ItemList<FeedItem> GenerateItemList()


            ItemList<FeedItem> list = new ItemList<FeedItem>(); 

            FeedItem item1 = new FeedItem();
            item1.ItemTitle = "This is item 1";




            return list;




We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.