By: Bayshore Solutions Development Team

Bayshore Solutions always provides its clients added value by utilizing the latest stable tested Microsoft Application Frameworks.  This ensures applications are always able to provide the latest in Rich Web Content and Maximum Availability to customers.

One of these frameworks is the relatively-new Model-View-Controller or MVC framework.  MVC offers several advantages over traditional Microsoft Web Forms (.asp and .aspx pages with which we’re all familiar):

  1. Enables the full control over the rendered HTML
    • No ViewState!
    • Easy integration with existing and new JavaScript frameworks such as jQuery
  2. Provides clean separation of concerns(SoC) and Test Driven Development (TDD)
  3. Follows the true design of the stateless nature of the web
  4. URLs that enhance SEO

Enables Full HTML Control
Traditional Microsoft Web Forms utilizes hidden HTML called ViewState to store page-level information and retain that information through postbacks (button clicks) to the server.

Over the years, as more and more controls and functionality to ASP.NET Web Forms have been implemented, this hidden ViewState (rendered to the client’s browser) has the potential to become absolutely huge, slowing page load times.  MVC eliminates this with its fine-grained control over the final rendered HTML.

WebForms also has its own set of controls that have their own increasingly complex set of properties.  Often times, these server-side controls interfere with many Javascript libraries that common web pages utilize.  More T&M time is spent by the developers creating workarounds and fixes.  MVC renders plain old HTML controls that can be used by any 3rd party library.
Separation of Concerns
Separation of concerns (SoC) is a design principle for separating a computer program into distinct sections, such that each section addresses a separate section of overall business functionality.   A specific section to process page input, a section that specifically renders the HTML, a section to handle database calls and nothing else, etc.

MVC code architecture is very organized, clean and granular, making maintenance and upgrades much more cost effective by decreasing development turn-around times.  This allows for a greater level of functionality that can be added to your website for the same cost points as traditional ASP.NET Web Forms development.
Test-Driven Development
MVC’s modular design means that unit tests and QA scripts can be written with ease.  Additional layers of testing code provides yet more defenses against unexpected behavior, giving customers a rich, error-free user experience.
SEO-Friendly URLs and Stateless Design
All of the major Search Engine’s bots and spiders will be much more receptive to a URL such as “/Users/1” (get the user with an ID of 1) as opposed to “/Accounts/Users.aspx” with user passed in behind the scenes in the Session object.

Since MVC follows the true Stateless nature – the way the web is intended to operate – MVC removes the headaches of customers who spawn multiple browser tabs and windows.  MVC goes with the flow, as opposed to fighting against it as in Web Forms.

As you can see, Bayshore Solutions implements only the best solutions to not only get your website up and running quickly and smoothly, but also enables enhancements, upgrades and maintenance to be a breeze!  This keeps your customers happy and purchasing with a responsive well-designed, and fast website!  Contact Us today to get started!

Recomended Posts