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.
- Define a
ServiceContractfor the RSS feed service.
The first thing to do for building ...