Silverlight’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 notified of changes to the VerticalOffset or HorizontalOffset Continue reading Silverlight’s Missing ScrollViewer .ScrollChanged Event

MemoryCache 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 debugging in Visual Studio, you’ll find that the cache object will Continue reading MemoryCache doesn’t persist when attached to Visual Studio Debugger

ASP.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 this from scratch. I found several Continue reading ASP.NET MVC Validation with Twitter’s Bootstrap