Tags
Archives
- October 2014
- March 2014
- December 2013
- July 2013
- January 2013
- December 2012
- August 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- July 2011
- June 2011
- May 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
Categories
Blogroll
Code Tools
Resources
Web Tools
Author Archives: codeoverload
A URL Friendly Hash Algorithm
I always try to use GUIDs to identify public resources on a website: //www.code-overload.co.uk/private/4B979F21-BAEF-46EE-A1E2-B62C114DCFA7 In order for this to work the GUID needs to be persisted, usually in a database. If you can’t persist it, but you need the public … Continue reading
Posted in Tips and Tricks
Leave a comment
Using Ellipsis in CSS
It can be a bit tricky getting CSS ellipsis working, so here’s a simple example: I’ve created a JSFiddle example.
Posted in Reference, Tips and Tricks
Leave a comment
Displaying Validation Errors with ASP.NET MVC
We all know how important it is to validate user input, but it’s equally important how we present validation errors to the user. Take the following form: The email field needs to be optional but any address entered must be … Continue reading
Null Checking Made Easy
It’s fairly common for developers to need to move data from one class structure to another. If the class is complex you may find yourself writing endless null checks to ensure you don’t cause a NullReferenceException: This article includes a … Continue reading
How to Deserialize Derived Objects in Json.NET
Imagine you need to process some JSON that looks like this: Notice how the array contains similar objects, two vehicles. Each vehicle has a “type” property that identifies the specific type of vehicle. If we wanted to deserialize this into … Continue reading