
Azure Developer CLI - Origin Story
How I built the Azure Developer CLI from a personal pain point into a platform used by thousands.
572 posts

How I built the Azure Developer CLI from a personal pain point into a platform used by thousands.



Fix for GitHub Actions error: Unexpected value 'branches' in workflow_dispatch. Learn why workflow_dispatch doesn't support branches filter.


You are on a repo that you love and you see that you have maxed out your allowed 20 Codespaces!!! You’ll see this: But there’s no link to delete a Codespace....

Azure Identity is an Azure SDK library that abstracts all the authentication complexities so you can get back to building your Azure solutions. In Azure Iden...

I’ve been writing some UI automation tests with Playwright and was trying to parse a SignalR event. Like so: const imageEvent = JSON.parse(event.payload.toSt...

Azure Identity is a library that abstracts away all of the Azure authentication complexities so you can focus on building your solutions. In Azure Identity 1...

I started playing with Playwright (the browser test automation tool) yesterday and discovered that the codegen feature doesn’t work in a devcontainer out of...

Azure Identity is a fundamental building block of the new Azure SDKs. We wanted to make it brain-dead simple for you to authenticate your apps with Azure. Au...

I’m using Visual Studio 2021 Preview 2.1 and I was constantly getting prompted to re-enter my credentials multiple times. I would have to 2FA 3-4 times ever...

We recently added native CloudEvent support to our Event Grid libraries. I created an app for my Intro to the new Azure SDK Python video and discovered that...

I’m new to Golang and yesterday I attempted to create a Golang CLI. Here’s what I learned while getting it up and running on WSL. This took me a while. Hopef...

Azure Identity is a library that simplifies how applications authenticate with Azure services. The following code news up a KeyVault SecretClient and passes...

I’m pulling data from GitHub Codeowners into a Power BI report. All was dandy locally, but refresh failed on the PBI service with this: This dataset includes...
GitHub has Topics. For example, when you search for “Azure” on GitHub it displays the Azure topic: And when you click on “See topic” you can view the details...

You’ve created your Microsoft Teams Team and you want to send an invite to all of the Team members. You create an invite and see the following, but you aren’...

VS Code just released an update that lets you embed an “Open in Visual Studio Code” button in your GitHub readme. It uses the Remote Repositories VS Code ext...

I just created a Microsoft Teams private channel and noticed that it doesn’t have “Get link to channel” option like other channels. Here, you can see it does...

Let’s say that you are developing with Azure Event Grid and you simply want to see the messages that it is generating to observe the schema or debug it. To d...

I just organized all my old photos into this folder format YYYY/YYYY_MM/YYYY_MM_DD - see this blog for more info: How to Organize Photos by EXIF Date Taken w...

Update - New GitHub CLI Extension GitHub CLI 2.0 introduced CLI Extensions. I took a few minutes and threw all of the fixes below into a new extension called...
I’ve been coding in .NET for a very-long-time, but this tripped me up. Run the following code: var resources = await client.Resources.ListByResourceGroupAsyn...


You’re using VS Code with the GitLens extension and you see this: Or maybe you noticed that sometimes that text is inserted into the middle of what you are t...
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.

Fix subscription does not have QuotaId feature error in Azure. Solution for Azure SKU quota limitations.


I don’t eat at McDonald’s often, but when I do it’s sodium overload because me and my kid are use to a very low-sodium diet. While on a recent roadtrip we wa...

This is a story of how much effort and care we put into Azure SDK naming guidelines and consistency - even for the casing of a single letter…the last T in Io...
Solution to Jekyll theme primer file not found error. Fix missing include file issues in Jekyll.
I recently decided to organize all of my photos from the last 20 years. Photos from various phones and cameras - all with many different formats, JPEG, RAW,...

I recently and successfully used AirportParkingReservations.com to park my car at Master Park at SeaTac - so I thought I would write a quick note to let my r...


I do most of my dev in WSL and occasionally I screw up line endings between Windows and WSL. I wanted to solve the line ending changes so I added a .gitattri...

This was time suck for me, hopefully not for you after reading this. I’m working on a PowerShell script to organize my photo library. I want to get Date Take...
Ran a gh clone today and got this: GraphQL error: Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organiz...

I’m working on setting up Codespaces for my project and tried to open my workspace and got this error: The workspace can not be opened in a container. Folder...
I tried to open a VS Code Codespace devcontainer and got these errors: Start: Run: docker ps -q -a --filter label=vsch.local.folder=d:\OneDriveMS\code\Git...



It quite common to lose track of what filters you currently have applied to a Power BI report. Also, there’s no out of the box way to clear them all. So, her...

If you see this error: Autodesk Translation Services failed to translate the current document to stl file - in Fusion 360, then try the solutions here: https...

Here are a bunch of ways you can find which roles are built into Azure. This will come in super handy when you need to assign a role to a service principal o...

Azure doesn’t currently provide a way to delete multiple resource groups at the same time. Here’s a method that works for me. Open Azure Portal https://porta...


I ran into this error yesterday, not sure how I got Visual Studio into this state, but I thought I would post a quick fix - just in case you run into the sam...

Ticket to Ride is the “go to” board game for me and my family. We’ve been playing for years and like it a lot because it is easy to learn, has a good amount...
Azure has many cloud instances like: Azure Public, Azure Government, Azure German, and Azure China. You can see the full cloud list and associated endpoints...

Not sure how, but Amazon charged my Prime membership to the wrong card. I contacted them via chat to credit that card and charge my primary card. They had to...




I’m working on an app that accepts user input of a start year and end year, loops through those years, and outputs the year. For example, given the start yea...

I have two OneDrive accounts, one for personal, one for work. When you have two accounts on the same machine, OneDrive automatically creates a folder for the...

When using Power BI Desktop you will see the “Data” tab on the left. When you create a new DirectQuery connection, the “Data” tab disappears. It wasn’t obvio...
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.


On Windows using the Windows Installer and Azure CLI wouldn’t update to the latest version - it was stuck on 2.0.44, but the latest is 2.0.66. I uninstalled...
This is my 20th year as a software engineer and 15th year at Microsoft. I started in 1999 and worked in startups for 5 years. I then spent the next 12 years...



I’m building a recursive Vue.js component and ran into this error: Unknown custom element: <Categories> - did you register the component correctly? For recur...


Developing a Vue.js app and I was getting this: Uncaught TypeError: Cannot set property 'render' of undefined at normalizeComponent (componentNormalizer.js:2...

With this code: @Component export default class CategoryRating extends Vue { @Prop({default: {}}) category: any; I kept getting this VS Code error: Exp

I spent way too much time this weekend debugging Vue.js - Vetur - Prettyhtml - Prettier - Beautify - Eslint issues. Here’s what I discovered: By default, Vet...

Working on a Vue.js and TypeScript project. I had this: @Prop() enabled!: boolean = false; And got this error: Avoid mutating a prop directly since the value...

I’m new to Vue.js and didn’t realize that you have to fully define the structure of your view model object or bindings will not work. For example, with this...

One way to keep track of tweets that you want to follow up on is to “like” them to review at a later time. I posted my method for that here: How to Create a...

I only “like” tweets that I want to follow up on. For example, when someone tweets a new podcast I’ll “like” it as a reminder to listen to it later. Before t...

I have a NVIDIA GeForce GTX 745 graphics card, which has one DisplayPort and one HDMI port. My NEC PA322UHD is connected via DisplayPort and my NEC EA275UHD...

I’ve been snowboarding off-and-on for over 25 years but have never owned a decent snowboard. I recently decided to get a good snowboard and bindings and, lik...

Go to Firmware Page https://digilab.dremel.com/3D-Support Download Firmware Zip file and unzip it. Run dremel_firmware.exe as Admin. Plug printer into comput...
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.

A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.

In Azure DevOps, got this: The user's home directory could not be determined. Set the 'DOTNET_CLI_HOME' environment variable to specify the directory to use....
In Azure DevOps, got this error: 2018-09-25T21:24:45.2778646Z ERROR: Error: Value cannot be null. 2018-09-25T21:24:45.2791049Z Parameter name: paths 2018-09-...

My main monitor is a NEC PA322UHD and my secondary is a NEC EA275UHD. I set them both up on a new computer with a NVIDIA GeForce 745, the PA322 on DisplayPor...

Building Python packages that support both Python 2 and 3 is time consuming and at some point you are going to ask the question “Can I just build this thing...

When you launch SpectraView II for the first time it will ask you for a serial number: “Enter the serial number you received with software” I could not find...

You may have noticed that ConfigurationManager is not available in Azure Functions v2 .NET Standard projects. It’s no longer supported. AF v2 now uses ASPNET...

I just published my first official distributable Python package to PyPI, which makes it available to install via pip install. It’s called Azure IoT Edge Dev...


When setting up Azure IoT Edge, you will most likely want to use an external config file. If you run iotedgectl setup with the --config-file option and don’t...


My iPhone 6 Plus was so slow it was unusable. Each tap would take 2-3 seconds and everything was sluggish. I deleted all apps I wasn’t using and turned off ...

Outlook has been hanging on me for the last couple of days. Turns out it is related to the Skype Add-in. I disabled the add-in and it’s fine now…but I won’t...

Azure IoT Edge Public Preview was just announced at Microsoft Connect. Here’s how to get it running on Raspberry Pi with Raspbian Stretch or Stretch Lite. Ra...
How to change keyboard layout on Raspberry Pi. Configure keyboard settings in Raspbian.

By default Raspberry Pi does not allocate enough of your SD card for it to be usable. Out of the box, if you run sudo apt upgrade, you’ll get a message sayi...

The very first thing you are going to want to do when you get your Raspberry Pi is install an OS. You have a few options, including Raspbian, a Debian based...

Here’s how to delete your Docker container log files. Get Docker File Location 1. Run docker inspect to find your Docker log file location 2. Find the “Docke...

On Windows, Docker runs in a VM called MobyLinuxVM, but you cannot login to that VM via Hyper-V Manager. We aren’t technically going to SSH into the VM, we’l...

One of the first things you’ll want to do on a Raspberry Pi is change the hostname to something unique on your network. The default name is raspberrypi. You...

The .NET Core SDK is not supported on ARM based devices such as the Raspberry Pi and the .NET Core team is not currently working on supporting it. As mention...

Update: 1/8/18: TrackR will now replace your first battery for FREE! I’ve been using TrackR for a couple of months now without issue. But I am surprised that...


This docker command will remove all stopped containers. docker rm $(docker ps -a -q) This docker command will remove all containers, even if they are running...

You may have just discovered that when you create a console app using the .NET Core CLI tools it only produces a DLL by default. If you execute this: dotnet...

You’ll want to make sure you don’t leave the default ‘pi’ user’s password to the default ‘raspberry’ setting. Here’s how to change it. Login to Pi Login to y...

It is very easy to get Docker running on a Raspberry Pi. Here’s a barebones post to get you started. You can execute the following commands over SSH or Remot...

As part of your normal Raspberry Pi dev workflow you’re going to want to access the files of the Raspberry Pi from your host dev machine. Here’s how to creat...

You will often want to execute commands over SSH instead of having to Remote Desktop or access your Pi via a monitor and keyboard. Here’s how to get SSH setu...
I’ve cleared out this post because the Raspberry Pi documentation site now has docs updated for Stretch. You can find the Raspberry Pi Remote Desktop setup ...



I’ve been doing a lot with Postman lately and have been blogging everything I’ve uncovered along the way. Postman is more than just an ad-hoc REST tester - I...


Many of you know that I’m fanatical about high quality coffee. Like many people, I used to think Starbucks was good coffee. That was until I experienced fres...

Some HTTP requests are long running and instead of asking users to wait for the long running operation to complete, they will return a “request status URI” t...




If you see the following while trying to edit an Azure Function via browser… “Read only - because you have started editing with source control, this view is...

Starting with version 1.5 of the Power BI Custom Visuals SDK, we now have the ability to create “slicer” visuals, which are visuals that can filter data in o...

We often need to share database connection strings, system account passwords and whatnot with our team members. People typically put the secret in a DRM’d em...



You may notice that the latest version of VS Code uses PowerShell as its default Integrated Terminal. I’m not quite ready to use PowerShell for everything, s...

As of January 12th, 2017, Windows now has a brand new Bluetooth Settings dialog with a Connect button! Not having this button in the initial version of this...

Windows does not currently have a good way to re-connect to a previously paired Bluetooth audio device. I’ve blogged about this before, but I’ve simplified m...


I use git-ftp to deploy my hexo blog from a git repo to an FTP site. Getting it setup on Windows was non-trivial. Here’s how I got it working. 1. Install C...

I’m working on a new visual that uses an open source JavaScript control that includes a CSS file. I was hoping I could just reference it in pbiviz.json, but...

Here’s how to reference three.js in your Power BI Custom Visual project. I have not tested to see if three.js actually works on powerbi.com, but this is how...


I recently gave a few presentations at Ignite New Zealand and used a couple of applications to help me find the lowest latency Azure Region from Auckland. Yo...






I was recently asked to help build a “Range Slider” Power BI Custom Visual that simply filters a report based on the slider value. Unfortunately “filtering”...



Here’s a quick and easy way to get your GitHub Page repo deployed to an Azure Web App. Let me know if you run into any issues. Create GitHub Pages Repo Skip...






Here are some short and sweet instructions for setting up your Raspberry Pi for Node.js dev and creating a base image that can be used over and over again. M...

I’m working on a demo that involves streaming Sphero data through the Azure IoT stack. I got my Sphero SPRK+ last week and quickly discovered that it only ha...

If you see this: It probably means your Bluetooth service is stopped: Try this: sudo service bluetooth start then sudo service bluetooth status If that do...

I joined the Developer Experience team not too long ago and am focused on helping partners develop IoT products on the Azure IoT stack. I just found out that...

If you get the following error when trying to install the Lync 2013 SDK…. Microsoft Lync 2013 not found. Go here to download and install: http://go.microsoft...

The most anticipated Windows 10 Anniversary Update developer feature is now available for everyone…not just Windows Insiders. Step 0: Install Windows 10 Anni...
[Here’s a Power BI offering index with short and sweet descriptions. I’ll keep evolving this list as the service develops. For Consumers Desktop – Create Re...

I just published this IFTTT (If This Than That) Recipe that will send me an email when I like a tweet. I then have an Outlook rule that flags the email so I...





Fix for duplicate property error in ASP.NET applications. Solution to resolve property conflicts in web applications.

I’m hacking on project that requires an accelerometer. I picked up this 9-Axis Inertial Navigation Module for Arduino from my local Vetco. That board is actu...


I just flattened my machine and ran into this issue when running a Service Fabric hosted WebAPI project. This line of code: this.serverHandle = WebApp.Start(...


If you get the following error, then you need to install BOTH x86 and x64 versions of the DAC Framework. I have only verified that this works with SQL Expres...

I have a Brother MFC-7840W printer and usually have issues with it. Here’s what has helped: Drivers 1. Install the full driver package from here: https://sup...


A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.
I found out the hard way this weekend that when it comes to getting spare parts for your 3D printer, your only option is to order them online. My heater bloc...

Here’s what you have to do to get a VSO git repo setup in SourceTree Go to VSO Personal Access Tokens: https://{vso-account-name}.visualstudio.com/_details/s...

If you see this error when trying to run a web app in Visual Studio – that means something is currently running on that port. To find out what app is using t...

Here’s how to setup a Namecheap.com CNAME for Azure Web App Custom Domain. 1. Go to namecheap.com, login and click Domain List 2. Click “Advanced DNS”. If yo...

Here are some tips for using the Dremel Idea Builder 3D Printer. I will keep this post updated with new tips as I learn more about the machine. A lot of thes...

I’m printing out part I found on Thingiverse and the bottom of it has some inset text. I would rather the entire bottom of the piece be flush with the print...
I got this Simplify3D error while setting up a multi-process print. “The chosen layer height and extrusion width settings have resulted in a primary width/he...

I’ve been installing Fusion 360 on a bunch of machines lately and am posting the direct link here so I can save some clicks. Here’s the direct link to instal...

I have 5GB of available iCloud storage, but I am still getting the “Not Enough Storage. This iPhone cannot be backed up because there is not enough iCloud st...
[Autodesk has a 3D printing prep product called Print Studio: A showcase of the Spark Print Preparation API’s power and utility. Print Studio quickly heals,...
Around this time last year I did a deep dive into 8 different 3D modeling software options in my “3D Modeling” blog series. I landed on Fusion 360 because it...
I’m working on a project that involves aggregating data from many sources (Twitter, Blogs, Yammer, etc) so my team can get visibility and respond to question...
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.
[We were all disappointed when Windows Live Writer went into sustainment mode in 2012ish. Shortly after that, Scott and I talked about options. One option w...

I was just setting up a new Particle Photon and got this error message when using the particle-cli setup command No nearby Photons detected. Try the particle...

I was just setting up a new IFTTT.com recipe and got this error: “search query is too long or complex”. I did a bunch of poking around and discovered that my...
Truth be told – I haven’t done a lot of ASP.NET dev over the last couple of years, but since I do a good amount of maker projects that involve webhooks, I ha...

Scenario: You have a SQL Server database and you edit that data using Access. You make a schema change to the SQL Server table and you want that change to be...

Hooking up a 16x2 LCD screen to a Particle Photon is pretty easy one you get it all wired up correctly and find the right library to use. I spent a bunch of...
I got some new monitors and went to go run my monitor color calibrator – HueyPro by Pantone – and saw that they didn’t have a Windows 10 driver. I pinged the...

Fix cannot find Python executable error in Node.js. Solution for Python path issues with node-gyp.

If you get this exception when connecting to an Azure SQL Database from Access: “Built-in function ‘has_dbaccess’ is not supported in this version of SQL Ser...
I’m investigating automatic REST API SDK generation options and I’d like your help narrowing things down. We, at Power BI, have a REST/JSON API and our docum...


I’m working on project that uses the Bing Maps Routing API and couldn’t find a way to easily convert a Directions URL that you would get from Bing.com/maps t...

I found a usability bug in Amazon’s Wish List functionality…there’s no obvious way to change a Wish List name. After some searching I discovered that the “Ed...

](https://www.snapcircuits.net/) I recently bought my 5 year old kid a Snap Circuits Jr. SC-100 kit and the black wire broken almost immediately. It went on...




Here’s how to get your Particle Photon’s MAC address before you connect it to a WiFi network. 1. Connect your Photon to your computer’s USB port 2. Download...

This post is all about just getting your Photon connected to WiFi with Windows. Particle has some slick iOS and Android apps to help you connect your Photons...

I spent spent way too much time with this one. Hope this post saves you from doing the same. Here’s the exception we are dealing with: can’t be invoked from...

[I joined the Windows IoT team back in October and was thrilled to hear that we were working on getting Windows 10 on Raspberry Pi 2 – now I’m excited to sha...
This will likely be my last post in this series on 3D modeling software. I started 3D printing back in November of last year and started with SketchUp which...
![[object Object]](/images/blog/b7d75fac79fd_126CE/image.png)
I was getting this error when trying to install the UPWare software for my UP Plus 2 printer. “The setup files are corrupted. Please obtain a new copy of the...

This is post 6 in my 3d modeling software series that outlines my experience as I search for the perfect 3d modeling software for makers. I’m looking for som...
This is the 5th post in my 3D modeling software experience series. As I went about searching for the perfect 3D modeling software I figured I would blog abou...

This is part 3 of my 3D modeling software series where I detail my experience while searching for a 3D modeling software that is in-expensive, user-friendly,...

In this series I bring you through my experience as I search for the perfect 3D modeling software. I’m looking for something that is in-expensive, user-frien...

The goal of this quest is to find 3D modeling software that is inexpensive, user friendly, precise and inspiring. In part 1 of this series I looked at Sketch...
It’s super easy to get a slew of 5-star Amazon reviews. All you have to do is throw away your integrity and tempt your customers to succumb to bribery. A few...

I’m just getting into 3D modeling and I’m searching for the perfect software. I do relatively small maker type enclosures and product designs. My requirement...

A Microsoft customer from Uruguay was trying to purchase Office 2013 Spanish Language Pack, but wasn’t able to because on the Billing Address page the countr...
Here’s how you blink an led with just an led, capacitor, transistor and two resistors. This post is a complement to Dick Cappel’s “Simplest LED Flasher Circu...
It took me a good hour to resolve this issue. I’m hoping that the search engines pick this up for you and save you some time. I’m thinking about switching fr...
I’ve spent a good part of the last 15 years doing .NET development. When I joined IoT and started getting ramped up, I quickly discovered that it is largely ...
As I am building out my “maker experience” product “beakn” I’m constantly thinking about ways to improve it with the goal of getting it to be completely wire...

Canon has a program called the “Customer Loyalty Program” that allows you to send in your broken Canon camera and get a refurbished camera at a discount. The...


It took me a while to figure out the best way to automatically start a windows app when a user logs into their computer. There were a bunch of suggestions on...

I was getting this error when deploying to Netduino Plus 2 from VS2013. Unable to communicate with device USB:Netduino It turns out that that particular Netd...
This Intel page tells you to download the FTDI drivers and run as Admin. I appears that you first need to install the “Windows Driver setup 1.0.0” from this...
Fix System.Security.SecurityException in .NET applications. Solution for security permission errors.
My career is progressing in what appears to be five year cycles. Back in 2004, five years into my software dev career, I made the move from independent contr...

I’m working on an NFC project and to test things out I got a PN532 NFC shield working with a RaspberryPi via libnfc. Adafruit has a good step-by-step tutoria...

I’m still on Photoshop CS5 but haven’t had a DVD drive for many years, so I needed to find the online download version of it. I searched for a while and fina...
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.

The best developers optimize every aspect of their lives. Optimization is built into their DNA. We are always looking for ways to not repeat ourselves and st...

I have a ton of interests and not enough time to give them all enough attention to be an expert at anything. All of my interests have one thing in common - t...
<tldr>I need Microsoft stack and JavaScript dev contractors for a 3 month contract. Must be able to start immediately. Send me your resume and I’ll be in tou...

Solution to “Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item” c:\program files\c...

UPDATE 3/5/2014. I reported this issue to the Azure team shortly after I posted this blog. The issue has now been resolved. Go Azure! If you click on the “tr...
I recently switched from a ASUS ZenBook Touch to a Lenovo X1 Carbon. All was well until a few days ago when I let the battery completely drain while watching...
Many years ago, I resolved to get a handle on managing the plethora of email that is part of the Microsoft culture. Email is a very important communication m...

Yes, I work for Microsoft, but I always like to tell people about great customer service…this time from Apple. I bought an Apple Airport Extreme 5th Gen Rout...
I need motivation to keep physically active. If unchecked I would sit, eat and code all day. Even a little motivation does wonders for my psyche. I use a bun...

I just committed a big change to the AngularJS CRUD Grid – Lookup Tables! CODE: https://github.com/jongio/AngularJS-WebApi-EF Here’s what’s included: Lookup...

I just added filtering to the AngularJS CRUD Grid. AngularJS makes filtering VERY easy. All I had to do was add a text box with ng-model and then use the “fi...

I just added support for dynamic columns. Before you were limited to Id and Name, now you can specific the columns as a Json object in the directive. <div cr...

Easy one, just run SQL Server Management Studio as Administrator.

I just added sorting and upgraded to AngularJS 1.2.0 and Bootstrap 3. CODE: https://github.com/jongio/AngularJS-WebApi-EF I’ll eventually put the into direct...

I just upgraded my Asus UX31A to Win8.1 RTM and broke my Targus Docking Station (ACP71USZ). The USB ports work, but the monitors do not. I get the USB device...
I’ve been looking at my options for purchasing an Aeron Chair by Herman Miller I could buy new for $879 or get used on Craigslist for $400-500. I confirmed w...

XBOX CLOUD DOESN’T SUPPORT MUSIC NOT IN XBOX MARKETPLACE I can’t upload music I purchased from Amazon, iTunes, etc to the Xbox cloud that isn’t in the Xbox m...
Inheritance security rules violated by type: ‘System.Web.Mvc.MvcWebRazorHostFactory’. Derived types must either match the security accessibility of the base...
[A]System.Web.WebPages.Razor.Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration.HostSection. Type A originates from ‘Syst...
Error: [$sce:insecurl] Blocked loading resource from url not allowed by $sceDelegate policy. UPDATE: This error was also appearing in IE11 because of a bug i...

CORS support is very easy to setup in WebApi, but the docs are outdated. They removed the parameterless constructor and didn’t update the docs. For testing p...

Bootswatch is nice. Free themes for Bootstrap. Integrating into an MVC app turned out to be a little more involved than I thought it would be. Here’s what yo...
The Targus ACP71USZ docking station doesn’t come with an ASUS UX31A power tip. Targus will send you one for free. Just go to the Targus support chat page and...

Today I took my V2 Crud Grid and moved it into an AngularJS directive. That allows me to reuse the crud grid functionality and have many of them on the same...

In V1 of my AngularJS, WebApi grid I used $http to call my WebApi endpoints. I’ve been using $resource a lot lately, so I thought I’d go back and update it t...

Go into your EDMX file, select the field that is causing the error and set StoreGeneratedPattern to Computed. Add the DatabaseGenerated attribute if you are...

I just spent way to much time trying to figure out why I kept getting this error: Origin is not allowed by Access-Control-Allow-Origin. Here’s the code snipp...


Google announced that they are going to be shipping a Google Music iOS app that includes subscription music. I’m a big Spotify fan, but one thing that has al...

I just tried to clean up my Deleted Items folder in Outlook 2013 and got the two following errors: Cannot delete this folder. Right-click the folder, and the...

UPDATE 7/30/2013: I modified the code to use $resource instead of $http. Go to my new post “V2 of my AngularJS, WebAPI CRUD Grid - Now using $resource instea...

PluralSight is great, but because I don’t have 3 hours every time I want to learn something, I always watch them at double speed – and that’s as fast as Plur...
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.

I recently joined a new team to work on a brand new super-secret Windows 8 Modern app. You may have seen my “Moving on to Microsoft Advertising to work on a...

Most people know that the KendoUI controls are awesome and free. The thing that is missing from there demo site is how to create a Jsonp WebApi service that...
Do I have to get into management to be successful at Microsoft? That, along with the review model and work:life balance, is a very common question I get from...
A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.
“What does work:life balance look like at Microsoft?” That is the second most asked question I get after “What do you think of the Microsoft Employee Review...
WhatsApp is all the rage. KakaoTalk is a great alternative for the frugal world. I’ve been using it for years without a problem. It’s on iPhone & Android

A tech, career, & life blog from a developer focused on Azure developer experience at Microsoft.

Read this if you don’t know the “why” behind Guid.Comb. In a nutshell. We want to uniquely identify records and don’t want PK collisions across database inst...
An interview candidate recently asked me what I thought of the Microsoft employee review model. I don’t hate it and I don’t love it. I personally tend to not...

Took me a bit to find the solution to this one, but I eventually found it here. 1. Upgrade to Resharper 7.1.2 2. In VS go to Resharper –> Options –> Unit Tes...
Just a quick post to let you know that if you get the error below it means that you don’t have the TypeScript plugin installed: The imported project “C:\Pro...

I am an avid Google Reader user. I use it to scan over 400 tech blogs and often share to Facebook, Twitter, LinkedIn and email. It’s easy to miss stuff on Fa...
Configure Windows 8 File History to backup only latest versions. Manage backup storage efficiently.

Installing Neo4j on Windows is pretty straightforward, but the Neo4j installation instructions for Windows are lacking….this is all they have. It’s a little...
I joined MSN three years ago to help them turn around the Tools team and that work is done. The team is in a really good place now, so it’s time to move on....
![Solution to "TypeError: m[5] is undefined", "TypeError: Cannot read property length of undefined" and How to Override JavaScript in ASP.NET WebResource.axd files](/images/blog/Solution-to-TypeError_57B3/image.png)
You’ll sometimes get this error in Firefox and Chrome, but not IE. “TypeError: m[5] is undefined” “TypeError: Cannot read property ‘length’ of undefined” The...

I purchased Argo (“HD”)from YouTube.com last night. I was expecting at least 720p since it was advertised as HD, but the highest resolution available was 480...
I just spent several hours trying to figure out why I was getting JavaScript errors when using IE10. I owe Hanselman on this one. My error wasn’t exactly the...

I got this error today and after a few minutes of messing around with FileZilla settings I discovered a way around it. This might not work for everyone, but...

I know, I know, it’s 2013, but I occasionally have to work with VS2008. Unfortunately, when I was using it recently it would hang every other minute or so. I...

You will see this error when you try to play Spotify music from more than one device at the same time: [“Spotify has been paused because your account is bei...
I’ve been making smoothies every morning now for the last couple of months with my old $40 Oster blender that I’ve had for 8 years or so. Being frugal doesn’...

I got this error today in Sony Movie Studio Platinum Suite when I tried to render a video file. _An error occurred while creating the media file …. The syste...

I got this error today when I tried to drag a video file that was created with my iPhone 5 to Sony Movie Studio (Vegas) The Sony QuickTime plug-in was not ab...
I just got this error when doing Merge Replication on a SQL Server 2005 environment: A row insert at ... could not be propagated to ... This failure can be c...

I’m known for being frugal. The jury is still out on that, but there is no way I’m going to pay I’m known for being frugal. The jury is still out on that, bu...


I’ve been an avid Netflix user for the last few months. I use it watch TV shows like White Collar and Lie to Me and my kid watches Thomas & Friends, Curious...
I spent about 5 mins trying to find a “Delete My Account” link on Fitocracy, but came up short. I ended up sending an email to requests@fitocracy.com and got...

There are a bunch of solutions out there on the web, but all I had to do to fix this was repair iTunes. Here’s how… Close iTunes Go to “Add / Remove Programs...
I use Maps to add businesses to my Contacts all the time. That way I don’t need to search for them again when I need to get a hold of them. Unfortunately tod...
There have been many times over the past couple of months where I have seen many violations to the basic rules that companies should follow when implementing...

I connect and disconnect my RocketFish Bluetooth Headset (RF-MAB2) from my phone and laptop all day long. Connecting and disconnecting Bluetooth devices to o...

I often double click the upper left hand corner of an app to close it. I know I could Alt+F4 it, but that’s just what I do. Windows 8 introduced this feature...

I just tried to transfer an audiobook on Windows 8 and got this exception from OverDrive Media Console: Unable to acquire a license to play the selected titl...

Yes, my hosting provider provides backups of my site for free, but I like the reassurance of having my own copy. I do so with NetDrive and CrashPlan. NetDriv...
Here are the AzureConf 2012 speaker blogs, Twitter, LinkedIn, Facebook and Google+ accounts. Enjoy! BLOG FEED FILE You can subscribe to the AzureConf 2012 sp...

I’ve been fine tuning my backup strategy for years, so I thought I’d share to help any one out there who is just getting serious about it. I take backups ser...
Scenario: You have a Windows 8 Phone and you want to sync media with a Windows 7 Desktop. It took me a bit to dig this up, but there is a Microsoft developed...

I drink a lot of coffee. I’ll grab a latte every once and a while and don’t have loyalty to any particular company. I like most coffee brands and could easy...
Here are the Build 2012 speaker blogs, Twitter, LinkedIn, Facebook and Google+ accounts. Enjoy! BLOG FEED FILE You can subscribe to the Build 2012 speaker bl...

This is the first post in a two part series on integrating SMS functionality into an application. In this post, I focus on the analysis I did into Clickatell...

This is the second post in a two part series on integrating SMS functionality into an application. In the first post, “A high-level look into Clickatell’s ne...
Here are the Web Unleashed 2012 speaker blogs, Twitter, LinkedIn, Facebook and Google+ accounts. Enjoy! BLOG FEED FILE You can subscribe to the Web Unleashed...

I use Windows+S ALL THE TIME. Wasn’t working this morning. I clicked around for 5 minutes trying all the different options. The only thing that re-enabled it...
Here are the Ladies Who Code 2012 speaker blogs, Twitter, LinkedIn, Facebook and Google+ accounts. Enjoy! BLOG FEED FILE You can subscribe to the Ladies Who...

I just found this utility called BrowserTraySwitch. I’ve never heard of the site, but it looked legit enough for me to give BrowserTraySwitch a try. BrowserT...
It took me way too long to figure out how to setup my outlook.com email address in Outlook 2013. It’s simple, but I couldn’t figure out what Mail Server to u...

I spent about two hours the other day trying to find a good jQuery ComboBox, so I thought I’d do a quick post to see if I can help you narrow down your choic...
I’ve spend a lot of time with Intel’s IvyBridge Ultrabook since I wrote my “First look at the Intel IvyBridge Ultrabook” post a couple of weeks ago. Intel wa...

Like I mentioned in my post “Microsoftie Perk #9 – Access to product team devs”, it is awesome to be able to ping the people who build the tools we use every...
Here are the IAB MIXX 2012 speaker blogs, Twitter and LinkedIn accounts. Enjoy! BLOG FEED FILE You can subscribe to the IAB MIXX 2012 speaker blogs by import...
Here are the MADExpo 2012 speaker blogs and Twitter accounts. Enjoy! BLOG FEED FILE You can subscribe to the MADExpo 2012 speaker blogs by importing this [OP...

Apple didn’t introduce the App Store into Mac OS X until Snow Leopard 10.6.6. Here’s what you need to do to get the App Store. You can find out what OS X ver...
As you may have noticed Lion (10.7) is no longer available in the App Store. Apple intentionally pulled it from the App Store so people would go right to Mou...

Apple made is real easy to upgrade your Mac OS X with the introduction of the App Store in the Snow Leopard (10.6.6) update. If you go to the “Upgrade your M...

You can find out what OS X version you are on by clicking on the Apple icon, then select the “About This Mac” menu item. The number under the Apple logo is t...

I recently received two Twitter direct messages from new followers. They were obviously phishing attacks that happened as a result of the followers account b...
Intel just sent me an IvyBridge Ultrabook to try out and review as a development machine. It’s not a final machine and won’t ever be sold by Intel. The main...

The first thing you need to do is get the Snow Leopard install DVD from Apple. Apple didn’t introduce downloadable OS upgrades until Snow Leopard 10.6.6, so...

I often switch my Bluetooth headset between my laptop and my phone. It took me a few minutes to figure out how to do this in Windows so here’s a quick post t...
Here are the DevReach 2012 speaker blogs and Twitter accounts. Enjoy! BLOG FEED FILE You can subscribe to the DevReach 2012 speaker blogs by importing this [...
Here are the That Conference One Day 2012 : Harper College speaker blogs and Twitter accounts. Enjoy! BLOG FEED FILE You can subscribe to the That Conference...
People give me a hard time because I work at Microsoft and use Apple products. The truth is that I dev iPhone apps and you can only do that on a Mac. I still...
Here are the Philly DotNet Code Camp 2012.1 speaker blogs and Twitter accounts. Enjoy! BLOG FEED FILE You can subscribe to the Philly DotNet Code Camp 2012.1...
Here are the Code Camp NYC 2012 speaker blogs and twitter accounts. You can subscribe to all speaker blogs using the OPML file and follow all the speakers on...
Here are the ThatConference speakers and twitter accounts. You can subscribe to all speaker blogs using the OPML file and follow all the speakers on Twitter...
The is a post in a new blog series I’m writing called Microsoftie Perks Yes it is true. Earlier this week at the company meeting Ballmer gave all Microsoftie...
Here are all the Minnesota Developers Conference 2012 (MDC12) speaker blogs and twitter accounts. Enjoy! BLOG FEED (OPML) FILE You can subscribe to the MDC12...
I’ve been working on an app in my spare time called “Conf Speakers” to help us subscribe to and follow devs who speak at conferences. Most conference sites d...

Microsoft employee benefit: Direct access to product team developers for technical support.



NuGet is amazing, but I often find myself typing in the same search string over and over again. This usually happens when I don’t realize what tab I currentl...


Microsoft employee benefit: Free gym membership and fitness facilities on campus.

A “brake” from my normal tech posts to tell you about my new favorite brake place: Les Schwab. This isn’t a sponsored post, I just like how they function as...

Microsoft employee benefit: Access to extensive technical library and learning resources.

I needed to refresh the code generated by the EDMX model, but it wasn’t working for some reason. So I deleted the EDMX file and deleted the connection string...

Free drinks is the one perk that most people will already know about, but since it is one of my favorites I couldn’t not include it in my Microsoftie perk li...

I have the RTM of Visual Studio installed, but the WebApi NuGet RTM build isn’t available yet. WebApi depends on Newtonsoft.Json and so does Twitterizer, but...


Microsoft employee benefit: Charitable gift matching program. Double your donations to qualified charities.

Microsoft employee benefit: Direct communication with executives. Regular updates from leadership teams.

Microsoft employee benefit: Dogfooding products before public release. Get early access to Microsoft products and services.
This is the index post for my “Microsoftie Perks” posts. I will continue to update this post as I discover new perks. You can subscribe to my blog via RSS he...

My wife and I have been searching for the perfect type of hardwood flooring since April and have been exclusively using KentwoodFloors.com. We’ve been sendin...

By default FeedBurner refreshes your feed about every 30 minutes, so if you change anything about your posts (title, content, etc) FeedBurner won’t immediate...
![[object Object]](/images/blog/3db7faf53f1b_5B45/image.png)
Could not find an implementation of the query pattern for source type ‘[type]’. ‘Where’ not found. Consider explicitly specifying the type of the range varia...
As I mentioned back in June, I’m training to run a 5K (3.1 miles) using C25K and MapMyRun. It’s great that C25K supports Pink and I found the app very useful...
It wasn’t obvious to me how to load an Html doc that requires Windows Authentication. Here’s a quick code snippet that hopefully saves you some time. The tri...


I cringe every time I have to add a reference in 2010. The dialog is slow, it’s hard to find reference, it’s hard to sort. I absolutely hate it…and I don’t h...
This is an easy one. Just restart Visual Studio. Not sure what happened, but I’ll follow up with the Visual Studio team to see if I can find out.

Not sure why, but Intellisense wasn’t working by default when I first installed Visual Studio 2012. You need to reset your IDE settings. 1. Tools –> Import a...
![Solution to "Unable to cast object of type '[type1]' to type '[type2]'." when trying to cast a List to List](/images/blog/Solution-to-Unable-to-cast-object-of-ty_8698/image.png)


I’m a big fan of the new Visual Studio interface, but I got a little lost today in Team Explorer. I registered my server, picked my project, but couldn’t see...

If you get this exception: “TF212018: Work item tracking schema validation error: TF26085: Unknown constant with id 3675334.” when calling witadmin importwit...
![[object Object]](/images/blog/Solution-to-_BEB1/image.png)
There are many reasons why this error will appear. One of the less obvious reasons has to do with the “Target framework” project level setting. In my referen...

This is one of the worst authentication workflows out there. The only way to solve this is to close all your browser windows and go back to the site you were...
There are a lot of great devs speaking at aspConf 2012 and most of them have great blogs and twitter feeds. I want the dev community (including myself) to fo...


1. Make sure your Application Type is set to Read and Write in the Settings tab. 2. After you do step 1 you need to recreate your access token by clicking t...

When you import an MP3 audiobook it appears in iTunes (and your iPhone) under music because iTunes assumes anything MP3 must be music. Here’s how to move it...

Victoria, BC is a great place to visit if you like history, museums, gardens, golf and the coast. I’ve been out a few times, but I usually enjoy the trip out...

For some reason the “Update” button in my Visual Studio Extension Manager isn’t responding to clicks. I clicked it about 10 times to no avail. I messed aroun...

AT&T might be doubling billing you for data. I was getting close to my 2GB limit this month, so turned off my 3G and Cellular Data. [
Sometimes you want to update a read only system field in TFS, such as System.CreatedDate or System.ResolvedDate. There is no way to do that with TFS 2010 by...
![Solution to "TF26061: [Reference Name] is not a supported reference field name."](/images/blog/2cb00adc1713_74DE/image.png)
TF26061: ‘[Reference Name]’ is not a supported reference field name. I just got this error after copying and pasting a reference name from an email to the TF...
![[object Object]](/images/blog/72bb8ccebdda_7946/image.png)
I was migrating one field to another today and I got this exception when trying to delete the old field from the Fields tab: “Cannot delete this field becaus...

1. Download the OverDrive Media Console – This is the desktop application that you will use to transfer the audiobook from your computer to your phone. 2. Go...

You can now copy and paste images that are on your clipboard right into the body of a Gmail message!! I just accidentally discovered this new Gmail feature....

You’ll often see TF237055 when you try to call destroywitd on a type that is currently assigned to a category. Here’s how to get around that. TF237055: You c...

Every browser (except Chrome) has about:blank selected when you open a new instance. So you can just start typing, hit enter and you are off to searching. In...

My Gmail account got hacked last year which led me to develop a complex password system that includes special characters. They aren’t the only site that I’ve...

[If you are reading this post you are like me. You don’t read manuals. Because I don’t read manuals it took me a while to figure out how to pair my Rocketfi...
Fix Silverlight C# targets not found error in Visual Studio. Solution for missing Silverlight build targets.

I’m not athletic, but like everyone else I need to exercise. I tried the gym for a year, but got really bored with the treadmill, elliptical, weights, etc. T...

Images appear blurry (or distorted) when you copy them into Windows Live Writer from the clipboard. See this screen capture (using Win+S) of my new mouse. No...
There are a ton of free books to be borrowed from your public library. It’s really easy to do with a Kindle because Amazon.com uses whispernet to wirelessly...
The is a post for anyone who is trying to decide between the Kindle Touch and the Nook Simple Touch eInk eReaders. I bought them both with my own money and s...
When you have a DataGridCheckBoxColumn without an associate label it is very difficult to check and uncheck the CheckBox. I know this solution makes no sense...
It was simple fix for me. Go into the Xaml file and add the ItemsSource attribute to the Grid node.
I’ve tried a ton of different reading lights with my Kindle and my favorite is called the eBook Lite (aka eReader Lite) from Pathway Lights. I like it better...
The TFS Work Item Attachments tab supports the Windows Clipboard and Drag and Drop. For all of these tips make sure you click in the attachments grid, not ju...
I just created 10 queries with all the same columns and sort order. I then realized I missed a column and wanted to add another sort column to all those quer...
This could be happening for a number of reasons. I’ve had to try a few solutions below to get it to work. Try one, see if it works and if not try the next on...
It’s pretty cumbersome to create a New Query in TFS. You have to open Team Explorer, Expand your Server node, Right click on Works Items and select New Query...
SyncBack is a great backup and sync utility, but by default it creates Windows XP scheduled tasks which do not support running under a NETWORK SERVICE accoun...
By default TFS opens all files in the Changeset details window with Notepad. But what I want to do most of the time is diff the file, not open it. You could...
You need to change the target platform to x64. Double click properties. Click on Build Tab Change Platform target to x64 Can not load 7-zip library or intern...
Here’s how to solve the exception: “Can not load 7-zip library or internal COM error! Message: DLL file does not exist.” Step 1: SetLibraryPath Add a call to...
I wanted to simplify my TFS work item display so I removed a bunch of columns and and groups. It turns out you need those groups or you get something like th...
So far I really like the PhotoSync app for syncing photos and videos from my iPhone to my PC. I was getting this error when I tried to sync: “An error occurr...
TFS allows you to update work items in bulk by applying a template to them. Here’s how: Install the TFS Power Tools Right click on Work Item Templates in Tea...
By default TFS always displays the System.ChangedBy field as the current user. I am Jon Gallant and Wallace Breza is a dev on my team. As you can see he was...
It just means that you maxed out the number of photos allowed per album. Right now it looks like that number is 200. The solution is to create a new album.
You just need to delete a few things from your Lightroom preferences file: (The following from this thread, I’m reposting so it’s easier to find) 1) Close Li...
Don’t know why but the Bluetooth plugin that is installed by default is causing Visio to crash all the time. I disabled the plugin and haven’t had a crash si...
Not sure this will work for everyone, but it worked on my Dell P2411H I was getting this really loud buzzing sound from my monitor today…and only when I was...
It took me forever to figure out how to turn off my Sony IC Recorder (ICD-SX46) 1. Slide the Hold slider to the hold position. 2. Hold down the “Stop” button...
I just removed the word “test” from all of our test method names. Here’s how I did it: Find what: public void {.*}test Replace with: public void \1
Canon’s RAW codec does not support Windows Explorer thumbnail integration on x64 machines. 1. Install Windows Live Photo Gallery http://explore.live.com/wind...
For Win7 Click on the Start Button Type “clear” Click “Clear ClearType text” Go through the Wizard. Helped me tremendously. Jon
TFS 2010 was released without “Branch by Label” in the UI (you had to do using TF.exe /branch /version:Lxxx). A hotfix was released on Aug 3 that fixes that ...
Had a tough time finding the right driver for my old GEMPLUS GPR400 Smart Card reader. This is what I found. It is for Windows 2000 and for the GemPC400, but...
How to position controls in Silverlight Grid. Learn grid layout techniques in Silverlight applications.
Fix for Windows Phone deployment exception 0x81030110: open WMAppManifest.xml under Properties and remove child nodes from the Capabilities section.
Sometimes you click “Ignore” by mistake. “Ignore” is just a rule that auto sends the thread to Deleted Items. So, just find the item in deleted items, select...
Gladient has a Free Starter Edition of their product that allows you to do things like bulk move files and other things we take for granted in Windows Explor...
This is an awesome error message: I have found that manually killing wmdc.exe in Task Manager and then restarting helps.
I’m not sure what the deal is with this one, but rebooting my phone resolved it.
[This exception: “This server version is not supported. Only servers up to Microsoft SQL Server 2005 are supported” Probably means that you have SQL Server...
The Zune Pad on my 80GB Zune was unresponsive for a day or so and a normal reset or restore didn’t work because they require the Zune pad to be working. This...
The exception “the data necessary to complete this operation is not yet available” can mean that the app you are trying to debug is already running on the de...
Not sure why, but the “Start only if the following network connection is available” option is disabled for scheduled tasks if the task is configured for: “Wi...
You will get this exception if you try to debug on a physical device from Visual Studio and haven’t install the debug certificates. “Connection failed. The d...
I spent about 20 mins with ATT technical support today trying to figure out how to send a Text from their website. Apparently they did some website updates a...
Sometimes you want a key command (keycommand) that works across all of your Windows Desktop. For example, let’s say that you write a lot of email and you wan...

I picked up the Zoom H4n not too long ago for my concert and rehearsal recordings. While I’m really happy with the quality of the recordings there are some s...
For some reason this feature is hidden in Outlook 2010. Click the Office Button in the upper left hand corner. [Click “Open” and then “Import” [ Import and...
Here’s how to highlight rows based on a cell value in Excel 2007 and Excel 2010. Reference this page for previous versions of Excel Select the table you want...
Microsoft will donate 8 meals to Feeding America for every IE8 download. Very creative way to get people fed.
I love short and sweet learning. That is exactly what Dimecasts.net provides. Videos that are 10 minutes or less (hence the “dime” in the name) and cover man...
Creating a new category in Outlook isn’t very intuitive. Right click on the item you want to categorize Select “Categorize” Select “All Categories” Click the...
I just finished Cameron Moll’s “Mobile Web Design” book. Not only is it a great book…short, sweet and comprehensive, but it has a lot of great references. I...
I had to install my Canon MP980 software on to my new Windows 7 laptop and even though my domain account is in the Administrators group I was getting this er...

It’s simple. Use the import function. Open the destination database. Right click in the table pane. Select Import. Choose the origination database. Choose th...

I often get this error when trying to bind a project or solution to a VSS provider in Visual Studio through File->Source Control->Change Source Control. Micr...
If you are trying to read a protected mail using Outlook and are getting prompted to enter a Windows Live Id instead of your network credentials it is becaus...
I installed win7 today and had to post about it… Facebook converts <3 to a heart…how cute. What other hidden Facebook codes are out there?
If you get this exception _System.TypeLoadException: Could not load type ‘x’ from assembly ‘xx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ becaus...
My Outlook RSS Feeds were in a really funky state this morning. I had to create a new profile and I had RSS Sync enabled. When that is the case Outlook re-ad...
Got this error when logging into a machine that I hadn’t touched in months: “the security database on the server does not have a computer account for this wo...
Fix SQL Server exceptions in Visual Studio. Solution for database connection and query errors.
Fix SQL Server 2005 SP2 upgrade permission errors. Grant explicit Full Control permissions to resolve upgrade failures.
If you are using the Gmail Mobile App on Windows Mobile you may notice that it seems impossible to enter a username and password into the authentication scre...
I was getting this exception earlier today: Test method x threw exception: System.Data.SqlClient.SqlException: Procedure or function ‘sp_get_x’ expects param...
How to type a backslash on the Blackjack II phone: hold down the sym button to access special characters and symbols.
Along with all the other new features of our recent MSDN & TechNet search release we also created “search” sub-domains for both of the sites. The new URLs ar...
I’m not sure exactly what leads to this issue, but in 2008 SP1 the designer doesn’t always update the codefile after dragging from Server Explorer. Hit F7 fr...
Fix property does not exist error in ASP.NET Dynamic Data. Solution for missing dynamic data properties.
Phil Haack created a very useful HttpSimulator to assist in unit testing code that accesses the HttpContext. I was up an running in a few minutes. Here’s a s...
Great video on the new Date DataTypes in in Sql [T-SQL Enhancements and Date/Time](http://download.microsoft.com/download/8/5/1/851B0968-0BE0-417E-9DA9-B3A2...
WebClient will return a Download failure exception if you search the Digg API using an invalid search term. If you search with a valid term, say “microsoft”,...
I got this error today: “Configuration system failed to initialize” while loading a config file. Looking at the web.config file it wasn’t obvious what the pr...
I regularly use SkyDrive for sharing files with my friends and family. You get 5GB free, the UI is super easy to use and you completely control the permissio...
With the transition of MailMessage from System.Web.Mail to System.Net.Mail there were some mail header casing changes that caused mail sent to Hotmail and Li...
If you call Single to get an object from your DB and the object doesn’t exist you will get an InvalidOperationException. return this.DataContext.MemberDaos.S...
If you are using LINQ to insert data with RTM bits you won’t find the Add method on the DataContext post Beta2. Use the InsertOnSubmit method instead.
SilverLight 1.0 was released today and Microsoft confirmed that they are working with Novell to produce a version of it for Linux. Great news!
Binding simple (int/string, etc) type properties to a TemplateColumn in a GridView is easy, but when you need to bind the Grid to an object that has properti...
When dev’n I frequently want to close all the open documents in VS. The right click on tab command in VS doesn’t have that option, so after digging around in...
Tim McBride just pushed out his code that dynamically creates the profile provider classes for non-WebSite projects. http://www.codeplex.com/WebProfile/
If you create a project in Blend 2 May Preview and right click on the project and select “Edit in Visual Studio”. Blend 2 creates that VS project using versi...
I do a bit of recording and usually bounce my tracks to 16bit WAVs because Windows Media Player doesn’t support 24bit WAV out of the box and I couldn’t find...
I just installed Orcas and was getting this error when running a performance test: Event Type: Error Event Source: ASP.NET 2.0.50727.0 Event Category: None E...
I just spent a while searching for the ATOM 1.0 schema definition. This looks like the most human readable form out there. http://www.atomenabled.org/develop...
I’m working on this app that pulls the ip address from the request headers. When debugging the app locally the headers are always “127.0.0.1”, which doesn’t...
I just deployed a new wpf/e control to a new server and found that I need to register the content types for xaml, etc. You will find the configuration steps...
Lutz Roeder’s Reflector add-ins are now on www.CodePlex.com http://www.codeplex.com/reflectoraddins
For all those dev’n on Vista, self included :) http://www.microsoft.com/downloads/details.aspx?FamilyID=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&displaylang=en
I accidentally hit Ctrl+F1 today and my ribbon was gone. Hit Ctrl + F1 and it’s back. Kind of a hidden command, HTH
Lets say you have this xml: Blog Content And you are using an XmlDataSource to run it through a repeater. You can easily get the attributes like so: <%#Eval(...
If you are referencing an external configuration file in your web application and are caching that access, then look at using the restartOnExternalChanges co...
I just got a new laptop and am running it at 1600x1200. With IE I was getting jagged images, so I pinged the internal IE discussions group and got this respo...
The “page cannot be displayed” issue in IE could be many things. First turn off the Show Friendly Error Message option in IE. Then check event viewer. And if...
If you are wondering where the “Atlas Control Project” template disappeared to with the latest beta, you can find install instructions for the template here:...
If you get this exception when loading a CSAdmin web service it is likely that the AppPool’s identity does not have access to the MSCS_Admin database. Give t...
This typically means that you need to configure your site to use v2.0 of the .NET framework. aspnet_regiis -i is one way, another is to manually switch to 2....
http://labs.live.com/photosynth
If you have a slow jerky cursor (mouse) on a Virtual Machine it probably means that you need to install Virtual Machine Additions. How to install Virtual Mac...
My team uses many static analysis tools to check for common coding mistakes and coding standards. I recently stubbled upon JavaScriptLint which we’ll start u...
What features would your dream dev portal have? Blogs, technologies, products, reviews, articles? Does the customizable experience at Live.com give you what...
I’m a dev lead in a group that is part of MSDN and TechNet. I’m curious what you (the IT Pro/Dev community) think of the MSDN/TechNet homepages and how we co...
Lots of great ASP.NET videos up on www.ASP.net https://www.asp.net/learn/videos/default.aspx?tabid=63
The project I’ve been working on since I joined IDEO last October has finally shipped! Learning Platform v3 can be found at http://learning.microsoft.com/ Th...
Blinq is going to at least make all the dreary admin site creation work super easy for you. I was up and running with a full admin site in about 5 mins.
If you see this error message it means that you have not selected a .NET framework version to use for the website or virtual directory. To resolve, go to IIS...
The second parameter overload of Response.Redirect is nice because it doesn’t call Response.End, which is responsible for throwing the ThreadAbortException....
Convert.ChangeType doesn’t support nullable types. Peter Johnson has a post which shows how to test and cast from object to Nullable types. The can obviously...
While building our Commerce Server 2007 solution it made sense to wrap the LineItem class to easily access the weakly typed indexer accessible properties (wh...
My team is implementing a custom Commerce Server 2007 (which just RTM’d last week btw) and I had to remove a custom pipeline from the stack. I removed all re...
Check out Ian Huff’s intro video about VSTS Performance Tools. It’s a great overview and covers just about everything you need to know about them.
Let’s say an algorithm does what we need it to do really well 90% of the time. We have a choice to build the app to handle the other 10% which could come at...
Very cool talk with Joe Belfiore this morning. I came a little late, but caught the cool work ms is doing with ease of integration with Office Addins. VSTO m...
My day started off by having a quick bite with Doug Seven of DotNetJunkies and SqlJunkies fame. Amazingly enough we work in the same building @ ms, but have...
**Overview of Expression - Brad Becker **Splitview and XamlPad are included in the WinFx SDK. You can use them to create the Xaml by hand, but I would stay a...
Just installed Office12 yesterday…I know a bit late, but I’ve been working like crazy lately and just starting to get caught back up on what else is happenin...
Just found out that I’ll be hanging in LV for a few days next week at Mix06. For those of you that can’t go - what sessions would you like me to attend on yo...
I ran out of disk space today and did a quick search for disk usage analysis tools. With WirDirStat I was able to find out quickly that my tempdb ldf file wa...
See how a malicious site could retrieve your clipboard data with a few lines of code… Copy any text with Ctrl+C and then click on the link below. You’ll see...
Here’s how to get the full path to a file in VSS. Right click on file and select Properties from context menu.2. Click Report Button3. Click Preview Button4....
In the process of building a COM Add-in for Outlook I ran into the issue of events not being fired with XP. I needed to capture the ItemAdd, ItemSend and Sel...
I finally learned what the cloaking feature of VSS does and wanted to share. If you cloak a folder, you are marking it as a folder that you do not want to in...
What do naming convention do you prefer when naming controls and why? Hungarian: lblUsername Pascal: UsernameLabel or Username Camel: username Other?
I am amazed at how many developers are still using windiff or VSS diff tool. Beyond Compare is great tool that I use almost daily. It allows you to diff file...