String vs StringBuilder
Recently I was asked the question if I knew the difference between a String and StringBuilder. The expected answer, which was not my answer, was String is immutable while StringBuilder is mutable. My...
View ArticleASP.NET MVC Validation with Twitter’s Bootstrap
To all ASP.NET MVC developers who use Twitter’s bootstrap, here’s a quick script you can drop into your web apps to integrate “MVC type” validation with Bootstrap styling. Keep in mind, I didn’t write...
View ArticleMemoryCache doesn’t persist when attached to Visual Studio Debugger
With .NET 4.0, System.Runtime.Caching MemoryCache can be used to persist large object collections for better performance. This works great when your web application is published to a server. When...
View ArticleSilverlight’s Missing ScrollViewer.ScrollChanged Event
If you’ve worked with Silverlight’s ScrollViewer you may have noticed the ScrollChanged event is missing. It exists in WPF but Microsoft conveniently left it out in Silverlight. If you need to be...
View ArticleGoogle AdWords API – ReportDefinitionError
I was recently tasked with retrieving AdWords data using Google’s AdWords API. In order to gain access to the API you need to create an MCC (My Client Center) account using a different email address...
View ArticleLINQ to SQL – GROUP BY Date (Weekly, Monthly, Quaterly, Yearly)
I thought I’d share a bit of LINQ to SQL (actually LINQ to Entities) knowledge I just acquired while developing a filtered report. It took me some time to figure this out so I hope this saves you a lot...
View Article