Jump to content

what is exact difference between asp.net and asp.net mvc ? explain with example


rhishi20

Recommended Posts

I have worked on asp.net wabforms for few months and now i want to know what is asp.net mvc exactly and how it is better than asp.net ?

 

i have read difference between asp.net and asp.net mvc by goggling but not able to understand difference between asp.net webforms model and asp.net mvc model (model-view-controlller model)

 

Link to comment
Share on other sites

MVC is one example of multi-tier architecture. In the MVC you have a module of code that is dedicated to generating the webpage (the View) and a module of code that is dedicated to processing and managing the data (the Model) and finally you have a module of code (the Controller) that receives user inputs and passes data to and from the Model and back to the View. The code in the View is ONLY concerned with displaying the webpage. The code in the Controller doesn't know anything except to pass appropriate inputs to the Model and take the results from the Model and pass them to the View. The Model decides when to talk to the database or when to send out an e-mail to a customer.

 

http://www.asp.net/mvc/samples

 

http://www.codeproject.com/Articles/79043/An-Example-ASP-NET-MVC-Web-Project-to-Upload-and-D

 

http://code.msdn.microsoft.com/Design-Patterns-MVC-Pattern-aa79900b

Edited by davej
  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...