What is the Difference between ASP.Net and MVC.
When First Time Microsoft launch ASP in Market,,at that time,it was one of the Primary technology for creating Data Driven ,Dynamic websites with Markup and Server Side Script.It Provide access to other service Like Session state,Application State and Cache etc.It move in market so demanded technology that time but with growing that demand became a challenge when application grew in size and complexity because lack of structure.To mind these problems Microsoft Launch ASP.NET that provide Object Oriented Languages of the .NET Framework.It was perfect for .NET Developers but after a period it come with couple of notable challenges.
1. The framework was monolithic.
2. The Overall functionality was dependent on System.web.dll.The Core Http Objects was in same assembly.
It was difficult for ASP.NET to keep pace with that time modern web development changes.So microsoft plan to change the web development way using MVC design Pattern(Please Keep in mind MVC is not framework it is Design Pattern,Which firstly come with Ruby on Rails.Thanks to Ruby on Rails.).Above was the main reason to move Microsoft on MVC Track.
So what is the Main differences between ASP.NET and MVC......
1. The framework was monolithic.
2. The Overall functionality was dependent on System.web.dll.The Core Http Objects was in same assembly.
It was difficult for ASP.NET to keep pace with that time modern web development changes.So microsoft plan to change the web development way using MVC design Pattern(Please Keep in mind MVC is not framework it is Design Pattern,Which firstly come with Ruby on Rails.Thanks to Ruby on Rails.).Above was the main reason to move Microsoft on MVC Track.
So what is the Main differences between ASP.NET and MVC......
| ASP.NET | MVC |
|---|---|
| ASP.NET Provides Huge list of server side controls. | MVC doesn't Support Server Side controls. |
| ASP.NET ,It is framework. | MVC ,it is design pattern,Firslty it come in technology with Ruby Rails. |
| ASP.NET ,It was so coupled relation so unit testing was difficult. | Test driven development is quite simple using this approach. |
| ASP.NET ,It Supports ViewStates. | MVC is Stateless. |
| ASP.NET ,It Follows web form syntax. | MVC It has html helpers.. |
| ASP.NET ,It is not Open Source. | MVC It is open Source.. |

Comments
Post a Comment