IoT (2) Intel Galileo

At the last //Build conference they spoke about Windows on a Intel mainboard. Intel developed a chip which was capable of running Microsoft Windows. The board is a Intel Galileo. In fact it is a Arduino board so the available Arduino components (of which a lot is available) can be used with it.

The Arduino development environment is shown below. The code is C / C++. The example will make the onboard led blink.

30-8-2014 19-20-31

I wanted Windows on it of course. Therefore I had to perform a firmware update. The Arduino development environment is fairly simple. It is copy/paste of a directory with everything in it. It also contains the Firmware update.

19-8-2014 22-23-47 

To get Windows for the Galileo board, you need Microsoft Connect access to the Windows Embedded Pre-release program. Via these pages on GitHub they tell you the steps to install.

Below the process of installing on the SD card.

19-8-2014 21-15-34

WP_20140830_005 - Copy

When ready you need to place the card on the  Galileo board. The Galileo watcher app will show him (if it is connected via USB/Ethernet).

30-8-2014 13-26-08

There is a little Webserver with this Windows too.

30-8-2014 13-25-48

You can create a network share and it will show you the files.

30-8-2014 13-26-58

The directory of the web server. I have changes some text here.

30-8-2014 13-30-57

The directory where the deployments will be done.

30-8-2014 13-27-17

Ok, now we have Windows on it. Lets build something. For .NET Gadgeteer was it simple. With this it will be a little different. There is a Visual Studio 2013 project template for C++.

30-8-2014 13-35-50

For this demo I did not use the onboard led, but I added a led to the board. Via code I will make it blink.

30-8-2014 13-39-06

Does not look difficult. And if you run and debug it, it will show in je Visual Studio.

30-8-2014 13-39-16      

And the led will blink. The red led on the second picture is brighter.


But lets take it a step further. I also bought a 16×2 display for showing texts.

30-8-2014 13-29-40  

Connecting it is less elegant than with the .NET Gadgeteer platform. You need a breadboard and lots of cables to make connections.


But the result of the code is visible. On the screen i++ iterates.

Cool he. I need to experiment more with it. There is a lot of things possible. Although I have to refresh my C++.

Posted in dotnetmag, Gadget, Gadgets | Leave a comment

IoT (1) .NET Gadgeteer

Internet of Things has gain interest over the pas months/years. Not that strange, because the world is becoming more connected everyday. Everything and everyone is connected on every spot on this globe. On vacation in the early days you send postcards to the ones left behind. A vacation was getting away for real. For a long time there were no Dutch newspapers in foreign countries, so news from the home country was also blocked during the vacation.

But now everyone has a mobile and tablets. Almost everywhere we have internet and we keep each other posted over the internet via Twitter, FaceBook, mail or other media.

Not only humans are more connected, even devices are connected. Most cars have a button to call the garage if there are problems. Your mobile is connected to a satellite for its location. This will expand over time. We already have a lot of sensors in our house to automatically heat or cool down our homes. With current home automation we can control from a distant our lamps in house. Our refrigerators will get sensors and put a order if the stock is low. Smart watches will check your heart and your health. Perhaps in the future it will contact a ambulance or a doctor based on spikes in your measurements. Lots of other applications will come.

All those things have to be programmed. Previous we used electronic circuits etc and low level programming languages. But nowadays we want to do it more easier. If possible with languages we already use. It will make it cheaper in the end.

There is something like .NET Gadgeteer. This is a set of modules and a motherboard to create and try out an idea. This is programmed with the .NET Microsoft Framework and makes use of Visual Studio 2010.


The designer is very WYSIWYG. You drag a component on the canvas and clicks on connect, it will show how to connect the component to the motherboard.

30-8-2014 17-31-39

In code via intellisense you get the methods on the component. Everything is done with C#, so pretty comfy. You can deploy it and run it on the motherboard.

30-8-2014 17-32-30 

Also debugging and trying your solution.


The .NET Micro Framework is very old. The successor is Windows Embedded. It needs different hardware. Hardware which runs Windows in some form.

In my next blog post I will tell about the Intel Galileo motherboard which runs Windows.

Posted in dotnetmag, Gadget, Gadgets, Visual Studio | Leave a comment

Bing while coding

Every developer does it, during developing you search the for tips and tricks. In the last couple of years the number of resources on the internet is grown. Help, tips and code example can be found on many forums, MSDN, CodeProjectStackOverflow and many many other places. It is impossible to know them all or to have them in a list or so. So we use our favorite search engine get the help we need. We have to leave the comfort of Visual Studio. You start a browser browser and search. Since a few weeks there is a handy extension for Visual Studio available. With this you can stay in your development environment.

30-8-2014 14-27-33

Do yo have to something special during coding? Nope, it works automatically. You start typing your code and the intellisense kicks in (or press ALT+space). The results of the intellisense are extended with Bing search results.

 28-8-2014 06-57-38

