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.
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 …
Microsoft Edge can’t emulate old IE – now what?
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 breaking changes to hide() and show()
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 …
How to quickly generate pluginless share links
Everyone (especially clients!) want to make it super-easy for people to share a page on their site. In the past I’ve either had to hunt for a plugins that built the URLs for me or go to each social media network and figure out what their recommend method was. All I wanted was an <a> tag I could use for …
How to disable SSLv3 and RC4 ciphers in IIS
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
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.
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
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?
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 …