Building a Simple Blog Engine with ASP.NET MVC and LINQ - Part 1
page 1 of 8
Published: 21 Jan 2008
Abstract
Microsoft released the first CTP of ASP.NET 3.5 Extensions and it includes ASP.NET MVC Framework as one of the main extensions for ASP.NET 3.5. In the first part of this article series about building a simple blog engine with ASP.NET MVC and LINQ, Keyvan introduces the MVC pattern, ASP.NET MVC Framework, and the fundamentals of a simple blogging engine.
by Keyvan Nayyeri
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 115508/ 489

Introduction

A few weeks ago Microsoft released the first CTP of ASP.NET 3.5 Extensions which includes the first public version of ASP.NET MVC Framework. There have been many good resources about this MVC Framework on the web as tutorials, blog posts and web casts.

I want to write a set of articles about ASP.NET MVC Framework to build a simple blogging engine based on MVC and LINQ in .NET 3.5 and show you all the steps in detail then extend the discussion to some more-in-depth topics. I have not written this application completely and will write it in parallel with these articles.

Such a sample application is provided by ASP.NET MVC toolkit, but there is not a description about it yet. But why I am doing this while there are some other tutorials with the same approach? In my opinion, the learning curve of this MVC Framework consists of a workflow progress of some steps that should be followed and the major thing is this, building this simple blogging engine and describing its process would be a very good example for ASP.NET MVC Framework.

So here is the first part of this series (I want to finish them in a few weeks) and it is an introduction with some basic information.


View Entire Article

User Comments

Title: Try   
Name: Jonard
Date: 2/5/2013 10:26:04 AM
Comment:
awesome man
Title: practice   
Name: Rahul Shakya
Date: 2/1/2013 2:33:29 AM
Comment:
hi this is for confermation
Title: money   
Name: alagu
Date: 11/1/2012 6:27:48 AM
Comment:
hi im alagu....welcome
Title: kuaför malzemeleri   
Name: kuaför malzemeleri
Date: 9/8/2012 10:56:11 AM
Comment:
hi sam. goog article
Title: 3   
Name: 3
Date: 9/2/2012 3:05:12 PM
Comment:
33
Title: title   
Name: mani
Date: 6/8/2012 6:29:15 AM
Comment:
hi sam.....
Title: discounted desktop systems   
Name: discounted desktop systems
Date: 6/7/2012 2:53:16 AM
Comment:
Goo work. very nicely describe all detail. Microsoft keep updating their users. ASP.net is wide programming language that have so many tools and framework.

http://www.electrocomputerwarehouse.com/
Title: refurbished computers (best)   
Name: refurbished computers
Date: 6/2/2012 3:31:37 AM
Comment:
thanks for shear the information, i think it will be helpful for the students. programing on ASP.net is not simple as other languages .
Title: The relaible and fast desktop is for selling.   
Name: Refurbish Dell Pc
Date: 5/31/2012 3:27:55 AM
Comment:
The relaible and fast desktop is for selling. Customers who are shopping for a desktop today are looking at the following popular models.



http://refurbishedusedlaptop.ca/
Title: adf   
Name: asdf
Date: 5/29/2012 8:53:42 PM
Comment:
asdf
Title: The relaible and fast desktop is for selling.   
Name: Refurbished Dell Laptops
Date: 5/29/2012 1:42:40 AM
Comment:
The relaible and fast desktop is for selling. Customers who are shopping for a desktop today are looking at the following popular models.



http://www.refurbishedp4.com/
Title: The relaible and fast desktop is for selling.   
Name: Refurbished Computers
Date: 5/16/2012 2:25:26 AM
Comment:
Refurbished Computers
Title: The relaible and fast desktop is for selling.   
Name: Refurbished Computers
Date: 5/16/2012 1:43:38 AM
Comment:
The relaible and fast desktop is for selling. Customers who are shopping for a desktop today are looking at the following popular models.



http://www.hpd530.com/
Title: It's a blog with full of latest and spectecular   
Name: Cheap Dell Refurbished
Date: 4/14/2012 3:04:19 AM
Comment:
The relaible and fast desktop is for selling. Customers who are shopping for a desktop today are looking at the following popular models.



