Hi,Thank you for reading my first post on ASP.Net MVC
Before writing anything..let me explain why we need ASP.Net MVC when we already have ASP.Net Webforms for Web development which is also
a product of Microsoft.
Why ASP.Net MVC?
Below are the uses of ASP.Net MVC.
1.Loosely coupled applications can be developed.
2.More control over the applications
3.Parallel development.
4.Easy for unit testing.
1.Loosely coupled application development
In web forms if we have to add or remove a control it will impact code behind which means there is a tight dependency between presentation layer and business layer.which is not the case with MVC where we have loosely coupled Views and Controllers and Models.
2.More control over the applications.
Means suppose we are using web forms applications we need to use controls in ASP.Net toolbox or need to create controls.
Where as in MVC,all the presentation logic can be written on our own and hence we how every piece of code reacts.
3.Parallel development.
As there is no dependency between view (Presentation uses HTML) and Controller(Busineess logic (C Sharp)).members of a team can work independently on different layers which is not at all possible in Webforms applications.
4.Easy for Unit testing.
Its easy to automate unit testing in MVC and It can be done in parallel in MVC.
Thank you for reading..
Before writing anything..let me explain why we need ASP.Net MVC when we already have ASP.Net Webforms for Web development which is also
a product of Microsoft.
Why ASP.Net MVC?
Below are the uses of ASP.Net MVC.
1.Loosely coupled applications can be developed.
2.More control over the applications
3.Parallel development.
4.Easy for unit testing.
1.Loosely coupled application development
In web forms if we have to add or remove a control it will impact code behind which means there is a tight dependency between presentation layer and business layer.which is not the case with MVC where we have loosely coupled Views and Controllers and Models.
2.More control over the applications.
Means suppose we are using web forms applications we need to use controls in ASP.Net toolbox or need to create controls.
Where as in MVC,all the presentation logic can be written on our own and hence we how every piece of code reacts.
3.Parallel development.
As there is no dependency between view (Presentation uses HTML) and Controller(Busineess logic (C Sharp)).members of a team can work independently on different layers which is not at all possible in Webforms applications.
4.Easy for Unit testing.
Its easy to automate unit testing in MVC and It can be done in parallel in MVC.
Thank you for reading..
No comments:
Post a Comment