Empty Commit in Git: Great for Triggering CI

The other day I was working on some continuous integration with a Git repository and Azure DevOps. Wanting to test some changes I actually needed to commit something, but I didn’t want to add a space to some Markdown file or something. As it turns out, you can create empty commits in Git which will … Read more

Visual Studio for Mac Run Configurations: Running Multiple Projects at Once

The other day I was doing a live stream with Luce Carter. While doing so I actually learned a thing myself about debugging multiple projects at the same time. You can very easily set this up in Visual Studio for Mac with run configurations. I decided to write it up so you can benefit as … Read more

Null Pointers: Your Opinionated Podcast on Development, Tech and Every Day Struggles

After bumping into each other a few times at conferences and in the virtual world Mark, Steven and myself decided to start a podcast. We proudly present to you: Null Pointers. Being developers ourselves means we cover development topics most of the time. Still, we don’t shy away from moving outside of our little comfort … Read more

Clearing downloaded Source Link cache for Visual Studio for Mac

Xamarin.Forms has support for Source Link for a while now. With Visual Studio for Mac you can now dive into the Forms NuGet (or any NuGet that support Source Link of course) and debug code that you didn’t even write! Although it should never happen™, there might be times where you need to clean the … Read more

iOS and macOS Dark Mode Dynamic Colors Overview

While working on adding the integration of Dark Mode on macOS into Xamarin.Forms, I found that there wasn’t an overview for all the Dynamic Colors. I probably just missed it somewhere, but I decided to create my own anyway. This will be a rather post, it’s mostly just a reference (for myself) to have a … Read more

Test Xamarin.Forms bugfixes by downloading PR NuGet packages

As part of the Xamarin.Forms open-source nature the builds are also accessible for you to see. While the advantages are more than one, two really stand out. First, as a contributor, you can now see how your changes integrate with the rest of the code. Second, as a user, you can access the artifacts of … Read more

My First Challenge: Join the Xamarin + Cognitive Services Crazy Combo Challenge!

The “challenge” concept has been around for a few years now at Microsoft. Basically what happens is Microsoft provides you with a pre-built solution in the form of some sample application. From there it is up to you to let your mind go free and implement more awesome things. This challenge is no different, apart … Read more

“appname.app is damaged and can’t be opened. You should move it to the Bin” error on macOS Catalina

Since macOS Catalina I came across the error “appname.app is damaged and can’t be opened. You should move it to the Bin” while running Xamarin.Forms reproductions for macOS apps. This is due to the more protective measures that are implemented. In this post I will tell you a little bit about it and more importantly; … Read more

Databinding Scope in Xamarin.Forms

A question I have seen coming by a lot is: how to trigger a command from the ContextAction on an item in the ListView. While it seems straight-forward, implementation can be a bit tricky. This has everything to do with the databinding scope. This post will give you some background and show you how it’s … Read more

Custom Vision, Xamarin.Forms and Simpsons – The Community AI Show

This week I had the honor of being the first guest on the Community AI Show with Henk Boelman, Cloud Advocate at Microsoft. In this first episode we look at how we can use Azure Custom Vision in a Xamarin.Forms app.

Custom Vision Simpsons Recognition

Our demo app can recognize Simpson themed LEGO figures. The model is trained through Azure Custom Vision. From there, you can either communicate with the available REST APIs, or export the model to CoreML, TensorFlow or ONNX.

These models can then be loaded into iOS, Android or UWP respectively. Because these models reside on your device locally, you do not need an internet connection and the results return super fast!

Watch Henk and me have some fun while building this solution in the video below. You will learn how to train your model, the global structure of a Xamarin.Forms app and what routes you can take to use this platform-specific feature in a Forms app.

Spoiler alert: use this amazing plugin by Jim Bennett to make your life a lot easier.

Custom Vision, Xamarin and Simpsons - The Community AI Show

All the source code for this app can be found on my GitHub page. If you want to get started with Custom Vision yourself, go and check out customvision.ai.

More Resources

If you can’t get enough of all the AI goodness, I have also recorded a video course on the Azure Cognitive Services and how to use those. You can find that here.

On my YouTube channel you can also find a session where I incorporate the Cognitive Services in a Xamarin.Forms app. While you are there, don’t forget to like and subscribe!

In Closing

Please let me know what you think of my appearance in the AI show or all the other resources mentioned in this post. If you need any clarification on anything mentioned in this post, I’m planning to write some more extensive posts about using the CoreML and TensorFlow models in your Xamarin app. Reach out if there are specific things you want to read in there.