I wish to create a dynamic RSS feed to represent my site’s content. Currently, I have an XML file where each main entry has data for location, date, and summary of a file. If I were to create this feed in ASP.NET, would I need to do anything extra, in terms of things other than just parsing the XML and outputting some RSS? For example, how would I be able to create an ASP.NET page with a different extension, such as the standard RSS file extension?
In other words, let’s say I can obtain the proper RSS code and output it through Response.Write. How do I make sure that it still functions as a ASP.NET application, though with the standard RSS file extension?
Try making a Custom HTTPHandler. Add a custom extension to this handler in web.config and then add this to IIS so that this can be served by IIS.
This HTTPHandler will do the RSS processing from XML and can write the output to your reponse.
This might be of help:
http://msdn.microsoft.com/en-us/library/ms972953.aspx