Jumat, 04 Oktober 2013

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.

Tidak ada komentar:

Posting Komentar