What is Asp.net MVC

Asp.net MVC is an alternative for Asp.net Web Application. MVC - Model View Controller is framework to develop web based application. It is another way to create web based application. The best part of this framework is that it separate the application into three following parts:-

Model

This layer is the logic part of application. In this layer we create business logic of application , logic to interact with database.

View

This layer is the presentation layer. This is the User Interface of application.

Controller

This layer is the mediator between model and view.Controller handles all user input and requests in MVC. It helps to fetch data from view. Controller also helps to displays the output on view.

Advantages of Asp.net MVC

  • Asp.net MVC is light weight and provide support for Test Driven Development.
  • As it separate the application logic so complexity of code manage easily.
  • As it support Routing so URL Mapping manages easily.

MVC Tutorial for Beginner

MVC Tutorial with example. Before starting this mvc tutorial you must have knowledge of asp.net , C#, linq and entity framework. I have categorized this mvc tutorial in different module. If you are new to mvc or you don't have any knowledge of MVC then this tutorial will help you to start from basics. The topics which I have covered in this tutorial are Controller, View, Routing, Data Sharing from view to controller and controller to view, Razor, HTML Helper Class, Model, Validation, Master Page, Partial View, scaffolding , ajax,area , Authentication, web api etc with example.