Preventing duplicate feeds and implimenting timer for Rss reader

pmiller

New member
Joined
Jun 11, 2012
Messages
1
Programming Experience
1-3
Hi,

I am writing a program in ASP.net using C# that parses through an RSS feed and returns the (date, title, link and description) and then writes it to an sql database.
Here are my questions:

1. Does anyone know how I can write the code to prevent duplicate entries?

2. Code to update the rss reader in a time period, say every 10 minutes.

Thank you,
 
1. Determine what exactly constitutes a duplicate, e.g. just the link or a combination of values, and check whether that already exists in the list.
2. An ASP.NET application implies a web interface, either a UI via web pages or an API via web methods. If you want to perform a task regularly at intervals then there's no interface, so that's not really the job of an ASP.NET app. It would be better done by a Windows Service and a Timer or else a Console app and the Windows Task Scheduler.
 
Back
Top Bottom