Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Message Brokers, Channels And JavaScript Zombies

AddThis Social Bookmark Button
Be careful when using a channel-based message broker for browser-based JavaScript applications. It’s easy to get a channel from the broker, but it’s also easy to create memory leaks and JavaScript zombies – object that should have been dead and cleaned up, but come back to bite you later. Global Channels I recently wrote some […]

The “you broke the build!” game

AddThis Social Bookmark Button
Recently I pulled some code from a colleague, and tried to test it. It worked, which was fine, so I let it run the tests, and went out to lunch. When I came back, I was surprised to discover that the build has failed, not because of some test failing, but because it couldn’t compile. To be rather more exact, we go the following error: [optimized-build] Using type script compiler: C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.4\tsc.exe [optimized-build] [optimized-build] System.ComponentModel.Win32Exception thrown: [optimized-build] -------------------------- [optimized-build] The filename or extension is too long [optimized-build] -------------------------- That was strange. I checked several times, and we had
no such thing. No one had a veryVeryLongFileNameThatNeededToBeVeryExplicitAboutWhatItWasDoingAndDidNotCareAboutLength.ts. And the tsc.exe location was in its normal place. This is from a part in our build process that gather all the TypeScript files and merge them into a single optimized bundle. And it suddenly failed. Now, on the colleague machine, it worked. The previous commit before I merged it, it worked. The merge was a clean one, and very obvious that nothing was going on there. It took me a while, but I finally figured out that the error occurred because my colleague has added a new TypeScript file. How can adding a...(Read whole news on source site)

The Morning Brew #1931

AddThis Social Bookmark Button
Next Monday (31st August) is a public holiday here in the UK, and as the unofficial Morning Brew rules dictate, there shall be no edition then. Furthermore I will be taking most (if not all) of September off from publishing the Morning Brew – the first break in publication since I started back in 2008. […]

Every Employee is a Digital Employee

AddThis Social Bookmark Button
“The questions that we must ask ourselves, and that our historians and our children will ask of us, are these: How will what we create compare with what we inherited? Will we add to our tradition or will we subtract from it? Will we enrich it or will we deplete it?”
― Leon Wieseltier Digital transformation is all around us. And we are all digital employees according to Gartner. In the article, Gartner Says Every Employee Is a Digital Employee, Gartner says that the
IT function no longer holds a monopoly on IT. A Greater Degree of Digital Dexterity According to Gartner, employees are creating increasing digital dexterity from the devices and apps they use, to participating in sharing economies. Via Gartner Says Every Employee Is a Digital Employee: "'Today's employees possess a greater degree of digital dexterity,' said Matt Cain, research vice president at Gartner. 'They operate their own wireless networks at home, attach and manage various devices, and use apps and Web services in almost every facet of their...(Read whole news on source site)

What Life is Like with Agile Results

AddThis Social Bookmark Button
“Courage doesn't always roar. Sometimes courage is the little voice at the end of the day that says I'll try again tomorrow.” -- Mary Anne Radmacher Imagine if you could wake up productive, where each day is a fresh start.  As you take in your morning breath, you notice your mind is calm and clear. You feel strong and well rested. Before you start your day, you picture in your mind three simple scenes of the day ahead: In the morning, you see yourself complete a draft you’ve been working on. In the afternoon,
you see yourself land your idea and win over your peers in a key meeting. In the evening, you see yourself enjoying some quiet time as you sit down and explore your latest adventures in learning. With an exciting day ahead, and a chance to rise and shine, you feel the day gently pull you forward with anticipation.  You know you’ll be tested, and you know some things won’t work out as planned.   But you also know that you will learn and improve from every setback.  You know that each challenge you face will be a...(Read whole news on source site)

Building your first end-to-end Cross Platform app

AddThis Social Bookmark Button
Building a cross platform app means way to develop an app which can run identically on more than one platform (like Windows, Android and IOS etc.).  This enable users of multiple platform to use your app.  If you have decided that building a cross platform app will be beneficial for you, then let’s start how we [...]

Extra Life 2014 - Crunch Time

AddThis Social Bookmark Button
Originally posted on:, it's crunch time. In less than 24 hours, I will begin my 24 hour journey into the world of Extra Life. Sure, there will be good times. I mean, let's face it. I'm going to be playing games for 24 hours. However, when was the last time you did one thing for 24 hours? Imagine the last road trip you took, especially if you were the driver. Sitting in one place for hours on end; only the occasional rest break or meal stop to break up the monotony. Imagine that you did a "full day" of 8
hours of driving. Remember how tired you were by the end. The restlessness combined with the physical fatigue. The mental fatigue of focusing on one task for hours upon hours. Even with other people with you in the car, the overriding task of driving the vehicle wears on you. Now, imagine doing that for 24 hours. Now, imagine the children and families that do that for months on end in Children's of Alabama. Only, this time, you're not the one in control of the vehicle. You don't have the luxury of taking a break for the situation. You're not sure when the...(Read whole news on source site)

A Case Study in Producing Unique Hash Values

AddThis Social Bookmark Button
Originally posted on: I was working on updates the The Krewe app, I found myself needing to re-implement the Geocoordinate. Before you ask, I'm making a PCL library, and the PCL doesn't have shared version of the object. You can have a GeoCoordinate on the phone, or a Geocoordinate on the desktop or tablet. I figured the object was lightweight enough that it wouldn't be too difficult to implement in a portable way. Being the good programmer I am, I went to overload the 3 required methods from Object. Of course, Equals and ToString
were trivial. Then, I came to GetHashCode. At this point, I need to turn two doubles into a unique integer. This gave me some pause. The easy answer would be to produce the hash code of the latitude and longitude. Then, I could do some weird math on those two values to produce my new, "unique" value. However, something about this left me unsatisfied. I was already compressing something with a HUGE range into a much smaller bucket. If I wanted to do something truly effective, I needed to produce a unique value before the compression. My first thought was to normalize...(Read whole news on source site)