Jim Bennett

Senior Cloud Advocate at Microsoft, Xamarin Certified Developer, author of Xamarin In Action, blogger, speaker, father and lover of beer, whisky and Thai food. Opinions are my own.

  Redmond, WA, USA

My book:

Xamarin In Action

Contact me:

  Xamarin In Action
  Twitter
  GitHub
  LinkedIn
  YouTube
  Email
  CV

Let your family know you are in meetings with an IoT Busy light

Like a lot of folks at the moment, I'm working for home and my child is off school. For those reading this in the future and wondering why, I am currently living in the time of the COVID-19 pandemic and worldwide toilet paper shortages. One of the upsides of working from home, especially when my 7 year old is off school is that I am available mos…

Read More

Streaming Serial data using an MXChip

The MXChip board has 2 serial ports - one using the USB which is great for debugging, and one you can use to stream data from third party modules. This article shows you how! TL;DR - connect the TXD on the module to 1 on the MXChip, RXD to 2, then create a new Serial using UARTClass Serial1(UART_1); You can then call this in the same way as the Ard…

Read More

Controlling an IoT device from your phone

I've just finished watching the latest episode of Five Things, where Suz Hinton talks with Burke about Goo Goo Clusters and IoT devices. One of the devices Suz showed was the Azure IoT DevKit - an arduino compatible board made by MXChip that works beautifully with Azure, even down to having an Azure LED on board to show when it is connected. Thi…

Read More

Debugging multiple Azure Functions apps at the same time

Dentists don't want you to know these 5 tips that show how easy it is to run multiple Azure Functions apps locally and debug them all at the same time! Number 3 will shock you! Enough ClickBait nonsense, on to the post. I recently built a demo app that has two Azure Functions projects in it - one using the new V2 Functions runtime and written…

Read More

What the @ - fixing weirdness in return JSON from Azure functions using F#

I've been playing a lot with F# recently, both to build Xamarin apps using Elmish.XamarinForms and for some Azure Functions. Whilst building an HTTP trigger I came across some weirdness when serializing a record type to JSON. This is the relevant parts of my code: type Output = { TotalBalance : float } let Run(req: HttpRequestMessage, boundTable:…

Read More
 

Raspberry Pi cloud-connected Hat Cam

This project builds a wearable, cloud connected camera. This is useful in situations where you want a record of what the camera sees stored in the cloud as quickly as possible. Make sure you use this in compliance will all applicable laws and privacy considerations.…

Read More

Let your family know you are in meetings with an IoT Busy light

Like a lot of folks at the moment, I'm working for home and my child is off school. For those reading this in the future and wondering why, I am currently living in the time of the COVID-19 pandemic and worldwide toilet paper shortages. One of the upsides of working from home, especially when my 7 year old is off school is that I am available mos…

Read More

Streaming Serial data using an MXChip

The MXChip board has 2 serial ports - one using the USB which is great for debugging, and one you can use to stream data from third party modules. This article shows you how! TL;DR - connect the TXD on the module to 1 on the MXChip, RXD to 2, then create a new Serial using UARTClass Serial1(UART_1); You can then call this in the same way as the Ard…

Read More

Controlling an IoT device from your phone

I've just finished watching the latest episode of Five Things, where Suz Hinton talks with Burke about Goo Goo Clusters and IoT devices. One of the devices Suz showed was the Azure IoT DevKit - an arduino compatible board made by MXChip that works beautifully with Azure, even down to having an Azure LED on board to show when it is connected. Thi…

Read More

Debugging multiple Azure Functions apps at the same time

Dentists don't want you to know these 5 tips that show how easy it is to run multiple Azure Functions apps locally and debug them all at the same time! Number 3 will shock you! Enough ClickBait nonsense, on to the post. I recently built a demo app that has two Azure Functions projects in it - one using the new V2 Functions runtime and written…

Read More

What the @ - fixing weirdness in return JSON from Azure functions using F#

I've been playing a lot with F# recently, both to build Xamarin apps using Elmish.XamarinForms and for some Azure Functions. Whilst building an HTTP trigger I came across some weirdness when serializing a record type to JSON. This is the relevant parts of my code: type Output = { TotalBalance : float } let Run(req: HttpRequestMessage, boundTable:…

Read More