http://www.refurbishedp4.com/
Title: It's a blog with full of latest and spectecular   
Name: HP D530
Date: 4/1/2012 6:04:46 AM
Comment:
It's a blog with full of latest and spectecular informations - This blog has helped me to gain much more information I would like to appreciate the blog owner for his efforts.


http://www.hpd530.com/
Title: cheap used computers   
Name: micclark96@yahoo.com
Date: 9/7/2011 3:30:47 AM
Comment:
have been really glad after reading this blog as the knowledge which has been given via this blog is simply tremendous. I would congratulate and appreciate the blogger for doing this much hard work.
Title: discounted computers and laptops   
Name: discounted computers and laptops
Date: 8/9/2011 3:19:41 PM
Comment:
The Microsoft ASP.NET MVC Framework second technology preview was released during MIX08 in March but has since released an update to their source code on April 16. This means there are many things going on with those involved in the project at Microsoft as well as those in the community. People are not creating just sample code but creating real applications now.
http://www.electrocomputerwarehouse.com/
Title: awesome   
Name: mmo
Date: 8/8/2011 2:40:15 PM
Comment:
Hey nice admin, this awesome topic hasn't been much discussed on the entire internet, information topic about Building a Simple Blog Engine with ASP.NET MVC and LINQ - Part 1 made my knowledge raising, always keep spirit and create a new article and i already bookmarked it. Regards
Title: discounted dell laptops   
Name: discounted dell laptops
Date: 8/6/2011 5:57:37 AM
Comment:
Indeed a very good read! Very informative post with pretty good insight on all aspects of the topic! Will keep visiting in future too!
Title: i need to test this   
Name: indika
Date: 3/21/2011 10:28:56 AM
Comment:
let see .. how this comment post and comment
Title: Web Design Gold Coast   
Name: Appreciate it for helping out, excellent info .
Date: 3/13/2011 2:06:10 PM
Comment:
Appreciate it for helping out, excellent info .
Title: refurbished used computers   
Name: osbaldoadrien@gmail.com
Date: 2/19/2011 7:13:01 AM
Comment:
It's really glad to read about the following topic which has

enhanced my knowledge regarding topic and plus has given

alot of ideas which I can think on.
So I would say thank you to the blog owner for providing

this amazing information.
Title: dell gx270   
Name: osbaldoadrien@gmail.com
Date: 2/18/2011 5:17:57 AM
Comment:
It's really glad to read about the following topic which has

enhanced my knowledge regarding topic and plus has given

alot of ideas which I can think on.
So I would say thank you to the blog owner for providing

this amazing information.
Title: www.refurbishusedpc.com   
Name: refurbish used computer
Date: 2/15/2011 1:38:52 AM
Comment:
The blog provides helpful information regarding the topic and it also gives a vast knowledge as well which helps us in our studies and in practical life.
Title: spaar   
Name: jidhin
Date: 2/10/2011 6:28:41 AM
Comment:
nice
Title: www.refurbishedp4.com   
Name: refurbished computer
Date: 2/9/2011 4:26:08 AM
Comment:
The blog provides helpful information regarding the topic and it also gives a vast knowledge as well which helps us in our studies and in practical life.
Title: refurbished computer   
Name: refurbished computer
Date: 2/3/2011 3:52:49 AM
Comment:
In my opinion what this article says is all true because now. I have not written this application completely and will write it in parallel with these articles.I really like reading this article and keep writing such articles
Title: Refurbished Computers   
Name: Refurbished Computers
Date: 1/22/2011 3:42:09 AM
Comment:
It's really glad to read about the following topic

which has enhanced my knowledge regarding topic and plus has

given alot of ideas which I can think on.
So I would say thank you to the blog owner for providing

this amazing information.
http://refurbishusedpc.com/
Title: it doesnt compile   
Name: gary
Date: 1/20/2011 1:31:27 PM
Comment:
\
\
\
\
\
\
\
\
\
Title: This is a nice tutorials for beginers   
Name: Shankar
Date: 1/11/2011 8:36:21 AM
Comment:
This is an important articles for all beginners who are switching to MVC platform.
Title: This made it all   
Name: Sung Vossen
Date: 12/12/2010 7:37:35 PM
Comment:
Well thenks for the great support on this topic.
Title: thank you for your post ,it is so benefit to learn from it ,will come back   
Name: thank you for your post ,it is so benefit to learn from it ,will come back
Date: 11/24/2010 7:59:30 AM
Comment:
thank you for your post ,it is so benefit to learn from it ,will come back
Title: Well, you mention here things that really made me think.   
Name: ugg boots cheap
Date: 11/23/2010 10:23:56 AM
Comment:
Well, you mention here things that really made me think.
Title: Well, you mention here things that really made me think.   
Name: ugg boots cheap
Date: 11/20/2010 7:29:19 AM
Comment:
Well, you mention here things that really made me think.
Title: Acai Max Cleanse   
Name: samstereo@gmail.com
Date: 11/15/2010 12:12:06 AM
Comment:
It truly is comprehensible to me now, the usefulness and significance is mind-boggling.
Title: Well, you mention here things that really made me think.   
Name: Well, you mention here things that really made me think.
Date: 11/13/2010 3:59:20 AM
Comment:
Well, you mention here things that really made me think.
Title: hi!This was a really admirable topic! I come from china, I was luck to come cross your website in digg Also I get much in your theme really thank your   
Name: hi!This was a really admirable topic! I come from china, I was luck to come cross your website in digg Also I get much i
Date: 10/12/2010 3:55:31 AM
Comment:
hi!This was a really admirable topic! I come from china, I was luck to come cross your website in digg Also I get much in your theme really thank your very much i will come later
Title: Computer science   
Name: Frank
Date: 10/10/2010 5:58:01 AM
Comment:
Just searching for a simple blog for my site.
Title: You're great man   
Name: John Dalton
Date: 9/22/2010 10:31:56 PM
Comment:
This is very good information. I like your tutorial. I will wait another tutorial from you. http://www.aspnethostingnews.com/, this blog is very informative too.
Title: nice blog   
Name: coolman
Date: 9/2/2010 9:50:32 PM
Comment:
nice
Title: thank you   
Name: fnan.22web
Date: 8/6/2010 8:19:30 AM
Comment:
this is wonderful tutorial .. i read it 3 times and get a fantastic results and sure i put a
copy of this lesson on my site here .......
Title: life is strength   
Name: Miabutschi
Date: 8/6/2010 8:17:57 AM
Comment:
hi this is maibutscuy.excellent article,
Title: thank you   
Name: fnan.22web
Date: 7/5/2010 7:06:41 PM
Comment:
this is wonderful tutorial .. i read it 3 times and get a fantastic results and sure i put a
copy of this lesson on my site here http://www.fnan.22web.net/vb
Title: Offshore Visual Basic Programmer.   
Name: Offshore Visual Basic Programmer.
Date: 6/15/2010 8:00:32 AM
Comment:
HI
it is really nice about this releasing.
Title: ASP Developers   
Name: cis.kuldeep@gmail.com
Date: 5/29/2010 12:17:37 AM
Comment:
thanks
Title: Offshore ASP.net Web programmers   
Name: ashokpatidar89@gmail.com
Date: 5/28/2010 2:50:08 AM
Comment:
Beautiful Article.......
Title: Hello   
Name: Behjat
Date: 5/26/2010 8:30:59 AM
Comment:
Nice One!!
Title: Mustafa   
Name: dsdsds
Date: 5/2/2010 2:12:07 PM
Comment:
Great Man
Title: Om   
Name: aw
Date: 4/22/2010 4:08:10 PM
Comment:
this is great for asp.net
Title: About Blog   
Name: Vaibhav
Date: 3/21/2010 8:41:01 PM
Comment:
Nice one bro this is good one...
Title: web design   
Name: arnel
Date: 2/19/2010 10:47:15 PM
Comment:
thanks a lot for sharing your information about this features.
Title: sikat ang pinoy   
Name: renanorola
Date: 1/27/2010 8:32:43 PM
Comment:
Found this article interesting. We where debating rolling our own blog engine for our latest website but due to time constraints went with wordpress. . I have to look forward to read more from your site in the future..

