Building a Simple Blog Engine with ASP.NET MVC and LINQ - Part 3

Almost one month after publishing the second part, now the third part of my article series about Building a Simple Blog Engine with ASP.NET MVC and LINQ has been published on ASP Alliance.

In the third part of this series, Keyvan talks about the data model in his simple blogging engine. He shows some concepts related to the LINQ side of the data model to retrieve data for the blogging engine in controllers and pass them to views with the help of screenshots and source code.

As you see this part is all about data model of KBlog.

This part begins with a short introduction to data model component in Model View Controller (MVC) pattern and its role. After this introduction you get started with the structure of KBlog database that is powered by SQL Express. Then you discover about LINQ side of things and how to use LINQ to SQL to fetch data from database and use a class to encapsulate the data loading process.

In the end you read and learn how to apply these theories in KBlog controller classes in order to load data and pass them to views.

If you're looking for the previous parts of this article series, you can read the first and second parts on ASP Alliance.

There are some other major topics related to MVC pattern and ASP.NET MVC framework that I'm going to cover in future parts and I hope that I can begin and finish my work on part four shortly.

[advertisement] Axosoft OnTime 2008 is four developer tools in one: bug tracking, project wiki, feature management, and help desk. It manages your development process so developers can focus on coding. Installed or Hosted – Free Single-user license -- Free 30-day team trial.

2 Comments : 03.03.08

Feedbacks

 avatar
#1
reza shirazi
03.03.2008 @ 1:46 PM

Good luck keyvan, nice article

 avatar
#2
its my news tv
06.25.2009 @ 3:41 AM

It should take for the introduction you get started with the structure of KBlog database that is powered by SQL Express.Thanks

Leave a Comment