Category Archives: Essentials

Xamarin Best Practices

In a recent blog post, I showed the C# best practices we use at my current placement. Today, the Xamarin best practices: Xamarin 🐒 Best Practices The Do’s 🙌 👍 Catch XAML Errors Early Add the following attribute to code … Continue reading

Posted in Essentials | Comments Off on Xamarin Best Practices

Mads Torgersen! C# 9 & Beyond

Microsoft’s Mads Torgersen– Lead Designer of C# — talks about how to know when to use the new features in C# 8 and 9, and more. Photo credit: Jesse Liberty

Posted in C#, C# 9, Essentials | Tagged | Comments Off on Mads Torgersen! C# 9 & Beyond

Covid, False Positives & Bayesian Probability

This is a repost from 2009. It talks about breast cancer, but applies equally well to Covid testing, given the high percentage of false positives (not to mention the more worrisome false negatives). We simply are not wired well for … Continue reading

Posted in Essentials | Comments Off on Covid, False Positives & Bayesian Probability

New site for my writing

I’ve created a site for my non-technical writing. Check it out.

Posted in Essentials | Comments Off on New site for my writing

MonkeyCache step by step

The amazing James Montemagno of Xamarin/Microsoft has done it again. He has created an incredibly simple cache, named MonkeyCache, that you can get up and running very quickly. In this post I will walk through setting up and using the … Continue reading

Posted in Essentials | Tagged , | Comments Off on MonkeyCache step by step

DataTemplateSelector

Suppose you have a collection of items and you want to display them in a ListView (Xamarin.Forms). The catch is that you want to change the display of each item depending on its state or some other code-based attributes. At … Continue reading

Posted in Essentials, Xamarin.Forms | Comments Off on DataTemplateSelector

C# 9 Part 3 – Patterns

Jared Parsons – lead of the C# Compiler Team at Microsoft C# 9 Roadmap Jared – LinkedIn Welcome to C# 9

Posted in C#, Essentials | Tagged | Comments Off on C# 9 Part 3 – Patterns

An Alert From the ViewModel

Quite often we want to send an alert from the view model, but you can only do so from the view. We’ve tackled this problem in the past but we think there is room for a simplified and clear step … Continue reading

Posted in Essentials | Tagged , | Comments Off on An Alert From the ViewModel

Code Snippet – By request

Code Snippets can save you from repetitive (boring) tasks. Visual Studio comes with a great many code snippets, perhaps the most often used is ctor which creates an empty constructor. You can also create your own. Here is one I … Continue reading

Posted in Essentials | Tagged | Comments Off on Code Snippet – By request

Picker within Listview

We needed to put a picker inside a list view in a Xamarin.Forms app, but we wanted to be notified when one of the pickers changed and be able to get the value from the picker (and know which one … Continue reading

Posted in Essentials, Xamarin | Tagged , | Comments Off on Picker within Listview

Xamarin.Forms Shell

Focus on Xamarin.Forms Shell – the new way to create great Xamarin.Forms applications. We go in-depth with Shane Neuville, a Senior Developer on the Xamarin.Forms team. Shell Forms IntroductionProject BoardXaminalsXappyShell Login SampleGastropods

Posted in Essentials | Tagged | Comments Off on Xamarin.Forms Shell

Mark Price – C# & .NET Core

Mark Price, author of C# 8 and .NET Core 3.0 Modern Cross Platform Development talks about… well about everything .NET A fantastic exploration of what is new in C#, .NET Core, Blazor, and much more,

Posted in .NET Core, C# 8, Essentials | Tagged | Comments Off on Mark Price – C# & .NET Core