Archive For June 2009

ASP.NET MVC, Entity Framework, Modifying One-to-Many and Many-to-Many Relationships

calendar_today 28 June 2009 21:37

ASP.NET MVC Entity Framework

Building on my previous article, which looked at adding data with one-to-many and many-to-many relationships via the Entity Framework, here's a look at how to modify that data within an ASP.NET MVC application.

ASP.NET MVC, Entity Framework, One-to-Many and Many-to-Many INSERTS

calendar_today 17 June 2009 21:55

ASP.NET MVC Entity Framework

Taking on two new technologies - ASP.NET MVC and the Entity Framework - at the same time was bound to provide some "interesting" moments. Getting data out via EF has so far been pretty straightforward. But when it got to building the back end of my site, I had some fun trying to manage INSERTS with One-To-Many and Many-To-Many relationships.

Handling Legacy URLs with ASP.NET MVC

calendar_today 08 June 2009 07:37

ASP.NET MVC

According to Google's Webmaster tools, there are about 15,000 incoming links to my site. 13,000 of those reference a .ASPX file on disk. When I convert to MVC, with new Search Engine Friendly urls, all those links will break unless I do something about it. Presenting users with a 404 - file not found is not an option. I need to show them the content they were expecting, and update Search Engines with the news that things have changed. Here's how I will be managing those Legacy URLs.

Creating a Tag Cloud using ASP.NET MVC and the Entity Framework

calendar_today 01 June 2009 07:26

ASP.NET MVC Entity Framework

A Tag Cloud is a visual depiction of Tags or categories on a web site. CSS is used to set the variable font size of each Tag to illustrate its relative frequency or popularity within the site. As part of the migration of my site to ASP.NET MVC, I am introducing one to replace the Categories navigation that appears on the left hand side of each page, which contains a count of items within each category.