RSS Feed with the new ASP.NET MVC Framework

Brad Abrams describes how to create RSS feed with the new ASP.NET MVC Framework. Lately it has been popular to post about the new ASP.NET MVC framework. Here is part of his post:
In this example, I am going to walk through building an RSS feed from data in a relational database.. My goal here is to give you and idea of what is possible with the MVC support that is coming out as a CTP soon for ASP.NET…
image thumb RSS Feed with the new ASP.NET MVC Framework

There is some good stuff here, that really shows you how to get going… but for what we are going to do, we don’t really need it… so go ahead and clear out all the directories and files under Views, Models and Controllers… we will build this from scratch.

Creating the Model

Because I had an existing database, I chose to start with it… I added my VideoDatabase.mdf file from another project I worked on recently.. of course any database would work. Then I created a Linq model and called it “VideoDatabase.dbml”… Notice of course EntityFramework would work really well here as well…

Check out the whole post here


Leave a Reply

Your email address will not be published. Required fields are marked *