How handy! So besides the standard documentation you see the code examples from the community.

If this still not gives enough information or you need to start a different kind of search, in de menubar a searchbox added. Type hre your question and in your Visual Studio the results will show in a handy and clear view.

 28-8-2014 06-58-43

 28-8-2014 06-58-53

28-8-2014 06-59-03 

Not everyone has full internet during work. Demo and code examples can be placed on a local location and it will serve as source for the Bing Visual Studio tool.

30-8-2014 15-36-07

How handy! In this way you don’t need to switch context during coding. You can stay in the flow.

Happy coding!

Posted in dotnetmag, Tip, Visual Studio | Leave a comment

Surface Pro 3

Today my Surface Pro 3 (i7 with  256 Gb disk 8Gb memory) finally came. I looked forward to its arrival for a long time and I am very curious about the differences.


And the differences are big. First the screen is 12 inch, 2 more than the previous Pro’s. Also the ratio of the screen is different (2:3) and therefore also the resolution (2160×1440). The pen has a battery in it. The Surface Pro 3 can bend in more steps than the previous ones. The first had 1 position, the second had two en the third has multi. I am very curious how it will hold on the real world. The power supply of the Pro/RT 2 and the 3 are not interchangeable. The connector on the Surface is really different, old one did not work perfect in real life.

If you stack the Surface Pro 2 and the Surface Pro 3 you see the differences in size. On the picture the bottom one is my Samsung Ultrabook of 13 inch. Compared to the size Surface Pro 3 could replace the Samsung.


Thickness is quite obvious. The Samsung looks smaller by the way is was designed.


There is quite a difference between the Pro 2 and the Pro 3.


Also in weight. Disclaimer it is not a calibrated scale, it for illustration only.

Surface Pro 2


Surface Pro 3


Samsung Ultrabook


Coming weeks I will try to use my Surface Pro 3 as my daily machine. Lets see how it stand up in the heat compared to the Samsung (which my workstation at this moment) and the Surface Pro 2.

I will keep you posted. Soon the dockingstation will come too. Another workstation added to the collection ;-)
Posted in dotnetmag, Gadget, Surface | Leave a comment

Microsoft Project Siena

This Windows 8 app is available for some time now. This app makes it possible to create powerful Business apps and publish it without writing one line of code. More information can be found on Microsoft Project Siena site. It sounds great. Business users who click their own apps together to simply their own work.

3-8-2014 15-04-48

Sounds very interesting so I wanted to try it myself. After starting the app, you will the screen below. An empty screen on which you can add Visuals. It is recommended to look at some of the tutorials. Personally I found the flow, workflow or the way the app work not very intuitive. Well, we start with a empty window.

3-8-2014 15-05-03

Business apps are interesting if they show data. Data comes from a Data Source. By a right click or swipe down you get the meny on top. In this menu the standard file functionalities, adding data and adding new screens. On the right there is a Preview button.

 3-8-2014 15-05-32

With App data you can those from multiple standard data sources. For some connections you need a developers account or connection data. For example Yammer, FaceBook, Twitter etc. In my example I use a RSS feed.

 3-8-2014 15-06-27

After clicking on Import data, Siena tells you the data source was connected.

 3-8-2014 15-06-38

There is also an example of the data the source provides. You need more data sources? Just add more sources.

 3-8-2014 15-07-05

On the windows we need something to show the data. To do that click on the Plus sign at the right side. There is a list of many possible controls. For my demo I choose from the Galleries the Text Gallery. This contains a combination of fields etc, which limits my work for design ;-)

 3-8-2014 15-07-57

At the bottom a menu pops up, you can choose the wanted data source. For my App the data source is RSS_1. On the window the data changes to the data from the source. The default does not show the correct data as I would like it. The first row shows the tags of a Blog item etc.

 3-8-2014 15-08-07

This can be changed very easy. You select the field and choose from the menu below Text. There a list of all available fields form the data source. Just check the correct field.

 3-8-2014 15-09-20

 3-8-2014 15-09-42

Done this for all the fields. I also added a picture of my Gamestag and some text. To run the app choose Preview from the meny at the top.

 3-8-2014 15-19-46

Your app will show. Which look in my case like..

 3-8-2014 15-19-55

Super easy. If your app needs more page, just add more windows. In your windows you can add navigation. How to add parameters is not clear to me yet..

Resume: I think this is a great start. Although there schould be done to the user interfacee, but it is a start. In the keynote of Microsoft Partner Conference there was a demo of the next version. I also hope there comes some possibilities for security or possibilities for Enterprises to add their own data sources. Those Enterprises want to expose their ERP systems or other internal data sources but keep it secure and controlled. Business users making their own apps is not strange, but it should be a little controled. By the way 15 years ago Excel and Microsoft Access were used by Business users a lot and it went out of control in some Enterprises.

I am curious for the next version and which data sources are added. Keep you posted!

