Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Difference between ASP.NET Web Form and ASP.NET MVC?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 387
    Comment on it

    Difference between ASP.NET Web Form and ASP.NET MVC?

    ASP.NET Web Form

    • Views i.e web Form(aspx) is tightly coupled to logic i.e  code behind(aspx.cs).
    •  Traditional event driven model is followed.
    • For consistent look and feel master pages are designed.
    • Code reusability can be achieved via user controls.
    • State management techniques like view state,session etc are associated with them.
    • File based URLs i.e file name in URLs and has it's physical existence.
    •  It follows WebForm syntax.
    • It has server controls and is not an open source.

    ASP.NET MVC

    • It follows mvc(model view controller) pattern based development model.
    • No automatic state management techniques associated with ASP.NET MVC.
    • Views and logic are kept separately.
    • Customizable syntax(razor syntax as default) is followed.
    • For consistent look and feel layouts are available.
    • No server controls instead html helpers are provided.
    • Code reusability can be achieved via partial views.
    • URLs are divided into controllers and actions i.e route based URLs.It is based on controller not on physical file.
    • It is lightweight and is an open source.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: