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): 86975/ 87

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: 2013-02-05 10:26:04 AM
Comment:
awesome man
Title: practice   
Name: Rahul Shakya
Date: 2013-02-01 2:33:29 AM
Comment:
hi this is for confermation
Title: money   
Name: alagu
Date: 2012-11-01 6:27:48 AM
Comment:
hi im alagu....welcome
Title: kuaför malzemeleri   
Name: kuaför malzemeleri
Date: 2012-09-08 10:56:11 AM
Comment:
hi sam. goog article
Title: 3   
Name: 3
Date: 2012-09-02 3:05:12 PM
Comment:
33
Title: title   
Name: mani
Date: 2012-06-08 6:29:15 AM
Comment:
hi sam.....
Title: discounted desktop systems   
Name: discounted desktop systems
Date: 2012-06-07 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: 2012-06-02 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: 2012-05-31 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: 2012-05-29 8:53:42 PM
Comment:
asdf
Title: The relaible and fast desktop is for selling.   
Name: Refurbished Dell Laptops
Date: 2012-05-29 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: 2012-05-16 2:25:26 AM
Comment:
Refurbished Computers
Title: The relaible and fast desktop is for selling.   
Name: Refurbished Computers
Date: 2012-05-16 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: 2012-04-14 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: 2012-04-01 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: 2011-09-07 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: 2011-08-09 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: 2011-08-08 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: 2011-08-06 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: 2011-03-21 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: 2011-03-13 2:06:10 PM
Comment:
Appreciate it for helping out, excellent info .
Title: refurbished used computers   
Name: osbaldoadrien@gmail.com
Date: 2011-02-19 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: 2011-02-18 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: 2011-02-15 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: 2011-02-10 6:28:41 AM
Comment:
nice
Title: www.refurbishedp4.com   
Name: refurbished computer
Date: 2011-02-09 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: 2011-02-03 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: 2011-01-22 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: 2011-01-20 1:31:27 PM
Comment:
\
\
\
\
\
\
\
\
\
Title: This is a nice tutorials for beginers   
Name: Shankar
Date: 2011-01-11 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: 2010-12-12 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: 2010-11-24 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: 2010-11-23 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: 2010-11-20 7:29:19 AM
Comment:
Well, you mention here things that really made me think.
Title: Acai Max Cleanse   
Name: samstereo@gmail.com
Date: 2010-11-15 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: 2010-11-13 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: 2010-10-12 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: 2010-10-10 5:58:01 AM
Comment:
Just searching for a simple blog for my site.
Title: You're great man   
Name: John Dalton
Date: 2010-09-22 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: 2010-09-02 9:50:32 PM
Comment:
nice
Title: thank you   
Name: fnan.22web
Date: 2010-08-06 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: 2010-08-06 8:17:57 AM
Comment:
hi this is maibutscuy.excellent article,
Title: thank you   
Name: fnan.22web
Date: 2010-07-05 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: 2010-06-15 8:00:32 AM
Comment:
HI
it is really nice about this releasing.
Title: ASP Developers   
Name: cis.kuldeep@gmail.com
Date: 2010-05-29 12:17:37 AM
Comment:
thanks
Title: Offshore ASP.net Web programmers   
Name: ashokpatidar89@gmail.com
Date: 2010-05-28 2:50:08 AM
Comment:
Beautiful Article.......
Title: Hello   
Name: Behjat
Date: 2010-05-26 8:30:59 AM
Comment:
Nice One!!
Title: Mustafa   
Name: dsdsds
Date: 2010-05-02 2:12:07 PM
Comment:
Great Man
Title: Om   
Name: aw
Date: 2010-04-22 4:08:10 PM
Comment:
this is great for asp.net
Title: About Blog   
Name: Vaibhav
Date: 2010-03-21 8:41:01 PM
Comment:
Nice one bro this is good one...
Title: web design   
Name: arnel
Date: 2010-02-19 10:47:15 PM
Comment:
thanks a lot for sharing your information about this features.
Title: sikat ang pinoy   
Name: renanorola
Date: 2010-01-27 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: 2010-01-24 7:55:17 PM
Comment:
thanks for the tutorial very informative.
Title: uggboots   
Name: uggboots
Date: 2010-01-10 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: 2010-01-05 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: 2009-11-20 12:58:45 AM
Comment:
very good
Title: Very Good   
Name: Nimesh – Perception System
Date: 2009-08-29 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: 2008-11-16 3:41:24 AM
Comment:
nice blog...
Title: about post   
Name: Rem
Date: 2008-11-04 6:10:36 AM
Comment:
Nice post...
Title: BlogService open source blog engine on MVC   
Name: Jarrett
Date: 2008-10-18 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: 2008-06-05 6:27:20 AM
Comment:
How do i get hold of the extentions?
Title: Part 4   
Name: Keyvan Nayyeri
Date: 2008-05-02 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: 2008-03-05 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: 2008-03-03 3:09:17 PM
Comment:
How may i download it?

[]s
Title: Great starter kit   
Name: dotservant.com website hosting services
Date: 2008-02-21 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: 2008-02-04 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: 2008-02-04 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: 2008-01-29 1:16:45 PM
Comment:
Nice article, easy to undestand!
Title: Nice   
Name: Gustavo
Date: 2008-01-24 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-2024 ASPAlliance.com  |  Page Processed at 2024-03-19 7:40:57 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search