Programming

Minification Failed. Returning Unminified Contents.

Posted on

Has you ASP.NET applicaiton reported that minification failed? If you are using bundles in application, you might come across this exception comment at the top of your larger-than-expected bundle file. /* Minification failed. Returning unminified contents. (List of problems here) */ It can happen for JavaScript or CSS, but it means minifier has found something […]

Windows

Failed to Load penimc.dll and Related Problems

Posted on

Following on from a series of recent Windows Updates, a couple of our servers had a problem running Server Manager (“Server Manager has stopped working”) and SQL Management Studio (“Failed to Load penimc.dll”). The details of the Server Manager error were in the event log: Application: ServerManager.exe Framework Version: v4.0.30319 Description: The process was terminated […]

Programming

ASP.NET MVC Image Squishing with Picz

Posted on

Responsive images have been around for a while and have wide browser support as well as a strong fallback story for older browsers. The one thing holding us back from using them is the manual workflow… Arrive at office Create images at different sizes Upload images Write an HTML tag listing all the image sizes […]

Programming

Find Code Hotspots with ndepend

Posted on

One of the constant battles in software development is predicting where problems are in your code. There are lots of ways to cut up your codebase in order to predict where problems are likely to occur; I have been experimenting with some reports over check-in history in Visual Studio Team Services to find files with […]

Programming

Web Farm Cookie Encryption in ASP.NET

Posted on

If you want to secure a cookie, you need look no further than the System.Web.Security MachineKey class. Using this class, you can protect and unprotect text quite simply. If you are running without load-balancing, you can skip to the wrapper methods at the bottom of the article, which give you methods for protecting and unprotecting […]