Thanks for the information and tips i gain in this site.
Title: renantech   
Name: renanorola
Date: 1/24/2010 7:55:17 PM
Comment:
thanks for the tutorial very informative.
Title: uggboots   
Name: uggboots
Date: 1/10/2010 3:25:28 AM
Comment:
top 1
[url="http://www.uggsretailer.org]ugg boots[/url]
[url="http://www.uggsretailer.org]ugg outlet[/url]
Title: Outsource software developers   
Name: hiralvora
Date: 1/5/2010 1:25:16 AM
Comment:
This post clear my understanding about mvc that its not technology for asp.net but its methodology.
Title: About blog engine   
Name: bins
Date: 11/20/2009 12:58:45 AM
Comment:
very good
Title: Very Good   
Name: Nimesh – Perception System
Date: 8/29/2009 1:39:31 AM
Comment:
Nice Post
Informative and useful one
I am .Net Developer and I am looking for this
Thanks for the great stuff.
Title: about blog   
Name: rem
Date: 11/16/2008 3:41:24 AM
Comment:
nice blog...
Title: about post   
Name: Rem
Date: 11/4/2008 6:10:36 AM
Comment:
Nice post...
Title: BlogService open source blog engine on MVC   
Name: Jarrett
Date: 10/18/2008 5:48:48 PM
Comment:
There is an open source blog engine called BlogSvc over at

http://codeplex.com/blogsvc

Check out the source code.
Title: How...   
Name: AmyJK
Date: 6/5/2008 6:27:20 AM
Comment:
How do i get hold of the extentions?
Title: Part 4   
Name: Keyvan Nayyeri
Date: 5/2/2008 3:01:15 AM
Comment:
You can read the fourth part here:
http://aspalliance.com/1630_Building_a_Simple_Blog_Engine_with_ASPNET_MVC_and_LINQ__Part_4
Title: Part 2   
Name: Keyvan Nayyeri
Date: 3/5/2008 1:34:21 PM
Comment:
You can read the second part here:
http://aspalliance.com/1559_Building_a_Simple_Blog_Engine_with_ASPNET_MVC_and_LINQ__Part_2
Title: Download   
Name: Alexandre
Date: 3/3/2008 3:09:17 PM
Comment:
How may i download it?

[]s
Title: Great starter kit   
Name: dotservant.com website hosting services
Date: 2/21/2008 3:26:26 AM
Comment:
Great introduction to MVC and a simple hands on exercise for a quick run through of the general concept of ASP.NET MVC.
Title: Comment on Figure 1   
Name: Keyvan Nayyeri
Date: 2/4/2008 12:59:35 PM
Comment:
Dave,

Thank you for leaving your comment. If I can remember it correctly, I took Figure 1 from MSDN. Yes, there can be a two-way connection between controller and view but don't forget that this isn't mandatory. There may be some cases where controller gets data from view to perform an update but this isn't 100% a case for all scnearios.

I hope this makes sense.
Title: Figure 1 (MVC structure) is incorrect   
Name: Dave
Date: 2/4/2008 12:40:04 PM
Comment:
The view NEVER(!) updates the model. The controller is responsible for loading and saving states to the model layer. Loaded information from the models layer is than passed the the view. The view does only presentation. By definition it is impossible that a presentation contacts the models view or even updates it. The controller is responsible for all logic needed to view, create, update or delete a page.

(I hope my schema stays correct)
+------------+ +-------+
| controller | --- loading information --> | model |
| | <-- saving information ---- | |
+------------+ +-------+
|
V
+------------+
| view |
+------------+

(Basicly your have to define a two-way (loading and saving) connection from the controller to the model. The controller has a 'write-only' connection with the view.

The rest of the article is written very well. Keep up the good work!
Title: Great   
Name: Santosh
Date: 1/29/2008 1:16:45 PM
Comment:
Nice article, easy to undestand!
Title: Nice   
Name: Gustavo
Date: 1/24/2008 1:45:58 PM
Comment:
Keep Going...
I want to see the final result soon! =]

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2014 ASPAlliance.com  |  Page Processed at 8/22/2014 9:34:16 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search