Posted in dotnetmag, Gadget, Tip, Windows 8 | Leave a comment

Visual Studio Editor TIP

A few days ago I had to adjust a text file. I needed it for testing with BizTalk whatsoever. In the Text file I needed to remove some columns and replace it with something else. Not sure what is was, but with Visual Studio it was a peace of cake.

Normally I use Notepad or Excel for this sort of action. I known there are other tools like Notepad++, but this is not installed on all my machines. NB That should be synced to in Windows 8.

Anyways, the Visual Studio editor has a lot of handy features.

Assume this text file, it is a dir listing.


To remove the first columns, put the cursor on the first column and press the ALT key. That is way easier than SHIFT ALT arrow right and repeat this for every line.


Press delete and the columns are gone.

To add some Text is done similarly. Cursor on the first column and press the  alt key, move your mouse straight down en start typing.


Handy, more later.

Posted in dotnetmag, Tip, Visual Studio | Leave a comment

Kinect for Windows V2 – Sensor

Probably you have already heard or read about it. In our SDN event in March we had a session and in our SDN magazine 120 there was an article, both by Dennis Vroegop and based on the Developers preview kit.

In the meantime a lot is changed. The accompanied SDK has changed a lot and almost weekly there are new features. There is a public preview SDK available. After the installation of the SDK you get these apps:

  • Gesture Builder
  • Kinect Studio
  • SDK Browser (examples)

18-Jul-14 11-18-26

But without a device the SDK is not very useful, since 15 July the Kinect sensor is available via the Microsoft Store.

18-7-2014 11-30-36 

The differences with the Developer preview are:

  • The sensor comes in a nice box ;-)


  • The connector and power supply are much better designed. The lower block makes the connection between your sensor and your PC (USB 3), with the Developer Preview this part was bigger and not styled at all. Theoretical you could use the Kinect for Windows v2 sensor on a Xbox ONE, which is not allowed by the way. The other way around is not possible, the sensor-to-usb unit is missing.


  • The camouflage stickers are removed of course ;-). Compared to the Xbox ONE sensor the XBox logo and the XBox text on top are removed.


I got my pre-ordered retail version, I am curious when the Developer Preview version will be replaced with a ‘real’ Kinect.

In later Blog posts I will talk about the SDK and examples.

Posted in dotnetmag, Gadget, Gadgets, Kinect, Windows 8 | Leave a comment

Windows Phone 8.1

Soon a nice update will come to your Windows Phone 8: Windows Phone 8.1. This update contains a lot of UI updates but also additions like other platforms know.

It will be possible to have a background picture. This picture will show in the icons with a transparent picture.

wp_ss_20140124_0001 wp_ss_20140419_0002

On Android and Apple platform there is a notification center. On these devices you swipe from the top down and you get a overview of all notifications. Here you can see al text messages, Whatsapp, mails or other notifications. This will come to Windows Phone too. I am using it for while and you get used to this very quickly.

wp_ss_20140419_0001 wp_ss_20140419_0006

The agenda on a Windows Phone is much better than the competing platforms. But with the coming update they make an extra step forward. As a business user of a Windows Phone you will enjoy this very much.

wp_ss_20140419_0004 wp_ss_20140419_0005 wp_ss_20140421_0001

The biggest feature is Cortana. On a iPhone you got Siri and on Windows Phone we have Cortana. Game fanatics will recognize the character from the Halo Games on XBox. At this moment Cortana is only available for US English.

You can joke with it. Ask Cortana to sing or to tell jokes or ask for advise. During the Soccer WK 2014 she also showed to know a lot about soccer and do some predictions. Powered by Bing.

wp_ss_20140525_0001 wp_ss_20140525_0002 wp_ss_20140525_0003

But there a lot of serious use cases. You can tell her to remind you at a certain moment. As a real PA (Personal Assistent) she will remind you of your task.

wp_ss_20140525_0004 wp_ss_20140525_0005

A great update. Let hope the mobile providers will push the update to you all.

PS The screenshots are made on a Nokia Lumia 1520.

Posted in dotnetmag, Gadget, Gadgets, Windows Phone | Leave a comment

DevOps session by Richard Campbell

On 26 May Richard Campbell was at Prodware Benelux in Rijswijk. Jarkko of the The Software Architecture and Project Design The Hague organized this presentation. It was a great event and Richard Campbell proved once again he is a great speaker.

The session was recorded and can be watch via YouTube.

Posted in DevOps, Events | Leave a comment

Scheduled Jobs Azure Websites

Do you need a schedules job on Microsoft Azure Website? For example to copy files to another location or do some sort of background task? Till now the Azure specialists always told you to go for Cloud Services. Within Cloud Services in a different thread you could do you jobs etc.

25-5-2014 15-44-16

But now there is the availability of webjobs on Microsoft Azure websites. These can be run according to a schedule. That helps a lot.

Posted in Azure, Cloud, dotnetmag | Leave a comment