Click here to Skip to main content
15,942,710 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to create a website based on MVC architecture in Visual Studio 2010

Before starting you should have knowledge about Models[^], Views[^] and Controllers[^].

  • A Model , which represents the underlying, logical structure of data in a software application and the high-level class associated with it. This object model does not contain any information about the user interface.
  • A View , which is a collection of classes representing the elements in the user interface (all of the things the user can see and respond to on the screen, such as buttons, display boxes, and so forth)
  • A Controller , which represents the classes connecting the model and the view, and is used to communicate between classes in the model and view.

For starters adding MVC to a webforms project is pretty simple. Second you can create a controllers folder and views folder in your current web forms project. You can also create a simple controller with an index action. Then setup/configure the routes in the global.ascx file.

You should start from the basics.[^][^]

To create the websites refer the links below:
Intro to ASP.NET MVC[^]
Design and Develop a website using ASP.NET MVC 4, EF, Knockoutjs and Bootstrap : Part - 1[^]

Share this answer
Karthik Harve 13-Jun-13 6:25am    
My +5!!! AMit
_Amy 13-Jun-13 6:25am    
Thank you. :)
This is perhaps the best tutorial on MVC on the internet:[^]

Read this and implement this. You will get to learn a lot by following this tutorial.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900