Using asp.net mvc to recreate the first part of Digg

Source: Internet
Author: User

This translator: the first control. NET

Learn how to use asp.net mvc, LINQ to SQL and ASP.net Ajax to build a Digg-type application.

Objective

For a while, I've been trying to learn the new ASP.net MVC framework, and I've seen a lot of discussions on advanced topics such as IOC container/dependency Injection, View Engine,controller factory, and so on. But I can't find a simple article to show the energy of the ASP.net MVC framework. Of course, knowing those advanced topics does have some extra benefits, but they don't help you with your asp.net MVC framework development. In this article by Dotnetslackers team, I'll develop a simple, digg/dotnetkicks-type program with asp.net mvc. You can view this program in the following address:

"Program Demo"

Note: This article and code are all based on ASP.net 3.5 Extensions's first preview version. Whenever a new preview comes out, we will update accordingly.

Looks like the mix08 version will come out soon.

Get ready

ScottGu a set of descriptions of the ASP.net MVC framework:

Introduction to the ASP.net MVC framework

asp.net MVC tutorial (Part One)

asp.net MVC Tutorial (Part Two: URL path selection)

asp.net MVC Tutorial (Part III: Uploading ViewData from controller to view)

asp.net MVC tutorial (Part IV: Working with Form editing and submitting scenarios)

All the above links for the blog Hall ScottGu blog Chinese version of the link, and the original text added to the fourth part of the link.

Scott Hanselman's a cool video tutorial screencast.

Overview

MVC (Pattern-View-Controller) is a popular pattern for developing UI-centric applications. He was built on a simple concept: dividing the entire application into three logical modules

Model, Mode

View, views

Controller. Controller

The ASP.net MVC framework is a set of implementations of the MVC pattern, and the ability to develop Web applications is built into it. Let's take a quick look at these three modules.

Figure I: MVC Framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.