Cross-platform Yolo object detection with Sentis on Magic Leap 2 and HoloLens 2
Some time ago, I wrote about Yolo object recognition using HoloLens 2 and the Unity Barracuda inference engine. However, Unity seems to have stopped developi...
Some time ago, I wrote about Yolo object recognition using HoloLens 2 and the Unity Barracuda inference engine. However, Unity seems to have stopped developi...
As promised on August 18, this blog contains a more detailed description of the inner workings of cross platform QR code tracking for HoloLens 2 and Magic Le...
QR codes AGAIN???
This is a bit of an unusual post, as it does not have a project attached to it. Instead, it’s more like a recipe that I followed to get my app “Walk the Worl...
I recently published a Walk the World version for Magic Leap 2, but I would be lying if I said it was as easy this time as when I ported HoloATC. Things have...
If you are supporting any kind of professional business app, you don’t want to rely on users reporting issues. They typically concentrate on doing their job,...
Unit testing is a method software developers use to ensure code reliability. It involves writing extra code to input known data into other code - the busines...
Sometimes it’s necessary to know whether or not the user is actually wearing the headset while running your app. For instance, this might be because the user...
History repeats itself - a little under four years ago, I wrote about how the non-native keyboard in MRTK2 could be made to play with the then-new HoloLens 2...
Once again, I am revisiting the subject of displaying things in HoloLens 2 using QR codes. Developers who tried to use the code from my widely used example f...
Like I wrote before, I sometimes feel like I am Microsoft’s one-man Mixed Reality Q&A department, judging by the number of questions I get. I guess it’s ...
This seems to be a very rare case, and one that I have not been able to reproduce. It mostly seems to happen when you upgrade from one major Unity release to...
As I have shown already, MRTK3 is very versatile and very well suited for cross-platform development. The architecture is extensible by the usage of Unity su...
HoloLens applications conveniently dump all the Unity log messages in a text file - including all run time errors. This file can be very useful for tracking...
Over the last few months, I sometimes feel like I am Microsoft’s one-man Mixed Reality Q&A department, as I get lots of questions for tips, samples, and ...
After successfully porting the MRTK3 version of HoloATC to Magic Leap 2, I wanted to try some other experiments on it as well. For one of those experiments, ...
After I successfully got to run YoloV8 models on HoloLens 2 to recognize the model aircraft I made as a teenager and locate them in space - using the Unity B...
Hey, didn’t I write about this before? Indeed, I did, but last Monday I got a report from José Rocha that my sample didn’t work anymore after he followed my ...
When I talked to the folks at Magic Leap about getting a loaner Magic Leap 2, my first plan was to port HoloATC to their device. My second plan was to get it...
I hope the good folks at Magic Leap don’t get sick and tired of me hacking their SDKs to work with software versions they are not intended for, but I found a...
[Update - October 6, 2023]
As James Ashley demonstrated in his AWE talk in May, it’s perfectly possible to run an MRTK 3 app on Magic Leap 2, provided you take some steps - which are n...
In April, I described my experiments with computer vision, using a HoloLens 2, the Unity Barracuda inference engine, and an off-the-shelf YoloV7 model to rec...
When my colleague Sophie asked me if I had a sample for something I had written before, but then for MRTK3, I had to admit that I did not. So I set out to cr...
Recently a community member asked me how to set up eye tracking data and record that into a CSV file. I decided to turn the sample I created into a blog post...
HoloLens 2 is a device of very high build quality, and very, very rarely something goes physically wrong with it if you handle it with proper care. However, ...
So what do I think of the new VisionPro by Apple?
The transition from MRTK2 to MRTK3 leaves some people confused, especially less experienced developers, as a lot of GoogleBinging for “how to do things” lead...
Recently someone asked how Scene Understanding could be done with MRTK3 - the samples don’t work anymore as they are targeted towards MRTK2. The short answer...
Unity is a great tool, but all too often I have been confronted with different developer machines delivering different build results. If you pull an update i...
For building Mixed Reality applications I use an Azure virtual machine, because reasons. The great thing about virtual machines is they can be deployed prett...
Since everyone seems to be an AI expert all of a sudden, I decided to jump on the bandwagon too and see what I could do with ‘AI’. Large Language Models (LLM...
The fun thing with giving to the community is - sometimes the community starts giving back to you.
Recently I had an informal talk with a fellow Mixed Reality developer who was convinced it was not possible to use Quest passtrough transparency with MRTK. ...
Recently, someone asked me if I knew how the MRTK3 input simulation works, as it seems to have significantly changed since MRTK2. As far as I could find, it’...
Recently I saw someone (I think on LinkedIn) post a screenshot about Unity XR Hands - this basically claims hand tracking via a standard Unity API, using a p...
A very quick and small tip. When I deployed my new HoloATC app to the Quest 2, I noticed hand models showed up when I was using hand control, but no controll...
Currently I am building a new version of my now 7 years old HoloLens app AMS HoloATC. In am cleaning out the cruft that accumulated from going from HoloToolk...
Wait, what? MRTK 2.x? Yeah, sometimes older apps need to be maintained, you know. Recently I upgraded an app to a newer Unity version and MRTK 2.8.2, and not...
If you are like me, you never even think about it. Newtonsoft.Json is like the hammer in your toolbox, the knife in your kitchen drawer: it’s always there in...
In 2006, Apple introduced the concept of using powerful magnets to a connect a power supply to a device with the MagSafe connector, that made its debut with ...
A very small and short post for a change. When working on my previous blog post I noticed yet another shiny new drop of the MRTK3, I upgraded merrily, and wa...
On September 6 2022, fellow MVP Zaid Zaim, who is also busy with MRTK3, mailed me with to ask me if I thought MRTK3 apps could run on phones as well. I had t...
Some people might start to think I am becoming a bit obsessed with the subject of air taps, as this the third post about this subject in two months. First I ...
Updated December 6, 2023
I recently showed off my AMS HoloATC app running on the Meta Quest 2. But to be honest - I copied over some settings from the Zappy project, but I had no ide...
Sometimes the gods themselves descend from the Olympos - or in this case, Mount Rainier maybe - to explain to you things can be done a lot simpler ;). When I...
As I announced in a previous post, in which I migrated the extension services to the Reality Collective Service Framework, I am now migrating the whole sampl...
A rather simple thingy this time, but one that was slightly irksome while I was playing with the MRTK3 private preview. As you may have seen in the ‘video’ i...
NOTE: there is a simpler way of doing this
One of the great but really underrated and underutilized boons of the MRTK2 are Extension Services. Unfortunately, in MRTK3, Extension Services, as well as t...
I have a confession to make: as a Microsoft MVP I got a bit earlier in on MRTK3 than the rest of the world. I’ve spent the time porting AMS HoloATC over to M...
A very short Unity tip this time. Something that has bothered me for quite some time, but never enough to actually find out what the hell it was - until toda...
Okay, one more Azure functions post. After upgrading my .NET 2.0 standard function for AMS HoloATC I discovered the back end function for my HoloLens app Wal...
To reassure my regular readers - no, I am not pivoting from Mixed Reality and HoloLens. Far from that! But you see, any HoloLens application that is more tha...
A very, very small tip this time. In HoloLens 2 - or actually Windows Mixed Reality - you can create these awesome 3D launchers that look a lot better than t...
Another small trick, easily reusable. Attentive users might have noticed something odd in my recent blog post about Scene Understanding. You can assign a Sur...
A short tip this time, but nevertheless one that merits its own post. Scene Understanding is an awesome feature, but it would be nice if you could use a sca...
In a previous post I showed how you can use Surface Magnetism to make an object ‘stick’ to the Spatial Mesh while placing it. But what if you want to use onl...
After revisiting my good old FloorFinder by request of a community member, I started playing around with Surface Magnetism because one of my colleagues start...
Not-so-hypothetical situation: your co-worker, who is a designer, sends you a nice glTF or glb file, or you made one yourself after getting inspired by my la...
This is one of those trivial things ‘everyone’ knows - every Unity game developer, that is - except for wierdos like me who come from a enterprise developmen...
Time flies… this blog is now past it’s 14th anniversary, in internet time this means parts of it are ancient - and indeed, it contains it’s share of posts th...
As I wrote in my previous post about this subject - a Mixed Reality / HoloLens developer sometimes just needs to tinker a bit with models, but doesn’t have t...
Ideally, when you are working on HoloLens or other Mixed Reality projects, you have a full time designer on call in your team handling all the nastiness arou...
Sometimes you want UI elements to show in a disabled state - indicating you can do something, but that’s not available right now because the app is in a stat...
Another short tip: Usually when you want to act on a toggle button press - for instance on a PressableButtonHoloLens2Toggle - you connect a script method to ...
The problem A short tip this time. At Velicus, we are currently working on two apps. One is built with Unity 2019.4 LTS, the other with Unity 2020.3 LTS. The...
“Failed to launch ms-appinstaller…” For some reason you had to flash your HoloLens 2. For instance, because you lived on the edge and it started to misbehav...
People who, like me, use the heck out of Mixed Reality Toolkit as the base for all their Mixed Reality projects and dutifully upgraded to the latest version ...
Some UI elements cannot be neutral to the fact whether or not someone is right-handed or left-handed. For instance, if someone is left handed, you might want...
One of the great things that makes HoloLens 2 special is hand tracking, and the fact you can actually touch and move holograms. There are several nice compon...
This is a short tip, and an easy checklist reference (not only for you, but also for myself). Although Microsoft does have a guide for this, it’s missing som...
A pretty short tip this time. Recently I had the requirement to show water (that is, a fluid) in a HoloLens 2 app. Something like this: Fortunately, from ...
Rounded corners are suddenly hip again and all the rage, even in Microsoft land, as is clearly visible in Windows 11.
You have moved your Unity project to OpenXR following Microsoft’s Guidelines and/or my blog post and upgraded to Unity 2020.3.x. Maybe there were some hiccup...
Since parties outside of the Netherlands seem to have become very interested in the current product I am working at for Velicus, I was looking into multi lan...
In a previous posts I showed how to read QR codes with HoloLens 2, and how to use those to get a position in space - using that position to align a Hologram ...
If you ever have created or used the Mixed Reality Toolkit’s Extension Services, you have probably seen this:
The whole point of my previous two blog posts, in which I first described DIY hand gesture recognition, then some way to use that to move stuff along a multi...
In the previous part we established how we could do some basic hand tracking and gesture recognition. The goal, at least part one of the goal, was to be able...
For a little POC I was working on, I wanted to be able to detect if a user was grabbing or pinching on or near specific locations. I did not need the elabora...
Let me first show up where this shows up in Unity: Create a new, empty 3D Unity project When it’s done creating hit File/Build Settings, select “Univer...
In my previous post I showed how to read QR codes using native functionality of the HoloLens 2 and the Microsoft.MixedReality.QR package, using a MRTK Extens...
QR codes are a great way to input data into Mixed Reality apps. You can simply hold them in front of the device you are wearing and the app can read the data...
I was (and am) very excited about the HoloLens 2 hand tracking capabilities, and was intrigued by the MRKT2 Hand Physics Service. Yet I quickly found out tha...
Common problem: you have created a prefab which you want to modify. Of course you can open the prefab and edit that, but when you want to edit a prefab in th...
A common annoyance and mistake: the only way to position an object on the correct place, in the correct scale and/or rotation in Unity is in play mode.
If you are developing Mixed Reality apps with Unity, you often create code that only works in the editor, to simulate test conditions - for instance, a keybo...
One benefit of writing model driven Mixed Reality apps, as I demonstrated in this and this post, is that you are using a consistent architecture that makes i...
In the first part of this series I showed how to make a model, host that in a MRTK Extension service, and then have a single source of truth accessible every...
Unity, my preferred platform for making Mixed Reality apps, is a gaming engine. The mindset of people using platforms like this is definitely different from ...
If the title of this blog post seems a bit familiar, you are right. About two months ago I proudly wrote about a Generic MRTK2 extension service inspector I ...
Although I like to stay at the minimum recommended version for the MRTK (currently 2018.4.20f1), for the app we are currently developing for my employer we n...
I make extensive use of the MRTK2 extension service feature and its dependency injection capabilities. Unfortunately it’s not easy to see the internal state ...
Is it possible to write a blog post about one single check box? Gather ye children, around the fire, and I will tell. For an app for my employer I am employi...
Long ago, when I made the CubeBouncer for HoloLens 1, I already noticed I could change the so called ‘physical material’ of holograms so they bounced off eac...
For my blog videos I tend to use Camtasia and I was not very amused when the 2019 version stopped working on my big development box - while it kept running p...
Intro Recently I was setting up a new HoloLens 2 project. I usually take the following route: Create a Unity project with the recommended version for the cur...
Intro A short one, but one that took me quite some time to find. If you are using MRTK2 to build a Mixed Reality app to run on Immersive Headsets - or at lea...
A very short and very simple trick today: If you - like me - are crazy enough to dutifully update the MRTK2 in your apps whenever a new version arrives, at s...
Intro If you are developing an app using the Mixed Reality Toolkit 2 that requires interaction with a Spatial Mesh, the development process can become cumber...
Intro As I announced in this tweet that you might remember from February the HoloLens 2 version of my app Walk the World sports two hand palm menus - a prima...
Intro This is simple, short but I have to blog it because I discovered this, forgot about it, then discovered it again. So if anything this blog is for info...
Intro Although the focus for Mixed Reality Toolkit 2 now understandably is on Microsoft's big Mixed Reality business player - HoloLens 2 - it's still perfect...
Intro The MRTK2 allows for development for both HoloLens 1, HoloLens 2 and Windows Mixed Reality immersive headsets with nearly identical code. And a growing...
Prelude With apologies for the uncharacteristic hiatus in my blog - last month I had a HoloLens 2 available for development and test purposes, and utilizing...
Intro Tuesday, February 7, 2020 marked an important occasion to me. A HoloLens 2 arrived at my door. For the first time since March 2019, where I got to try ...
Intro Last September I wrote about various hoops you had to jump through to get a Mixed Reality app to appear in the store and not have it to fail the ...
Intro After fellow MVP (and RD, although not fellow-) Philipp Bauknecht discovered a bug in my AMS HoloATC app while testing it on his HoloLens 2 (what lunat...
Intro Interaction with objects that are not simple shapes like cubes, spheres, capsules etc. poses some challenges. The Mixed Reality Toolkit 2 offers some g...
Intro Coming from business development, you might get a little shock coming into Unity - traditionally, game developers are much more focused on making the o...
Intro In all modesty I think I pretty much nailed making simple 'user interfaces' for HoloLens 1 - simple dialogs and stuff. Clients told me 'even a moron ca...
Intro One of the exiting features HoloLens 2 brings us, is Eye Tracking. On HoloLens 1, you had to move your whole head to move the gaze cursor. and while th...
Intro On Monday September 2 version 4.0.19 of my first HoloLens Store app, AMS HoloATC, became available in the Microsoft Store. This version has been comple...
Intro One of the HoloLens’ great features is the ability to interact with real physical objects. This allows apps to place holograms on or adjacent to real o...
Symptom You have created a Unity project to create an app using MRTK2, and you want to use the new IL2CPP backend. You open the solution in Visual Studio 201...
Intro A short one this time – and codeless to. You see, next Saturday I will be giving an workshop for MixUG Netherlands about development with the Mixed Rea...
Intro To be honest, the title of this blog post is a bit weird, because in Mixed Reality Toolkit 1 the concept of grabbing was unknown, as HoloLens 1 does no...
Wait a minute – you did handle tap before, right? Indeed, dear reader, I did. But I also had signed up for a MixUG session on Wednesday July 3. And while mak...
Intro If you are migrating from the HoloToolkit to Mixed Reality Toolkit 2 'cold turkey', as I am doing for my AMS HoloATC app, a lot of things break, as I a...
Intro In my previous post I wrote about how game objects can be made clickable (or 'tappable') using the Mixed Reality Toolkit 2, and how things changed from...
Intro Making something 'clickable' (or actually more 'air tappable') was pretty easy in the Mixed Reality Toolkit 1. You just added the IInputClickHandler in...
Intro One the many awesome (although sadly underutilized) capabilities of HoloLens is Spatial Audio. With just a few small speakers and some very nifty algor...
Intro In ye olde days, if you set up a project using the Mixed Reality Toolkit 1, NewtonSoft.JSON (aka JSON.Net) was automatically included. This was because...
Intro At this moment I am trying to learn as much as possible about the new Mixed Reality Toolkit 2, to be ready for HoloLens 2 when it comes. I opted for us...
Last week I wrote a first look at the new HoloLens 2 emulator and showed you how something of the hand movement in the HoloLens shell using an Xbox One contr...
Intro Today, without much fanfare, the HoloLens 2 emulator became available. I first saw Mike Taulty tweeting about it and later more people chiming in. I im...
Intro My relation with Unity is a complex one. I adore the development environment. It allows me to weave magic and create awesome HoloLens and Windows Mixed...
Intro Back in November I wrote about a POC I wrote to recognize and label objects in 3D space, and used a Custom Vision Object Recognition project for that. ...
Intro In November I wrote about a Custom Vision Object Detection experiment that I did, which allowed the HoloLens I was wearing to recognize not only what o...
Intro Using the Mixed Reality Toolkit, it's so easy to make an object selectable. You just add a behavior to your object that implements IInputClickHandler, ...
Intro Last month I wrote about integrating Azure Custom Vision Object Recognition with HoloLens to recognize to label objects in 3D space. I wrote the predic...
Intro The Mixed Reality Toolkit vNext comes with an awesome mechanism for dependency injection. This also takes away a major pain point – all kinds of behavi...
Intro You might have heard it – the Mixed Reality Toolkit folks are busy with a major rewrite. The original MRTK was intended to accelerate applications targ...
Intro HoloLens is cool, Machine Learning is cool, what's more fun than combine these two great techniques. Very recently you could read "Back to the future n...
Intro Of course you scan script literally all animations using (something like) LeanTween, but you can also animate things using Unity animations. I have bee...
Intro One of the things you tend to forget as you progress into a field of expertise is how hard the first steps were. I feel that responding when gaze strik...
Intro For those who think I am breaking rank and suddenly move away from HoloLens and Mixed Reality to Microsoft Azure (like some *cough* these days) - don't...
This is one of those things that can cost you hours to fix and drive you completely crazy. I was working on a new improved version of my HoloLens / Mixed Rea...
When the **** hits the fan A quick tip this time, born from necessity. I guess we've all been here - you make a perfectly working Mixed Reality app for Immer...
Intro As Mixed Reality in general and HoloLens apps in particular become more mainstream, so they become ever more complex, and this reflects in their interf...
Intro In my previous post I described some complicated calculations using a BoxCastAll to determine how to place a random object on top or in front of some o...
Intro It was quite difficult to name this article. Usually I try to find a title that more or less describes a good search term that I used myself when I was...
Intro For a business HoloLens app I am currently developing - as well as for my app Walk the World - I needed a way to see if a user is moving or rotating in...
This is an easy and simple tip, but one that I use in almost every Mixed Reality app at one point. It’s mostly applicable to HoloLens: especially new users t...
A very simple but potentially quite a big time saving tip this time. Typically, when you are developing for Windows Mixed Reality, you spend a lot of time in...
It's not easy being green - I mean, a Mixed Reality developer This is one that has annoyed me for quite some time. When developing your Mixed Reality app, I ...
Intro I was planning to write a step-by-step procedure of the things you would need to do to get the Mixed Reality app I created in my previous post to work ...
Intro Let’s face it – although Windows Mixed Reality has a steady uptick (at least I think I can draw that conclusion from the increasing download numbers of...
Intro In my previous post I explained two ways of preparing holograms and uploading them to Azure: using a whole scene, and using just a prefab. In this post...
Intro In my series about remote assets, there’s one major thing left: how to use remote assets that can be used as Holograms in your Mixed Reality app. I wil...
CHPE works its magic… Let me get this straight first: Microsoft did and amazing job with CHPE and x86 emulation, that allows x86 to run without any conversio...
Very short and small tip – Windows Mixed Reality can run on a HoloLens, on an immersive headset – but although the Store warns about necessary hardware to ru...
Drumroll I have been asked to evaluate a prototype Windows 10 on ARM PC. You might have seen people talk about it earlier, like my friend Lance who wrote abo...
Intro The title of this blog post kind of gives away that this is actually two blog post in one: How to prepare and load videos into AzureHow to load these v...
Intro As I promised in my previous blog post, I would write about how I created the floating audio player designed to easily demonstrate how to download and ...
Intro All but the most trivial apps have some kind of back end. In the past, I have written about accessing all kinds of services from HoloLens and Mixed Rea...
Intro When I started making Mixed Reality apps (or better, HoloLens apps, as Mixed Reality as we learned to know only became available with the Fall Creators...
Intro – feedback is key Although speech recognition in Mixed Reality apps is very good, sometimes the best recognition fails, or you slightly mispronounced s...
The Mixed Reality Toolkit is the foundation for nearly all apps built for HoloLens and Windows Mixed Reality immersive head sets. It has a lot of indispensab...
Intro Way too often I still see Mixed Reality apps with default (white) splash screens, app windows, or even worse – the default Unity Icon. When Mixed Reali...
Intro Both of my HoloLens apps in the store ask the user to identify some kind of horizontal space to put holograms on, in one case Schiphol Airport, in the ...
Intro The time has come. As I predicted in my previous blog post, it’s now possible to build a HoloLens app and an Immersive Apps (targeted toward the new im...
Heads-up (pun intended) This is not my typical code-with-sample story - this a war story from the front line of Windows Mixed Reality development. How did I ...
Intro All right, my friends. It's time for the real deal, the blog post I have been anticipating to write since I first published the 3D version of Walk the ...
Intro If you make an awesome app like Walk the World, of course you are not going to spill the beans on how you built it, right? Well – wrong, because I thin...
Intro Xamarin Forms is awesome. If you have learned XAML from WPF, Silverlight, Windows Phone, Universal Windows Apps or UWP, you can jump right in using the...
Intro In the various XAML-based platforms (WPF, UWP, Xamarin) that were created by or are now part of Microsoft we have the great capability to perform datab...
Intro In the first installment of this 2-part blog post we have created the UI of the info screen, now we are going to build the dynamics. First we will make...
This is a little tidbit I use in a lot of apps, for instance in the CubeBouncer and for floating info screens in my other apps. Basically I want to know a po...
Intro Those who have seen my HoloLens apps (most notably Walk the World) have noticed I tend to use floating "info screens", especially for help screens. My ...
Preface with lame apologies My apologies for the longest blogging hiatus in the history of this blog, I was very busy with things both HoloLens and not-HoloL...
Intro I know I am past the ‘this has to work one way or the other’ stage of a new development environment when I start spinning off reusable pieces of softwa...
Intro This is a cool little tidbit that I wrote in the cause of a project that required 2D images to be shown in a 3D context. Not everyone has 3D models of ...
Intro The following scenario is one I have seen a lot of times – the user taps on a UI element, and then it and/or a couple of elements need to fade out, dis...
Intro After two nearly code-less posts it’s time for something more code-heavy, although it’s still out of my ordinary mode of operation: it’s fairly short a...
HoloLens can interact with reality – that’s why it’s a mixed reality device, after all. The problem is, sometimes, the reality you need is not always availab...
Intro There are several demos out there that show obviously scanned models of people or physical objects used in HoloLens applications. I think it was fellow...
Intro This tutorial will show you how to manipulate (move, rotate and scale) Holograms by using gestures. It uses speech commands to change between moving, ...
Intro Simply put – what I was trying to do create is the effect of what you get in the – in the meantime good old – Holograms app: when you pull a hologram o...
All right, so I was finally past a couple of deadlines with paid HoloLens apps and was ready to take the plunge to update my app AMS HoloATC to Unity 5.5 and...
Intro All the code to track aircraft in a HoloLens is already yours. Now the only thing I have left to write is how the Wortell Church and the billboard that...
Intro In this episode I am going to describe how the airplanes are selected in the sky by air tapping them. This requires some changes made to both the Azure...
Intro No, I am not drunk, nor did I smoke some peculiar produce our capital Amsterdam is famous for, and I did not bump my head a bit too hard on my car whil...
Intro This episode is nearly codeless, it’s all Unity and general geeky GIS stuff. We are going to cut out a piece of OpenStreetMap to depict the location of...
Intro In the video in the first post of this series you can see the airplane models leaving a kind of trails in the air, while they move and rotate in ...
Time to rock and roll All right my friends, it’s time to show the heart of the matter – how to read data from an Azure Mobile App Services data service and m...
Intro In this post we are going to create a game object holding the aircraft and a label showing aircraft data that always looks at the user. We are not goin...
Intro All right my friends, it’s time to hit Unity again. In a previous blog post about the Cube Bouncer I have told you how to set up a project. That was qu...
Introduction Recently I posted my first HoloLens app “AMS HoloATC” to the public store, Now it has been showed to the important customers, I have no longer ...
This is going to be a bit of a theoretical story, but I feel it’s a necessary as a precursor to my promise to explain in detail how I made the AMS HoloATC ap...
The Windows store has a very neat feature. You can send out direct http links to people that, when entered, show and app directly in the web version of the s...
First of all – don’t do this. You might regret it dearly. One might consider the fact that this is possible at all to be a bug in the Store. For the m...
In the past I have been dealing with IoT equipment made by a manufacturer that shall remain nameless here, but their solution was - like a lot of IoT solutio...
Woe is us No code this time, but a kind of a rant. Or some advice. Whatever you want to call it. So we all saw the stories. Several pundits all over the worl...
Preface In the previous post I showed you how to integrate speech recognition. This post mostly builds upon stuff we now already know. It introduces actually...
Preface In the previous post I showed how you could interact with the cubes using air taps, utilizing the physics engine. In this blog post I am going to sho...
Preface In the previous post I showed you how to create a neatly arranged grid aligned to your view in your HoloLens app. Now, it’s time to make a mess of it...
Preface In the previous post, I have showed you how to setup a very basic HoloLens application that only shows one floating cube – exactly on the spot where ...
Preface Ever since I knew the HoloLens was coming to my company I have been digging into all the online resources I could find. And ever since the devices ar...
When I work on a HoloLens project, I alternate a lot between the Unity editor and Visual Studio, but I tend to spend a lot more time in the latter. I am a co...
I am currently finishing up a nice little demo app for the HoloLens but ran into a weird problem. Originally the app was called ‘Gazer’, as I only wanted to ...
Picking the challenge apart An Italian proverb says that a fool can ask more questions than seven wise men can answer – a modern variant could be that a desi...
After following some on-line video’s and snooping through some other’s people code I felt I had to start bottom-up to get at least a feeling for how you setu...
Preface Ever since I introduced databinding for the UWP map control (and it’s previous incarnations for Windows Phone 8.x and Windows 8.x) I have been asked ...
Before you all think I am stark raving mad – it appears that it is actually possible to create XAML constructions that confuse the UWP renderer to such an ex...
Preface In my previous post I showed the basics for animation behaviors in Xamarin Forms. Here’s another one I made, that in conjunction with some nifty elem...
Preface Some time ago I wrote about a proof-of-concept for viewmodel driven animations using behaviors in Xamarin Forms. In the mean time, time has moved on,...
Back in June I wrote about a proof-of-concept for view model driven animations using behaviors in Xamarin Forms. This concept made it into my employer’s stan...
Recently I have ported my app Map Mania to the Universal Windows Platform, and at the moment of this writing it is being certified. (that, I least I ho...
A little history - or how I messed up I initially created this behavior for Windows Phone 8.1, and then ported it to Windows 8.1 store apps. I presum...
While I was busy developing a cross-platform application for Windows Phone, Android and iOS I wanted to test the Android implementation and ran into a snare ...
Intro Still working on porting Map Mania to the Universal Windows Platform, I ran into a bit of a snag. It wanted to have a kind of decision-tree Visual Stat...
Preface to revision This post was updated significantly on February 13, 2016 as I realized I had once again not adhered to the advice my late Math teacher, M...
If you use Blend, and what to color your elements using a system resource, you get a depressing number of resources in the pop-up. So much, that you actually...
Yesterday, while being in the process of converting my one of my apps to UWP, I was moving a lot of the functionality of the app menu to a SplitView. Microso...
Intro Recently I released WpWinlMaps for the Universal Windows Platform, a NuGet package that allows you to data bind map shapes to the awesome new map contr...
I just released my open source library WpWinNl to 3.0.2-alpha (that is, pre-release) to NuGet. WpWinNl now supports Windows Phone 8, Windows Phone 8.1, Windo...
Just as I thought I finally was done adding Universal Windows Platform support for WpWinNl, I ran into a weird error. I had updated the nuspec file after som...
November 30th was the day a long standing wish of me came true - Windows 10 Universal Windows Platform gets on par with some professional geographical inform...
My Dell Venue 8 Pro that I primarily use as an e-reader was the last of the flock to get the update... so after gone trough the plight of getting about 8GB o...
Since my first forays into Xamarin I have been making great use of this awesome trick by Scott Hanselman to quickly change from a configuration with Hyper-V ...
IntroIn this final episode of the planned series, posted on "Back to the Future" day, I will show you how to use external map sources and how to use them wit...
This is one of those blog posts, born out of utter frustration because looking for this yielded no usable results - while you would expect a lot of people wo...
IntroPicking up the thread where I left it rushing into an IoT series, which I wanted to have ready before the Microsoft devices event that took place on Oct...
Part 6 of Reading temperatures & controlling a fan with a RP2, Azure Service Bus and a Microsoft Band IntroIn the final post of this series I will show h...
Part 5 of Reading temperatures & controlling a fan with a RP2, Azure Service Bus and a Microsoft Band IntroYou cannot deploy apps to a Microsoft Band dir...
Part 4 of Reading temperatures & controlling a fan with a RP2, Azure Service Bus and a Microsoft Band IntroThis article shows you how to control a device...
<h4>Part 3 of Reading temperatures & controlling a fan with a RP2, Azure Service Bus and a Microsoft Band</h4> <p>IntroIn this articl...
A very short one this time. I wanted to give some UI element the same color as the accent color, but I wanted to use it from code, not from XAML, as written ...
<h4>Part 2 of Reading temperatures & controlling a fan with a RP2, Azure Service Bus and a Microsoft Band</h4> <p>IntroIn this post I...
Part 1 - Idea, architecture, hardware shopping list and hardware configuration Sometimes simple ideas have a tendency to balloon almost out of control, and t...
IntroIn part 5 of this series I will show two seemingly unrelated things - the map "styles" and 3D maps. From a code perspective this is, just like last time...
There is a debating technique that is called "reductio ad absurdum" which demonstrates the validity of a statement by proving that the opposite is impossible...
Intro This part of the mapping series is the shortest from a code perspective - it actually only handles six properties of the Map control, but these give yo...
IntroIn my previous post in this series I showed how to draw lines, polygons and icons on the map. What I did not show was how you could query the map for th...
IntroIn my previous post in this series I have talked about how to get a map control in a Universal Windows App and how to set it up with a proper key, now i...
A quicky and nothing code related this time. After upgrading from Windows Phone 8.1 through a number of intermediary Insider builds I found I got more and mo...
Today I finally nailed a very odd issue in the Microsoft Band SDK - or actually, my understanding thereof. For my current research project, I am building a c...
IntroEver after my TechDays 2015 talk I have been getting a lot of questions about the new Universal Windows App map control for Windows 10, and now th...
As I was working on yet another piece of POC code showing off the power of both the Windows 10 IoT Core stuff and Microsoft Azure I ran into a very odd probl...
Intro: the joy of third party dependenciesI am currently working on a Windows app that uses some kind of Facebook integration. Last Friday (June 20) somethin...
IntroFor some time now I have been making a number of behaviors implementing animations driven by view models for Windows and Windows Phone. Implementing ani...
Intro: sometimes it seems like I’ve been here before Back in February I got my Raspberry PI2 and wanted to do something with it. So I created a setup that ma...
Very recently Windows 10 IoT Core became available – just one of the very exiting technologies Microsoft are cranking out like crazy now. This will enable ev...
On one of my two PCs running Windows 10 10074 the Phone emulators did not have internet access, which is a bit of a hindrance if you want to write a demo tha...
I discovered this while preparing for my Techdays 2015 talk and you probably have to be a mapping nut like me to appreciate this fully, but some things canno...
Notice - this is not an April fool's joke, although you may think it is. It is not my custom to write about something without a real ready-to-run sample, but...
Intro – what? WHY? As regular readers of my blog might have seen, I got myself a Raspberri PI 2 and a Sunfounders sensor kit, and was happily dabbling a litt...
My fellow MVP Peter Nowak from Germany pointed me to this awesome kit on Amazon.de that has this vast array of sensors in it. It comes with 37 sensors and p...
Inspired by the buzz that engulfed the Microsoft community when it was announced the new Raspberry PI 2 was going to support Windows 10 I actually got myself...
Intro I always like to use a kind of a translucent background image to my app’s screens, that makes it look a bit more professional than just a plain single-...
Recently, I wrote about the KeepFromBottomBehavior that helped me to deal with popups that appeared on the bottom of the screen, but were covered by the app ...
Disclaimer: I am at the early stages of learning Xamarin and may be just writing some stupid and obvious things. That’s just the way it is. This blog is as m...
Intro Every time I meet someone from the Windows Phone Map team (or get into contact with them in some other way) I talk about the importance of being able t...
Of course you are now all writing MVVM based apps, after all I have been advocating that for years, and you are listening this here old venerable MVP, right?...
This week I was presented with an interesting challenge. Using this technique, I used the whole screen for my app. The problem was I had not anticipated a De...
Why? How? I will be honest – I wasn’t really thinking the whole thing about wearables is more than a bit overhyped marketing stuff and that I personally woul...
Intro On October 18th the Dutch and Belgian Windows Platform Development communities got together for an event called “Lowlands WPdev 2014”- yours truly was ...
A very short tip this time, that took me some time to find out. You will need a Windows Runtime Component if you want, for instance, host a background task i...
In Windows Phone 7, 8 and 8.1 Silverlight apps this is very easy: you just set the Opacity of the Application bar to any value less than 1 as described here,...
Intro If you tried to work with geofences, you may have encountered this problem. You want to have an easy way to show where the darn things are on the map, ...
When you are developing for Windows Phone or Windows and you are faced with using a native component (for instance the Bing Maps control on Windows, or the S...
With the Windows Phone 8.1 SDK came (yet again) an improved Map Control. This brought, among other things, the MapIcon. In ye olde days, the map could only d...
Preface AngularJs supports all kinds of simple client-side validation. The simplest is data-ng-required which basically says a UI element must be filled in b...
Intro – multiple stacks to choose from There are a number of ways to talk to a backend (i.e. communicate over JSON services) in Angular. I know at least of t...
Disclaimer I am in the very early early stages of toying with Xamarin and it may well be that whatever I am doing here, is not the smartest thing in the worl...
Introduction After setting up my initial application as described in my previous post, I went about to set up a watch. For those who don’t know what that is ...
Preface No, I have not abandoned Windows (Phone) Development, and am not planning to do that. But apart from being Windows Platform MVP (as it is called sinc...
Currently I am developing an app that should be able to share or save whatever is on the screen. I came upon this article by Loek van den Ouweland about Rend...
Introduction As you might have seen, the SensorCore SDK has been released. I intended to bring out a full fledged app utilizing this new and exiting SDK, but...
With the advent of Windows Phone 8.1 multiple resolution are now also becoming a fact of life for Windows Phone developers (as they already were for Windows ...
Some time ago I discovered that you can trap Window.Current.VisibilityChanged in a Windows 8 app to check if the app was running in the background, and that ...
Today I have decided to take the plunge – I have released an early version of WpWinNl 2.0.0 to NuGet. This introduces quite some changes. To start with, WpWi...
When you are working with MVVM, you are faced with a couple of interesting challenges. Usually you have something like this: You see a lot of properties with...
A couple of people – me included – have been suffering from the fact that, after they applied Visual Studio 2013 update 2, it became impossible to rename fil...
The Windows Phone 8.1 emulator has a beautiful new option: if you want to simulate a route you don’t have to put in a gazillion points anymore, you just inpu...
This article was updated after a tip from Daniel Plaisted – see comments I was happily adding Windows Phone 8.1 support to WpWinNl – or actually support for ...
A quickie this time: when I finally started porting WpWinNl over to Windows Phone 8.1 (sorry, I was busy testing, preparing a talk and the Windows Phone Code...
In this article I introduced MoveObjectBehavior and a way to use it to make Facebook-app like scroll-into-view panes. All very nice, but with a minor drawbac...
No code today, but a simple how-to. I was caught off-guard by this, a lot of people – including people who I concern to be power users, are pretty much confu...
With the announcement of the new SDK for Windows Phone Microsoft now really starts to stress the companionship of Windows and Windows Phone, and makes it a l...
One of the areas where the mapping systems for Windows Phone and Windows 8 are lacking, is the ability to draw circles. In particular in Windows Store apps, ...
Sometimes I think up things all by myself, sometimes I have to read something first to let the ole’ light bulb in my brain go ‘ping’. This post is of the 2nd...
Regular readers might remember the launch of 2 Phone Pong in August 2013, one of the first – if not the very first – action game that could be played on two ...
For Windows Phone apps, the same goes a for Windows 8 store apps – a picture tells more than a thousand words and a video even more. So as promised earlier, ...
For my game 2 Phone Pong – and its Windows 8.1 counterpart 2 Tablet Pong, that at the time of this writing is going through some interesting certification ch...
For those who think the MVP title comes with divine wisdom, I have a disappointing announcement to make: it does not. Recently I discovered (or actually was ...
Windows Phone users are very familiar with the concept of an app bar at the bottom that, in collapsed state, gives a kind of indication that it’s available. ...
Intro As I alluded to in a few previous posts, I have been working on a merged version of both my Windows Phone and Windows 8 libraries on Codeplex: wp7nl an...
<p>Update: the MAT was updated on February 7, 2014, adding new capabilities to handle this issue better</p> In the old days, making apps in mult...
On my way to the November 2013 MVP Summit, at Matthijs Hoekstra’s house in Sammamish, and back again in the Netherlands I spent considerable time trying to g...
This is a bit of an odd post – it’s the things I learned while porting SilverlightSerializer 2 from Windows Phone to Windows 8 Store apps code. For those who...
Our Dutch DPE Rajen Kishna has been quite heavily banging the ‘build for both’ drum for some time now, and after having spent quite some time on exclusive Wi...
Why?Early this year I blogged about TtcSocketHelper, an MVVM friendly helper object that allowed you connect two Windows Phone 8 devices to each other using ...
Updated November 11, 2013It was at my very first MVP Summit in February 2012 that I learned that Windows 8 XAML was not to have any behaviors. I remember dis...
I have a for a developer unusual confession to make: I don’t like math. As a tool, great, but as a thing, no. One thing that really infuriates me is than whe...
As promised, this post describes a behavior to scroll parts of a Windows Phone GUI into view, after I first described how you can create such panels by makin...
This is a trick I use to make partial screens outside of the actual Windows Phone viewport, for instance like the Facebook app for Windows Phone does – that ...
“Good artists copy; great artists steal” –Steve Jobs Every Windows Phone developer who has non-tech friends, relatives or a wife with a Windows Phone knows t...
I don’t think I need to elaborate on how important it is to get ratings for your app in the Store – and preferably good ratings. By no means this is new and ...
With a little pride and much joy I hereby release my newest Windows Phone application 2 Phone Pong into the wild. It is intended to show off the fun things y...
In this third and final installment of my scaling and opacity animation series I am going to show how easy it is to build more behaviors on top of the now ex...
Like I wrote in my earlier post about extension methods for animating scales and opacity – those were merely building building blocks for something bigger. T...
This is the first part of a tree-part series handling animating scaling and opacity. If you kind of wonder how the hell something that simple can require thr...
By now you all probably heard about App Studio, the great new on line tool the Windows Phone team have created to create custom Windows Phone apps based upon...
A long time ago, before I even was a Microsoft MVP, I wrote an article about a behavior that could make anything draggable and flickable for Windows Phone (t...
It’s really fun when someone contacts you with a Windows Phone development problem and you have already something standing by to solve it – even if it was in...
This is a fun little thingy I wrote when dealing with error lists. Suppose, you want the user to be able to see there are errors, but not directly fly them t...
BUILD 2013 may be all the rage at this moment, but between watching sessions online this here die-hard still is doing some Windows Phone development. Doing s...
Fellow MVP - and fellow map maniac - Morten Nielsen brought me into contact with a Windows Phone developer called Jonathan Aghachi. He was struggling to sele...
Last time: so close, yet so far: This series appears to have become a trilogy in four parts – at the end of the last episode everything worked, save for tomb...
Last time on, on Dotnetbyexample… In the first post I described how to write the business logic to find a location by searching for an address by text, and ...
What happened last time on this show In the previous post I described to how to write the business logic to find a location by searching for an address by te...
After my post about reverse geocoding I set out to make a little app to demonstrate routing in Windows Phone 8. The demo app went quite out of hand, so I dec...
Long long time ago I wrote how to drive animations from your ViewModel using DataStateBehavior, and I explicitly stated this was the only way to do it, since...
A phenomenon described by the term ‘webkit monoculture’ is causing quite some concern in the web development community. A lot of web developers are basically...
This may be the most cryptic acronym-laden title I ever used for a blog post, but it quite exactly describes what I was trying to do yesterday. The Visual S...
Having worked in Geographical Information Systems over 20 years, I can tell you rightfully the new Windows Phone 8 mapping and location abilities are more th...
About every pundit who is somewhat interested in Microsoft either by love or abject hate has written about this already – and still I am going to do my take....
Brazil, a strong developing economy, is the largest country is South America, and has the biggest population of South America as well. From a game developer’...
For those who have missed it – besides all the things I do on Windows Phone and Windows 8 I actually have a job, and in that job I am currently doing a lot o...
For my Windows Phone 8 game “Pull the Rope” I wrote a utility class to make pairing phones and obtaining a two-way communication channel a little bit e...
In my never-ending quest to preach the gospel of MVVM in general and MVVMLight in particular as the way to make a structured Windows Phone application I show...
As regular readers of this blog know, I am currently playing around with NFC on Windows Phone 8. I peeked a little in the Bluetooth app to app sample at MSDN...
This is not about code, but about something a fellow developer and blogger told me, which made me quite sad. It’s a kind of personal rant, so feel free to sk...
Currently I am working on a Windows Phone 8 action game in which you can fight a kind of duel. This involves pairing the phones via NFC and then obtaining a ...
This week my fellow MVP Scott Lovegrove contacted me and asked if and how he could pass the result of an event to my WinRT EventToCommandBehavior and/or Even...
You can read the whole story if you like reading, but this whole blog post comes down to one piece of advice: If you value your sanity, do not, under any cir...
(Updated with sample code January 19 2013) Some time ago I posted a WinRT behavior to mimic EventToCommand. This behavior cunningly looked for the command na...
A little history When I accepted the invitation from MADNbe to talk about Maps and MVVM on September 20 early in the summer (or what was supposed to be the s...
The time is finally there: the Windows Phone SDK 8.0 is out, and now we can finally talk about all the great news things for developers that this new SDK bri...
Sometimes I get a bit distracted. In this article I mention a behavior that I wrote which starts a storyboard on an event, I even put in in the win8nl librar...
On the last day of 2011 ago I made DynamicBackgroundBehavior - a quite bizarre behavior which plays a supporting role in my latest Windows Phone application ...
Disclaimer: this is not a 101 article. It requires understanding of the basic idea about MVVM, data binding, the MVVMLight messenger, and the use of behavior...
(UPDATED for RTM August 18 2012) One of the most beautiful controls of Windows Phone is the Panorama. It’s ideal for showing a lot related content on a smal...
This is deprecated. Please use the official behaviors SDK now. See here for a simple migration guide Updated September 2 2012 with two sample applications &...
Over 1.5 years ago I showed how to store your Windows Phone application state (‘tombstoning’) using SilverlightSerializer by Mike Talbot. In my quest to leve...
Suppose you want to add an event handler, but you don’t know up front which event. Admittedly, this is a bit of an edge case, but I have used it in a behavio...
I suppose this is part of some FM I did not R, but I would like to point it out in case some other sod wastes just as much time on it as me. I embarked upon ...
"If I have been able to see further than others, it is because I have stood on the shoulders of giants." Isaac Newton It was only 1.5 years ago, but it...
The Bing Maps control in Windows Phone 7 is pretty versatile but does not always play along very well with data binding. You can bind ZoomLevel and MapCenter...
In Windows Phone life was so simple: when the user put your app in the background, as of version 7.5 the OS effectively froze all threads, timers and whatnot...
On January 22 I promised this to be a three-part series. I’ve been kinda busy with upgrading apps, Windows 8 experiments and trivial ;-) stuff like code camp...
Preface A little over a year ago I made DragFlickBehavior, a behavior for Windows Phone that makes essentially anything draggable and ‘flickable’, that is, y...
This post was updated substantially at March 31, 2012 Regular readers of my blog know that there are some recurring themes: MVVM, maps and behaviors. I am a ...
With more and more Marketplaces being added to the Windows Phone ecosystem, globalization of your app becomes all the more more important. I am happy to see ...
So here I am, back in the Netherlands, after the MVP Summit 2012, still quite dazed from what hit me. It was my very first summit, and I was not quite sure w...
Since I am a very lazy programmer and I not always want to register or define services and whatnot for showing a simple message I created this extremely simp...
In part 1 of this series I described the basics of creating classes from a JSON string and then simply deserializing the string into a (list of) classes. Tha...
A small quicky this time: Problem: TextBox, Text property bound to a string in my ViewModel I type text in the TextBox I click a “Save” button on my Appli...
Preface The checkbox has been been around in the Graphical User Interface for as long as I can remember doing GUI – since the early 90’s I guess. You know wh...
I’ve been contemplating an article about handling JSON for some time now, but it turned out to be a rather long article. So I’d thought to try something new,...
Note: an update to this article has been written here On New Year’s Eve I can’t help but writing this last bit of 2011: yesterday on a #wp7nl developer’s mee...
This blog turns out not only to be a collection of how-to samples but also a record of my evolution as a Windows Phone 7 developer. At the end of my previous...
Some time ago I blogged about the Safe Event Detachment ‘pattern’ for behaviors and even included a snippet that made implementing this pattern easier. When ...
When I talk of the MVVM pattern, people usually think of business objects that get wrapped by ViewModels which get data bound to a user interface. Usually th...
Last updated November 10 2011 You know that band you used to love when you were in your teens? They really rocked your adolescent years. They rocked like hel...
“There are three kinds of lies: lies, damned lies and statistics” (Benjamin Disraeli) There is a nifty little Windows Phone 7 app out there called “…I’m a WP...
Recently I had my very first real try with the Windows Phone 7 Motion API, using the Simple Motion Sample and the Augmented Reality Motion Sample which both ...
This article was updated October 29, 2011, implementing correctly handling of “back” navigation In a previous post I showed how to use the camera feed as bac...
The Marketplace screenshot tool that came with the Windows Phone 7.1 SDK made life for developers a whole lot easier. But suppose you want to enable users to...
Sorry! No code here as well, but a usability tip. Mango RTM came, the Dutch Marketplace went live, I nuked my HTC7 Pro and finally used my age-old live id as...
Back to business! Although section 5.6 requiring an application to have easily discoverable application name, version information, and technical support cont...
This posting is not about code or anything. Skip it if you are searching for that ;) I had a rotten day yesterday. I was tired from an extremely busy and str...
Some things on Windows Phone 7.5 “Mango” are so easy that it’s almost embarrassing. Like showing a running video of what the camera is seeing on the backgrou...
Apart from all the goodness the new API’s in “Mango” bring us, there is that other great gift that it brings us: Silverlight 4. After spending so much time o...
Updated 25-09-2011 with a new implementation of LanguageSettingsViewModel to make it compatible with SilverlightSerializer. It appeared that every 2nd tombst...
Upgrading stuff to from Windows Phone 7 to “Mango” is sometimes like cleaning your desk drawer before going on a holiday – you stumble upon stuff you forgot ...
It still amazes me when I see people concatenating a long set of repetitive strings with a StringBuilder, adding a separator to each string it, and then remo...
Being a new tech junkie, I of course wanted to try the waters when the Kinect beta SDK was released on June 16, 2011. I thought it best to avoid domestic tro...
Those who are following my twitter timeline cannot have missed the fact that I recently published a little game called “Catch’em birds” for Windows Phone 7 i...
It’s a strange world. Today I needed to debug an iPad’s web traffic, and ended up getting instructions from the Dutch Windows Phone 7 DPE Matthijs Hoekstra. ...
For the past few weeks I’ve been hacking away at my Windows Phone 7 game and noticed something odd. The objective is to intercept moving objects on the scree...
Currently I am in the process of writing a small Windows Phone 7 game . It sports a ‘game over’ panel with a ‘play again’ button and it’s visibility is contr...
This article appeared originally in the March 2011 issue of .Net Magazine – in Dutch. By popular request I wrote this English translation. Regular readers of...
In this post I describe a behavior that will essentially make anything draggable and ‘flickable’, that is, you can drag a GUI element along with your finger ...
Every Windows Phone 7 application must have an Application Manifest file called WMAppManifest.xml. In this you must state title, author, version and some oth...
Recently I had my very first encounter with Sharepoint, and I cannot say it was a pleasant meeting. I was doing a proof of concept for a customer to manipula...
Application Bar Icon buttons are a look-and-feel-wise very consistent and easy to understand way for every Windows Phone 7 application to give it’s users acc...
I seem to be going off-topic a lot these days but I hope you will forgive me for that. My wife has been eying my new HTC 7 Pro quite a lot, especially since...
Some things are so simple that I wonder if I am missing something. I tried to bind a single GeoPosition to Bing Maps’ MapItemsControl ItemsSource on Windows ...
In this article I present ‘my’ base class for Windows Phone 7 Application Pages – essentially nothing more than a collection of utilities to handle common sc...
After my first smartphone – my honored Windows Mobile 6.0 and later 6.1 powered Samsung i780 – I got hooked on smartphones – with a physical keyboard. Don’t ...
If you are moving images around on a Canvas, you don’t want to show them when they get, for example, a negative Y-coordinate – for else they move outside of ...
I’ve said it once and I’ll say it again: ”Thou shalt not make unto thee any Windows Phone 7 application without MVVMLight” Even when using Application Bar. I...
Leon Zandman, fellow member of the Dutch Windows Phone 7 developer community, told me that my MapMania app used too much screen real estate for secondary con...
One of the customizing features of Windows Phone 7 is the accent color, which is used to display tiles and certain user interface elements. Default is blue, ...
<p>Update - if your read this, you might want to read this update too when you are done</p> I admit – I fell for it too. I was a bit too lax read...
I’ve been down this road before but I thought it wise to revisit this subject, since I see a lot of people in the Windows Phone 7 developer community still s...
Almost everyone who has programmed something in C# has created an enum at one point or another: public enum Whatever { Zero, One, Two, Three } You ca...
And now for something completely different – a review of someone else’s examples. I have been reading “WiX- A Developer's Guide to Windows Installer XML“ by ...
Typically, when you are writing Silverlight or Windows Phone 7 applications using the MVVM pattern, your viewmodels expose boolean values indicating somethin...
Recently I had my first encounter with actually writing setups myself using WIX. This is a powerful albeit a bit complex technology that allows you to build ...
My current Windows Phone 7 project requires the possibility of reading configurations from various servers. For the GIS lovers among my audience: I am trying...
Today I noticed something odd. I wanted to swap two elements in an ObservableCollection that was bound to a list box – so I could move objects up and down in...
My previous post, which caused a bit of a stirrup and got me over 1000 page hits on that one page alone in less than 46 hours, led to the question if I could...
As I write this, we are less than 25 hours away from the moment the first Windows Phone 7 devices are released into the wild – in the Netherlands, that is. T...
This article does technically not belong to this blog, for it does not contain any code samples – in fact it does not handle code at all. But since the launc...
The very first Silverlight application I had to make professionally (i.e. not as a hobby/research project at home) required the possibility to open a file fr...
I was creating a little application that had some input fields and a submit button. I wanted the submit button only to be enabled when the user input was val...
As I was (and still am) playing with my MVVM-driven Windows Phone 7 map viewer, I started thinking about tomb stoning and/or serializing stuff into the Windo...
Updated for the RTM tools, included sample application to show how it’s used. For my ongoing ‘research project’ on making the user experience for my MVVM-dri...
<p [R=”[R”></p> <p>Some may have read my foray into using Windows Phone 7 to view maps, utilizing a Multi Scale Image (msi), MVVM Light a...
AKA ‘avoiding the dreaded “Can not register property YourProperty after containing type (YourBaseType) has been instantiated” error message’ Somewhere betwee...
Updated for Windows Phone 7 beta tools! Traditionally, the first application any developer tries out on a new platform is "Hello World". Working wi...
When creating - or attempting to create ;-) - reusable components, it’s common practice to hide the gory details of your implementation – not only on class l...
Recently I tried to make my first attached dependency property and it struck me as odd that I could find a lot of articles on dependency properties – but it ...
If you have been programming since the mid-80’s and have been a IT professional for over 17 years it does not happen often anymore that you get mesmerized by...
So you have been working for a while with CSLA .NET by Rockford Lhotka and now you want – like me – jump on the Silverlight bandwagon. So you want to reuse t...
Update December 23, 2013: this is article is pretty much outdated. Currently it gets a lot of traffic. I hope some people reading it would like to leave a co...
Sometimes you run into a situation in which you have a very similar complex pieces of logic, that only differ somewhere deep inside. This happens especially ...
Apart from ForEach<T>, as I described in my previous post, I noticed the absence of ConvertAll<T> on everything but List<T> as well. Pretty...
I ran into this when I was investigating functional programming in C#. That’s been around for a while, but apart from using it for traversing or modifying co...
Thus speaks Wikipedia: Augmented reality (AR) is a term for a live direct or indirect view of a physical real-world environment whose elements are merged...
Unity, a part of the Enterprise Library, is a great way of decoupling interfaces and implementation, and for opening a road into unit testing with mock objec...
This is not strictly .NET but more of a Javascript trick, but nevertheless, one that you might need. It is a simple trick, and actually requires much more te...
How many times I have tried to find the root path of an ASP.NET page or a handler (ASHX) in order to call another URL I can hardly count. When working with W...
A nice thing I ran into yesterday: if you have a TableStorageEntity child class containing a DateTime property, you have two thing to remember:<ul><...
Elaborating upon the string extension methods I created for compressing and decompressing strings to and from a byte array, it turned out fairly easy to crea...
After some rightful comments by Jarno Peschier I decided to once again look into my blog post about putting compressed object on the Azure message queue and ...
Summary: if you want to use a DataForm, want to put multiple controls in one DataField, and still want Silverlight 3 to generate Label and Description from t...
Today I want to share a piece of very hard won knowlegde with you. That piece of knowlegde is: if you want to use a Silverlight Slider, and you want to get t...
For my current private R&D project I wanted to store ‘task set’ objects (in code samples below as shown type “Request”) on the Windows Azure Queue. To pr...
In my previous post I showed a way to call a service defined with a full path, as created by the designer, relative to that of the location of your XAP, by m...
This post is deprecated and left here for link reference only. See this post or a better way to do this. A small tidbit that I developed when I was followi...
This is extremely easy. Steve Marx points out in a comment on this blog post: To add a Silverlight project to a Web Role project, simply right-click your pr...
I was running into a snag into the situation in which the compiler was accidentally took my local namespace when I wanted it to use the root namespace of CS...
Sometimes the answer is staring you in the face… I was trying to load an image from an URL in code. Imagine the code for that being something like this<pr...
The point of this posting is threefold: I want to show how you can make REST services on the .NET service bus, how you can allow anonymous access to these, a...
In my business cutting images into smaller images is something that happens quite often these days, since tile based mapping systems like Google Maps, Virtua...
Your typical business class utilizing data binding in Silverlight (and possibly WPF too, but I don’t have any experience with that) look like this:<pre>...
Of course, everybody knows that if you want to serialize an object, you need to decorate the class with the [Serializable] attribute. Right? Well, yes, and ...
Die-hard Microsofties may be flabbergasted, but there are people out there using Oracle as a database in stead of SQLServer and - oh horror - are even daft e...
A very short one this time: it turns out to be pretty easy to convert a RGB color to a HTML color and back. This may come handy when (like me) you are using ...
I ran into a situation with the following network topology: The intranet server served PDF documents via IIS, but was only accessible from the WCF server - ...
Unlike ye goode ole ASMX web services, WCF comes by default with security enabled. That’s a good thing: Microsoft now believes in security being integral par...
Microsoft made developing for the Compact Framework relatively easy. Everyone with experience in .NET development can easily take the plunge into mobile deve...
I had a great time today and yesterday at the Microsoft Developer Days 2008 in Amsterdam, where they shared quite a bit of data on Silverlight 2.0. I have be...
Somebody at Microsoft deserves a Nobel Prize. Well, that is maybe a bit strong, but I ran into the problem that I wanted to create JSON scriptserver that wou...
Developing a Windows Managed Service (i.e. a service written in .NET ;-) ) is a lot easier than it used to be, still it can be a real PITA to debug, especial...
A very simple one I ran into today - when you are refactoring things, sometimes old methods are no longer required, but for the sake of backward compatiblity...
Especially in development/demo scenario’s you sometimes need to start an external program. In my case, it was a simple batch file that more or less terminate...
A short one this time, and a rare one too, but taken from real life. Sometimes a web service is implemented in such a way that it only understands http 1.1 o...
Note - I wrote this a long time ago. While the information in this article is still valid, nowadays I would use ASP.NET MVC 4 WebAPI on the server, and jQuer...
Not exactly hot science anymore - most could be distilled from Scott Guthrie’s blog and numerous others, but this shows how you can use new C# 3.0 features t...
C# 3.0 features the new extension methods. This basically seems to allow you to add your own methods to sealed classes. That seems a bit weird, and Microsoft...
Sometimes you want to give web browsers access to web resources that are best not opened indiscriminatly to the world. A good example are WMS servers: you wa...
A very small example this time, but one that can be very time consuming to find out. The basic example I described earlier works fine, but just try to send b...
Master pages are a superbe idea. But sometimes you need to access Master Page properties from the child page. Suppose, for instance, you have a button on th...
The AJAX hype is all around us, and Microsoft provided us with the very neat ASP.NET AJAX extensions and the control toolkit to make things easier. The Updat...