Académique Documents
Professionnel Documents
Culture Documents
com
Author
Recent Posts
Thiago Silva
Read Post
0
Like
Share
Read Post
Read Post
engagements.
While those two points are juxtaposing, they indicate
that a lot of people, simply put, just dont know the
CREDERA.COM
BUSINESS INSIGHTS
advantages
of the MVC pattern and how to sell those
TECHNOLOGY INSIGHTS
CAREERS
CONTACT
order to get buy in. This post will provide you with
some major pointers to help in making the case for
ASP.NET MVC vs. Web Forms Part 1: The Advantages of MVC - blog.credera.com
ASP.NET MVC.
MVC is a
mature design
pattern, dating
back to 1979
from the Xerox
PARC. It
conveys the idea that your presentation should be
ignorant of your business and domain logic in other
words, it enforces separation of concerns. In the MVC
world, web requests are received and dispatched by
the controller which is in charge of communicating
with the business logic to retrieve data and then to
pass this data, the model, to the presentation layer,
the view.
What does this buy us, might you ask? Well, it fosters
the adoption of best practices and good software
development patterns, such as:
Separation of Concerns
Unit Test/TDD and Type Mocking
Loosely coupled tiers
Highly maintainable code
Better code organization
S.O.L.I.D.
The
ASP.NET MVC vs. Web Forms Part 1: The Advantages of MVC - blog.credera.com
ASP.NET MVC vs. Web Forms Part 1: The Advantages of MVC - blog.credera.com
Tags:
Microsoft
ASP.NET
Credera
HTML5
MVC
ASP.NET MVC vs. Web Forms Part 2: The Advantages of Web Forms - blog.credera.com
Gabe Salazar
This is part 2 of a 3-part series comparing ASP.NET MVC and Web Forms as a paradigm for ASP.NET websites. If
you missed the first part of the series, you can find it here. The purpose of this series is not to choose one technology
over the other, but rather to point out each of their strong points and equip the reader with enough information to
make the appropriate decision when selecting which tool to use for their next web application project.
Recent experience shows that enterprises are interested in MVC, but still leaning towards Web Forms. Familiarity is
the most likely reason for the slow transition to MVC. The stateful mechanisms utilized in Web Forms present a
programming model that is more consistent with desktop and non-user-interface based application development,
providing more familiarity for windows application developers and developers from other paradigms and platforms.
The bottom line is that Web Forms provide a smaller learning curve for developers from diverse backgrounds. While
this isnt necessarily a great reason for using Web Forms, it is a clear advantage when starting a project.
Web forms are also great for rapid application development. This can be good for prototypes or smaller applications.
Testable, maintainable solutions can be implemented with proper technical leadership when working on larger
applications, while MVC provides for these mechanisms by enforcing a separation of concerns. Keep in mind that
some of the larger enterprise eCommerce and employee portal solutions are built on web forms.
CREDERA.COM
TECHNOLOGY INSIGHTS
CAREERS
BUSINESS INSIGHTS
NEWS & EVENTS
CLIENT STORIES
CONTACT
The architecture and environment provided by Web Forms also enables developers with less Javascript, HTML and
CSS background to develop applications more quickly. Server side access for manipulating HTML markup and drag
and drop functionality of controls for creating page layouts can also lend itself to faster user interface development as
server controls will generate all necessary HTML/CSS markup. And dont forget that major off the shelf solutions use
ASP.NET MVC vs. Web Forms Part 2: The Advantages of Web Forms - blog.credera.com
web forms, including Microsoft SharePoint and Microsoft Commerce Server. Even while custom development projects
transition to MVC, certain solutions will always require expertise in web forms.
Here at Credera, our staff has extensive experience in both Web Forms and MVC development. We have also
implemented solutions in may off the shelf technologies. If you have questions about which technology makes the
most sense for you project or have other questions about Microsoft Development, please contact us for more
information.
Look for a side by side breakdown of MVC and Web Form technologies in our next installment of this blog series.
Posted by Gabe Salazar on January 19th, 2012 in Article, Custom Application Development, Microsoft Solutions.
Tags:
ASP.NET
Credera
HTML5
Microsoft
MVC
Author
Recent Posts
0
Like
Read Post
one here and part two here. The purpose of this series
Read Post
Share
If you have read parts one and two of this blog series,
Read Post
BUSINESS INSIGHTS
Team
TECHNOLOGY INSIGHTS
CAREERS
CLIENT STORIES
CONTACT
experience and
background
Extensibility
Third Party
Tools
Web Forms is a mature framework and has plenty of
third party controls and tools that make some tasks
incredibly easy. The Ajax control toolkit, Telerik,
Infragistics, etc. all provide some awesome
functionality out of the box in the form of custom
controls. These third party offerings can save a ton of
development time if they meet your needs. While Web
Forms has the upper hand in the form of third party
tools that generate page content, ASP.NET MVC is
able to make better use of tools that are geared toward
quality code. Dependency injection, mocking, and unit
testing tools are able to be used to their fullest extent
in ASP.NET MVC projects with little set up effort.
Web Forms projects are at a disadvantage when it
comes to using these tools, as the framework itself
makes it difficult to enforce the decoupling required
for the tools such as Ninject, Moq, and NUnit to be
useful.
Design and
http://blog.credera.com/custom-application-development/asp-net-mvc-vs-web-forms-part-3-the-breakdown/[24/07/2014 11:36:19 a.m.]
Device
Targeting
Web
design is
Conclusion
Hopefully this blog series has helped educate you on
the key advantages and disadvantages of both
ASP.NET Web Forms and ASP.NET MVC. The
discussions above should be a good starting point
when deciding which technology to use on your next
web development project. Remember to stay objective
and keep in mind that ASP.NET MVC and Web Forms
are both capable technologies and choosing one over
the other does not spell doom, nor guaranteed success,
for your project. Credera has experience implementing
and extending robust web applications built using
ASP.NET Web Forms and ASP.NET MVC for
companies including Radio Shack, GameStop, Alpha
Natural Resources, and Interstate Batteries (to name a
few). If you have questions about which technology
makes the most sense for you project or have other
questions about Microsoft Development, please
contact us for more information.
Tags:
asp
custom development
Microsoft
MVC