GibboK
GibboK

Reputation: 73988

How to generate RSS using Asp.Net

I use Asp.net Web Forms and C# 4.

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

My questions:

Thanks

Upvotes: 6

Views: 6679

Answers (3)

Matt Hamilton
Matt Hamilton

Reputation: 204259

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][1]

[1]: http://dotnetslackers.com/articles/aspnet/How-to-create-a-syndication-feed-for-your-website.aspx [NOT WORKING]

Upvotes: 9

Abhi
Abhi

Reputation: 5561

You can found this tool very useful

Creating SQL Based RSS Feed [DEAD LINK]

Upvotes: 0

Tieson T.
Tieson T.

Reputation: 21237

Well, MSDN has a relatively-straightforward tutorial on how to generate RSS 2.0 from ASP.NET, found at http://msdn.microsoft.com/en-us/library/aa478968.aspx. It's really not terribly hard, so I would recommend doing it if you're wanting to learn something.

Upvotes: 3

Related Questions