July 24, 2012

MVC Controller Best Practices

By |2018-06-27T17:48:14+00:00July 24th, 2012|Categories: ASP.NET, MVC|

Here are a few basic best practice guidelines to keep in mind when writing your controllers using the MVC pattern with ASP.NET MVC. Keep controllers "skinny, keep action methods small Your controller actions should be kept as small as possible, with business logic living in your models.  "Fat Model, Skinny Controller" is the motto. Here is [...]

June 26, 2012

MVC Model Binding Not Working with Fields

By |2012-06-26T21:22:52+00:00June 26th, 2012|Categories: ASP.NET, MVC|Tags: , |

This will be a very quick/simple post. Maybe this is very clear to most people when they start out developing with ASP.NET MVC but it was not right away with me... When you are using 2-way model binding in MVC to bind your model to your view and back again, you MUST use properties with getters/setters, [...]

February 12, 2012

A quick review of nopCommerce, a great ecommerce shopping cart built using MVC

By |2018-06-27T17:47:26+00:00February 12th, 2012|Categories: ASP.NET, MVC|Tags: , , |

  I recently had a client who wanted to setup an online store, they had several hundred products to list, and wanted to have something up as quickly as possible. I had read quite a lot of good reviews about nopCommerce, an open source .NET shopping cart product built with MVC. I decided to give it [...]

Go to Top