Difference between Webform application and MVC application.

MVC Application
WebForm Application
In MVC URL’s are mapped to controller Action methods.

Example:

MVC Output mapped with code file



In Above snap you can see a url’s mapped to  controller function(Index,another) , it’s not related to physical files .



In a WebForm url’s are mapped to physical files

Example :




In Above snap you can see url mapped to Home.aspx files (physical file). Its not related to function.

Comments

Popular posts from this blog

difference between structure and union in C Language

Difference between Linear search and Binary Search in c language

Difference between static and dynamic websites