Monday, September 10, 2012

difference between mvc 2 and mvc 3 in asp.net

MVC 2
MVC 3
.aspx view engine
.cshtml view engine
There is no life cycle in mvc page.
There is no life cycle in mvc page.
Have TempData, ViewData
Supported by ViewBag
No have ! Chart, WebGrid, WebImage, WebMail
Its have Chart, WebGrid, WebImage, WebMail
It have <%=Html code %>
But @Html code
Don’t write the c# code within View engine page.  
write the c# code within View engine page.   




No comments: