Category: Uncategorized
-
New C# 9.0 features – Record Types, Init Only Setters, Pattern Matching
by
I’ve recently added a quick series of videos on new C# 9 features available in .NET 5. You can find them below. Looking forward to using these!
-
UWP and Xamarin Forms – How to display your app’s version number
by
Assume we want to automatically show the version number of your app in your UI, for example, the settings page or elsewhere. Your version number will normally be updated by your CI/CD system (updating Package.appxmanifest for UWP and AndroidManifest.xml for an Android Xamarin app). Create a property to bind to ViewModels and how they bind…
-
EF Core Migrations – creating Indexes Online depending on SQL Server edition
by
I recently hit the classic case of trying to add Indexes to a large table. Whilst Entity Framework Core supports creating Indexes online during migrations, not all versions of SQL Server support this. In the case that your migration contains the code: migrationBuilder.CreateIndex( name: “IX_TableName_ColumnName”, table: “TableName”, column: “ColumnName”).Annotation(“SqlServer:Online”, true); This will fail hard on…
-
Better git and other Linux based command line tools on Windows 10
by
One fantastic new feature in the latest version of Windows 10 is an add on you can install that allows you to use an Ubuntu-based Linux distribution natively in Windows. This opens up a whole new world for developers on Windows, including access to the same class of Git and SSH tools that are available…
-
An ode to Surface 3
by
It is increasingly looking like the Surface 3 is going to be discontinued. Microsoft is running out of stock on the 128GB / 4GB RAM model. Third party vendors are heavily discounting it, suggesting a clearance. The biggest sign of its demise is that Intel are simply going to stop making the quad-core Cherry Trail Atom processors…