I Code, Therefore I Am

while(!(succeed == try()));

Http error handling the proper way

| August 2, 2011

Working with MVC (ether 2 or 3) there are numerous ways of dealing with exceptions, so I’m going to be writing a few entries to show good ways to handle these issues, and the these classes will inherit cases from ActionResults to ViewResults, allowing you to handle your exceptions (handled or unhandled) is a cleaner [...]

MVC SelectList, the easy way

| July 25, 2011

I bet that more than once you’ve used the SelectList in MVC, I now I have. I’ve also seen some painful ways of creating said SelectList. How many of you have seen a SelectList created like this: Richard McCutchenRichard has been a professional software developer for over 15 years now. In fact he was a [...]

The Dreaded error CS1026: ) expected And Solve It in MVC 2

| April 21, 2011

I fought with this error for hours today, I kept getting an error like so Richard McCutchenRichard has been a professional software developer for over 15 years now. In fact he was a geek long before being a geek was ‘cool’. He has his Bachelors in Computer Science from The University of Georgia and is [...]

Data validation with custom DataAnnotations in ASP.NET MVC

| December 18, 2010

MVC 2 offers a great way of data validation, using DataAnnotations (http://rlm.cc/gUM7nO), which allows you to out your validations right in your Model/ViewModel and be executes in your View (making things much cleaner in my humble opinion).