Month: September 2013

  • It’s soooooo obvious!

    While using the Newtonsoft Json.Net library I received the error “Explicitly define an Id for the type using a JsonObject/JsonArray attribute or automatically generate a type Id using the UndefinedSchemaIdHandling property.” When attempting to generate a schema for some types that were created that have circular references. My types were created in EntityFramework database first…

  • SysWOW64 burns a few hours

    My latest adventure involves me setting a profile for Powershell to import a module so that I can use a custom script without manually loading it each time. So run off to find that the environment variable isĀ $profile.allusersallhosts. It maps to a file “C:\Windows\SysWOW64\WindowsPowerShell\v1.0\profile.ps1”, so I open up Notepad++, place my import statements in there…

  • IIS Express misdirection

    So I maintain multiple branches, one for on-going development and the other for production support. Although Git has a feature to switch branches, it does some magic in the background which moves files and require you either to stash your changes or commit, which can be inconvenient, so instead I have the branches checked out…

  • Bleeding edge vs Cutting edge

    So after returning from Code camp NYC, I got back to the office with a bunch of new toys that I absolutely had to integrate as part of our solution. I started messing around a web framework called “Hot Towel”, which includes “Bootstrap”, “Durandal”, “RequireJS” and “Toastr”. Out of the box, it compiles and the…

  • Fighting Git with many tools

    So I decided to create a branch in Git to implement a nice new feature and after about a week or so, I get to a section of code that was shared with my cohort and course changes were made that I wanted. So I figured, “This is what Git is good at, right?” In…

  • Javascript is Evil – Curly brace indentation

    So I’m building a little DurandalJS SPA (single page app) test site tonight and while building the view model I do what I’ve typically done in the past when I run into Java curly brace convention, which is to plop that sucker down to the next line a la default VS C# convention. Little did…

  • Wix Windows Service – Start on install

    So I was building a wix setup project for a windows service and kept running into a wall while getting the service to start after a successful install. It kept giving me an error “Verify that you have sufficient privileges to start system services”. I searched through nearly 50 articles that led me on a…