How to generate RSS using Asp.Net

I use Asp.net and C # 4 web forms.

I have content in a DataBase table, and I would like to publish it as RSS for my site.

My questions:

thanks

+6
source share
3 answers

Don't do it manually - use the built-in System.ServiceModel.Syndication classes to create a feed for you. Then you know that it is compatible with any format (RSS or ATOM) that you create.

Here is the article in which you are viewing it:

[How to create a syndication feed for your site] [1]

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

+9
source

Well, MSDN has a relatively simple tutorial on how to generate RSS 2.0 from ASP.NET, found at http://msdn.microsoft.com/en-us/library/aa478968.aspx . It really is not very difficult, so I would recommend doing it if you want to know something.

+3
source

You may find this tool very useful.

Creating an SQL Database [DEAD LINK]

0
source

Source: https://habr.com/ru/post/896102/


All Articles