GibboK GibboK - 5 months ago 49
ASP.NET (C#) Question

How to generate RSS using Asp.Net

I use Web Forms and C# 4.

I have content in DataBase table and I would like publish it as RSS for my website.

My questions:



Don't do it by hand - use the built-in System.ServiceModel.Syndication classes to generate the feed for you. Then you know it's compliant with whichever format (RSS or ATOM) you generate.

Here's an article that walks you through it:

How to create a syndication feed for your website