Coding


Posts From The Archive

Getting Logi Info Studio To Play Nice With Git & CI/CD

A look at some basic limitations with Logi Analytics' IDE

In recent weeks I've become intimately acquainted with Logi Analytics' IDE, called Logi Info Studio. I haven't yet used it enough to have a strong sense of Logi's platform as a whole, but there are definitely two aspects of developing with Info Studio which I've found outmoded: it is neither terribly source control friendly nor very well suited for continuous integration/deployment environments. [Read More]

WPF: Zoom In An Image On Application Load

I recently decided to create a new image viewer for Windows. I'm not a fan of the default Windows Photo Viewer and think most third party image viewers are even worse. The only one I've liked quite a bit is the viewer that comes bundled with Google's Picasa. However, Picasa itself no longer really fits into my digital photo organization strategy and I really hate to install all of Picasa just so I can have the peripheral 5% that constitutes its image viewer. So I decided to roll my own using WPF... [Read More]

Unit Testing HostingEnvironment.MapPath()

Without getting into all the whys and wtfs, the other day I had a need to dynamically render and inject html snippets into various webpages at runtime. The project I’m working on originally created the html in C# by concatenating string fragments and formatting them with runtime values. With all the requisite escape sequences needed to create valid html (including encapsulated JavaScript), this approach struck me as a bit messy and I decided to take a different route. [Read More]

List All IIS Websites And Process Ids

Recently I’ve found myself looking up IIS process ids juuuuuuust infrequently enough that I haven’t been able to memorize either the command itself or the file location for appcmd.exe, meaning I’ve been looking them up every time I’ve needed them. That, I decided, was too much work, so I actually wrote The Simplest Console App Ever™ to spit out the information for me. Memorization, schmemorization. Yep, because I’m just that lazy. [Read More]