• Can't download purchased videos from Xbox Video app: "Item is missing or we can't get it"

    Can't Download. Item is missing or we can't get it. 0xc00d36b2 (0x80070035) Searching this issue in the forums will lead you to troubleshooting DLC rights issues. However, if this isn't your first Windows 8 machine, it's more likely that the issue is a missing local folder. This is easy to overlook since the Video app won't prompt you for a download location when it's first installed and the error message is entirely not helpful. From within the Xbox Video app, open the Settings charm and …

  • Protect JavaScript Modules From Server-side Refactoring with AutoMapper

    Dude, Your Refactoring Just Broke My JavaScript On my small development team, we have a very clean separation of responsibilities. My partner develops and maintains on the server-side code, consisting of data access layer (Entity Framework) and business logic APIs. I am responsible for the clients, including an MVC website and Web API; through which the business logic API are exposed to the MVC client. This has been a very successful model for us (as well as the rest of the industry) but there …

  • Wrapping AutoMapper with Projection Extension Methods

    AutoMapper is a really handy library for handling the tedious work of translating one object into another. I've found it to be absolutely essential for working with MVC and MVVM architectures which involve separate models for the server and client. If you aren't familiar with AutoMapper, here's a quick look: // without AutoMapper return customers.Select(c => new CustomerViewModel { FirstName = c.FirstName, LastName = c.LastName, EmailAddress = c.EmailAddress, …

  • AppVeyor Null ConnectionStrings in Integrated Tests

    My company has been experimenting with AppVeyor as an automated test server, recently. It's a really great service and an awesome startup idea. As a startup, however, there are rough edges and dark spots in the documentation which can lead some really confusing errors. This post is to address one specific issue we had to learn about the hard way. Problem Statement When executing integrated tests in AppVeyor for a solution with multiple projects and you've specified one or more test …

  • JavaScript Slides from NMPG Meeting

    Here are the slides from this month's NMPG meeting. Happy scripting! This is an embedded <a target="_blank" href="http://office.com" data-mce-href="http://office.com">Microsoft Office</a> presentation, powered by <a target="_blank" href="http://office.com/webapps" data-mce-href="http://office.com/webapps">Office Web Apps</a& …

  • The Surface Pro 2 Developer Machine Experiment

    How a bike ride can change everything. As a programmer and a business owner, I really don't like to be without my computer. I hate to leave my laptop at the office over night or on weekends. For this reason, I've been purchasing desktop replacement laptops since I started working out of an office and away from home a few years back. My current machine is a Dell XPS 18 (loaded with all the premium options available through Dell's custom ordering process). To make matters worse, I like to ride …

  • Proof of Concept for Knockout / KoLite Extensions - Part 1

    I first learned about Knockout.js durring Steve Sanderson's demo at the Mix 2011. Unfortunately, I was watching from home and was not in attendence. However, that fact did not seem to diminish the magnitude of the moment. Knockout has forever changed the way I develop web UI. More recently, John Papa and Hans Fjällemark have released KoLite, a small library of functional extensions to the Knockout framework, namely: command, asyncCommand, activity, and …

  • MVC Style Editor/Display Templates with Knockout.js

    A simple application of Knockout.js template binding to achieve edit and display templates a la MVC’s EditorFor and DisplayFor Html helpers. I've recently started using the Knockout.js JavaScript library in some rich client views. Earlier this week, I found myself building a dynamic view which renders a table with a column structure which isn’t known until runtime. This is accomplished with the following markup: <table id="inventoryTable"> <thead> <tr& …

  • Fixing CSS Overflow Issues with jQuery: Duct Tape for Web Developers

    The project I’m currently working on has a standard 2-column layout where the primary content is on the left and a couple hundred pixels on the right provide a secondary content area. The problem, however, is handling the case when the primary content requires more width than is available. The following is an account of how CSS overflow left me hanging and as well as my solution to the problem using jQuery. The Problem As you can see in the image below, I have a table which is longer …

  • Windows 8 Marketplace: Don't Call it an App Store!

    One of the many announcements revolving around Windows 8 (pay no attention to the Mac Book Airs strewn all over the news desk) is the evolution of the Windows Marketplace. Of course, Windows 8 is Microsoft's completely reimagined operating system which spans multiple form factors. So what makes it so much different from the Apple iStore? Short answer: It's not just for apps! One important distinction between the Windows 8 Slate PC and the Apple iPad is that the Windows slate is not a watered …

  • Windows Phone 7: Why You Don't Know What You're Missing (AKA. No Love From Best Buy)

    A recent interaction with a couple of Best Buy managers left me wondering: What's going on with Windows Phone 7 and what will it take for the consumer market to realize that they're missing out on a great phone? Here are a few key areas which I believe need to be addressed if MSFT hopes the WP7 will have a different fate from the Zune (which I still LOVE). Who: Target Market From my point of view, Microsoft seems to do really well with develop adoption. I think that has to do with …

  • MS Build Day 1 Keynote Cliffnotes

    Since the Build keynote is over 2 hours long, I figured I would compile a cliff notes version to help save time. I've included some important time marks for convenience.  Developers! Developers! Deverlopers! Steven Sinofsky: President Windows and Windows Live Division00:01:00 - Introduction to Windows 8 Windows 7, IE 9 and Windows Live Recap Evloving Expectaions of Form Factors 00:08:00 - Windows Reimagined Performance enhancements 00:14:00 - User Experience ( …

  • HTML Web Developers Granted Citizenship by Microsoft

    I'm a web developer; or at least I was up until recently. That all started to change about 4 years back when I began learning Silverlight. Silverlight allowed me to take my existing knowledge of C# and the .NET framework and build web applications with a much richer interface. You may be thinking, "Silverlight is a web platform, duh." And you're right but Silverlight set the stage for the changes to come. In 2010, MSFT released the Windows Phone 7 which supported a subset of Silverlight for …