Fairly Accurate JavaScript Browser Detection Jun 12, 2010 I use jQuery for almost everything I do in JavaScript. The only real problem is that jQuery’s browser name and version detection doesn’t provide exactly what I want. ...
Using DataAnnotation attributes to validate Membership password Jun 11, 2010 As a follow-up to my post on DataAnnotations in ASP.NET Web Forms, I’d like to demonstrate yet another custom attribute. Although ASP. ...
JavaScript color picker May 31, 2010 I’m anxiously awaiting the implementation in Google Chrome for HTML5’s color chooser: <input type="color" /&gt In the meantime, I found a nice little javascript color chooser at http://jscolor. ...
System.ComponentModel.DataAnnotations for ASP.NET Web Forms May 27, 2010 Although I’m primarily an ASP.NET Web Forms developer, I regularly dabble in new and interesting technologies. I’ve toyed with other Microsoft technologies such as ASP. ...
Font-Face generator May 18, 2010 [][1]@font-face Kit Generator User Interface CSS3 allows you to create custom font-faces so a user will see fonts exactly as you’d like them to be seen, without forcing the developer/designer to export all custom fonts as graphics. ...
Finding a user’s local time from UTC offset May 4, 2010 I answered a question over at StackOverflow, and I really liked the answer, so I thought I would share this nifty extension method: ...
NHibernate.Criterion Extensions workaround May 3, 2010 I’ve been working with Fluent NHibernate for the past month or so, and I realized while writing an NHibernate query that the NHibernate Criterion’s Restrictions class isn’t very refactor-friendly. ...
CopyCat Rails’ Time Extensions May 3, 2010 I’ve become a fan of Ruby’s simple syntax. My favorite thing is the ActiveSupport’s Numeric Time Extensions. I’m starting a library of useful extensions, and I’m going to be adding a number of shortcuts to mock these extensions. ...
DRY! GenericComparer<TType> for sorting Generic Lists Apr 22, 2010 I’m a pretty firm believer in the Ruby/Ruby on Rails idea of DRY (“Don’t Repeat Yourself”). That said, I get pretty tired of writing comparers for sorting lists and generic lists. ...
Oracle Exception: Could not load file or assembly ‘Oracle.DataAccess, Version=2.111.7.20… Apr 9, 2010 Last week, I was having performance issues with my workstation. I was told to remove unused files and applications. I had previously installed ODAC 11g for the Oracle Data Providers. ...