O'Reilly logo

Microsoft Windows Communication Foundation 4.0 Cookbook for Developing SOA Applications by Steven Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building an RSS feed service

Nowadays, Syndication (commonly known in the form of RSS or ATOM feeds) is widely used over the Internet for websites or personal blogs to expose or integrate data and resource through a highly interoperable format.

Ever since .NET framework 3.5, WCF has added support for building Syndication service through standard WCF service development framework. We can build either an RSS (or an ATOM) or even a custom feed service by creating a WCF service and operations.

In this recipe, we will show you how to build a simple RSS 2.0 feed through WCF Syndication feature.

How to do it...

Here are the detailed steps to create the sample RSS 2.0 feed.

  1. Define a ServiceContract for the RSS feed service.

    The first thing to do for building ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required