Category C#

Font Awesome Duotone icons in .NET MAUI and Xamarin.Forms

In almost all of my mobile apps, I use Font Awesome to display icons. It’s a huge library and it’s super easy to use in .NET MAUI and Xamarin.Forms. You can even use the ‘Duotone’ icons which have 2 colors… Continue Reading →

Setting up a basic MVVM architecture in .NET MAUI

Intro The MAUI-team seems to be on a roll! We’ve seen multiple preview releases over the last months and with every release the product visibly improves! Last week I installed Preview 12 with the idea of creating a basic MVVM… Continue Reading →

Fixing video file not streaming from Azure Blob Storage on Android

Oh ooh! Video file not streaming on Android… While developing a Xamarin.Forms app, we encountered an issue where an mp4 file wouldn’t play on Android, on iOS everything worked perfectly! To display the video we are using the MediaElement from… Continue Reading →

Multi targeting based on file name in MAUI

The MAUI way: a single Project With Xamarin.Forms, we typically had this kind of project structure: A shared project, containing all of our shared code and different ‘head’ projects for each platform you want to target. This isn’t the case… Continue Reading →

Select TextBox content when tab focussed in UWP

For a LOB application I’m building, one very important request is the fact that users should be able to input/edit data as fast as possible. Allowing users to use the tab key to navigate from one input control to another… Continue Reading →

Accessing UWP APIs from a Win32 application

The term UWP is used for a lot of things: UI (WinUI), the Windows AppModel, Windows Runtime API, Store Apps,…  As I’m planning to keep this a short blogpost, I’m not going to discuss this here 😀 For sake of… Continue Reading →

Reading Belgian eID in UWP using SmartCardReader

I couldn’t find any samples to read a Belgian Electronic Identity Card in a UWP application. With the DeviceInformation and SmartCardReader classes it is very easy to access the devices/readers connected to your PC. But how do you get information… Continue Reading →

A fixed and always expanded CommandBar in UWP

Is it possible to show a CommandBar in UWP that… …is always expanded and fixed so the label of your AppBarButtons are always visible …has no ellipsis button to open or collapse it Yes, it is! I had to achieve… Continue Reading →

Gotcha: opening default app for file in UWP

Doing UWP development, when you’ve been doing WPF/WinForms development for years, can cause some confusion sometimes. A colleague of mine got stuck when trying to launch the default application for a particular file he generated in code: var file =… Continue Reading →

Simple data validation in Xamarin Forms

In this post I would like to share how I’ve implemented user input data validation in Xamarin Forms. Over the years I’ve tried a few approaches, some with success, others without. This one is an implementation I’ve used in my… Continue Reading →

« Older posts

© 2023 Pie Eating Ninjas' Blog — Powered by WordPress

Theme by Anders NorenUp ↑