We recently decided that with the effort we're putting into our website and some changes that we're making that now would be as good of time as ever to make the switch to the new Asp.net MVC Framework. We're no Google, but we're currently receiving around 18,000 unique visitors a day and 300,000 page views and hope to grow that number as we make our site easier to use for our customers. I hope to rely heavily on Phil, Rob, and Scott for assistance if needed.
The MVC design appeals to us because the large amount of business logic that has crept it's way into the codebehind. Despite the best intentions, the current site, which is programmed in asp.net 1.1, has had too much logic to creep into presentational areas while running with webforms. The biggest drawback to this is reduced testability. Testability should be important in any project but for us it is paramount. We have business rules that if not adhered to amount to real-world fines:
A few years ago a customer bought some lubricant that is sold in an aerosol can. Since 9/11 aerosol cans cannot be shipped as cargo on airplanes. Somehow this order made it though the checks we have for this type of thing in the warehouse and made it onto the UPS truck. At the UPS facility, a UPS employee heard something emanating from a box that sounded like an aerosol can. At that point he is required by law to check the contents. When he opened the box he found the aerosol cans. Despite knowing us and our reputation, he was required to call the FAA and say something to the effect of, "I found some aerosol cans in a package that was scheduled to be flown." It didn't matter that this was an accident or "just a few cans", we were still fined. We were warned that if this were to happen again that we would face a fine somewhere in the low six figures. The FAA doesn't mess around.
As we go forward I plan to document on this blog the highs and lows of our transition. I'll post questions and problems we're having that I hope you can help with as well as tips and tricks our team has found helpful. Stay tuned as we make the transition.
This blog contains the thoughts and discoveries of Tim Barcz, a technologist with a interests in computer programming technologies.