Sitefinity Error Log

Sitefinity HttpCompileException (0x80004005): External component has thrown an exception

Sam Rueby C#, Sitefinity Leave a Comment

I recently ran into a confusing stack trace occurring in several Sitefinity applications running on a single server. They all varied, but followed a similar pattern: So there’s a few things I notice with this stack trace, which helped me narrow down what might be at fault: The top of the stack trace is in System.Web. That means it’s the …

Sweet pool ripple animation: dissected.

Sam Rueby CSS, Web Development Leave a Comment

In my weekend (okay: daily) ritual of browsing through Twitter I stumbled upon a tweet from Sarah Drasner of a cool pool HTML5 animation she made. Seeing this and a few others floating around made me realize that if I was ever asked to replicate such an illusion that I wouldn’t even know where to start. Well the good thing about CodePen …

Screenshot of Internet Explorer 8 running on Windows XP

Microsoft Edge can’t emulate old IE – now what?

Sam Rueby Web Development Leave a Comment

I may be a Microsoft fan but I’m not an Edge fan. During a recent ceremonious “let’s audit the functionality in old IE”, I was disappointed to see that I was unable to emulate older versions of Internet Explorer (in addition to being disappointed you can no-longer dock the developer tools). We all thought Internet Explorer was bad but I’m …

jQuery 3.0 alpha blog post screenshot

jQuery 3.0 breaking changes to hide() and show()

Sam Rueby CSS, Web Development 1 Comment

Show() and hide() were simplified (well, their internal implementation) and existing code that you wrote that uses them might not work anymore. Why break something so simple?! It wasn’t until I read their post that I understood that their job wasn’t so easy. There’s a few edge cases that don’t have simple answers. Problem #1: They’re not responsive When you call …

screenshot of ssllabs.com results

How to disable SSLv3 and RC4 ciphers in IIS

Sam Rueby Security, Web Development 5 Comments

There’s a great tool from Qualys SSL Labs that will test your server’s configuration for the HTTPS protocol. Somewhat-unfortunately, servers default configuration tends to favor compatibility over security. If you want to get your grade up to an A- or better you will have to make some configuration changes. Here’s what I did while using Windows Server 2008 R2 and IIS. …

Sitefinity: How to use an HTML editor in a custom widget designer

Sam Rueby Sitefinity, Software Development, Web Development 2 Comments

It constantly shocks me that Telerik makes all of these fancy widgets and form controls but they’re somehow not painfully-easy to implement when creating custom widget designers. Even when using Telerik’s Visual Studio plugin Sitefinity Thunder, it’s not a simple point-and-click to use an HTML editor for a widget property. Well I need these widgets I create to be as …

How to Time JavaScript Execution on the Client-side.

Sam Rueby Web Development Leave a Comment

I just found a quick and easy way to time how long a section of JavaScript took to execute. In Chrome, use console.time(string) and console.timeEnd(string) . When timeEnd is called when the same string provided to time, the string and a duration in milliseconds is printed to the console. Found here.

Visual Studio Extension to Compile Sass

Sam Rueby CSS, Uncategorized, Web Development 29 Comments

I’m very excited to have written my first Visual Studio Extension. Prior to this, my team and I heavily relied on Web Essentials 2013. It was somewhat clunky: it compiles simple Sass files very well. However, we kept running into a few issues: It wasn’t always up to date with the latest version of Sass, making it difficult to use mixin …

ASP.NET MVC BundleConfig, scripts returning an empty response?

Sam Rueby .NET Tips, Web Development 2 Comments

The Visual Studio template for ASP.NET MVC 5 comes with Microsoft.AspNet.Web.Optimization, which is used in BundleConfig they provide you. I haven’t used this much and wanted to try it. I wiped out the default stuff and included a line for the only script I needed. public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles( BundleCollection …