Richard McCutchen | 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 [...]
Category: ASP.NET MVC, C# |
2 Comments »
Tags:
Richard McCutchen | 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 [...]
Category: ASP.NET MVC, C#, Extension Methods |
7 Comments »
Tags:
Richard McCutchen | 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 [...]
Category: ASP.NET MVC, C#, Errors |
1 Comment »
Tags:
Richard McCutchen | 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).
Category: ASP.NET MVC, DataAnnotations |
8 Comments »
Tags: ASP.NET MVC, data validation, DataAnnotations, MVC 2, RegularExpressionAttribute, ValidationAttribute