Getting Started with Adobe After Effects - Part 6: Motion Blur


Upload Image Close it
Select File

This tutorial will help you to get started with ASP.NET MVC

Getting started with ASP.NET MVC

Getting Started with ASP.NET MVC - Part 1: What is ASP.NET MVC, Installation and Overview

Apr 17 2012 12:00AM by Jalpesh   

What is ASP.NET MVC?

ASP.NET MVC is a Microsoft implementation of Model View Controller pattern with ASP.NET technology. ASP.NET MVC is a part of ASP.NET Web Application Framework. You can create ASP.NET Web Application in two ways. One way is to create an ASP.NET Web form, which is an event-driven programming. Another way of creating the application is through ASP.NET MVC where we will have Model, View and Controller as three separate layers to create web application. To understand these layers lets understand “Model View Controller” first in details.

What is Model, View and Controller pattern?

Model, View and Controller patterns are based on three aspects of the application input logic where we have entities (database) as Model. View is related to UI. All UI comes under View. Controller is the place where we are going to write the business logic. MVC pattern does have a long history. The MVC pattern was invented by Trygve Reenkaug when he was the Visiting Scientist at smalltalk group.

Scott Guthrie and his team members originally created the Microsoft ASP.NET MVC framework. Following is a basic diagram to see how it works.

MVCArchitecture

As you can see in the above diagram, ASP.NET MVC and ASP.NET webforms are different platform based on ASP.NET Framework. At bottom, there is Microsoft.NET framework. Therefore, it just a different way of doing programming but it uses same framework that ASP.NET Webforms are using.

Architecture of Microsoft ASP.NET MVC Framework:

Like any other Model View Controller pattern, ASP.NET MVC Framework is divided into three parts.

  1. Model: A Model contains logic for database access, business logic and validation logic, which is needed for the application. It will not be a part of View and Controller section.
  2. View: A View contains UI part of the application, which contains HTML markup and code about UI .We also write JavaScript application in this part, which is used for a web application. We will also include separate js files here to write client side script that required for application.
  3. Controller: Controller is the middle tier between Model and View. It contains the actions, which View will perform when user interacts with UI of application. This action calls model classes and get response from model classes informs of data, JSON etc.

Following diagram will express the flow of ASP.NET MVC

MVC

How to install ASP.NET MVC Framework :

Here we are going to use ASP.NET MVC 3. First, you have to download installer from ASP.NET MVC 3.0 from the following link.

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=1491

It contains three options from where we need to download ASPNETMVCTools update just like following which I have highlighted.

Tools for MVC

After downloading this setup once, you double click this, it will load above screen.

Set up - First Screen

Once you accept license terms and click install it will start installation as shown in the screen below.

Set up - Second Screen

Once installation is completed, the following screen will be loaded.

Setup - Third Screen

That is it. You are now ready to use ASP.NET MVC 3.0. Hope you like this. In our next chapter, we will write out first application of ASP.NET MVC 3.0.


Jalpesh
15 · 11% · 3548
13



Submit

5  Comments  

  • Nice for starting.....

    commented on Apr 17 2012 1:33PM
    Haresh Ambaliya
    121 · 1% · 428
  • Thanks for detail info. Nice way to start!!

    commented on Apr 18 2012 11:08PM
    Abidali
    2829 · 0% · 3
  • We're waiting for continuations!

    commented on Apr 19 2012 1:25AM
    Adam Tokarski
    58 · 3% · 1021
  • Nice Start :)

    commented on Apr 19 2012 12:36PM
    Ramineni Suresh
    2829 · 0% · 3
  • A very good initiation...

    commented on May 29 2012 9:04AM
    mayank7789
    2207 · 0% · 6

Your Comment


Sign Up or Login to post a comment.

"Getting Started with ASP.NET MVC - Part 1: What is ASP.NET MVC, Installation and Overview" rated 5 out of 5 by 13 readers
Getting Started with ASP.NET MVC - Part 1: What is ASP.NET MVC, Installation and Overview , 5.0 out of 5 based on 13 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]