What I've learnt in the technical world
Offsite backup with Unraid, Tailscale, Backrest/Restic and Tailvault (Updated)
Restic and its companion UI Backrest already allow you to back up to many different locations. However, getting it setup to back up from one Unraid NAS to another might not be straight forward. Here…
Dev Drive and Dotnet Tools
I recently tried out Dev Drive of Windows 11, where a ReFS partition can be created for your code and packages. It went smoothly and most of my projects were built successfully until it came to my…
New country and a new PC
It has been a while since I last published a new post here. I still have quite a number of drafts lining up, but has never managed to come around to finish them. Probably I should restart writing…
Delegating authentication in ASP.NET 5 (or Core 3)
Most web applications nowadays need some authentication mechanism to differentiate their users for various levels of personalization. However, user authentication tends to get more sophisticated due…
Javascript Module Loaders
Javascript has a long history with so many changes over the years. One area that has so much improvements yet might still be so confusing is its support for modularization. This blog post discusses a…
Logging in Xamarin with Serilog
This article introduces briefly the design of the logging infrastructure in general. Although some part of the article is written in the the context of Xamarin with MvvmCross , Serilog is available…
Utilizing HTTP response status code for your API
If you are building REST API via HTTP, your status codes should assist clients on choosing what to do next, even before the client read the response body or headers. Below are some conventions that I…
React & ASP.NET Core
Update 08 Sep 2019: since Microsoft has officially announce the deprecation of aspnet-webpack package in .NET Core 3.0, you might not want to use the code in this blog post directly in production.…
What I've learned moving from Azure WebJobs to Azure Function Apps
Updated: some previous of the content in this post is no longer applicable when you upgrade Microsoft.NET.Sdk.Functions to version 1.0.26, so I have added some notes and sections on that.
Azure Notification Hub SDK on .NET Standard and WNS Raw notification
Update (3 Oct 2018) : Thanks to the beloved-by-community Jon Galloway, I can finally connect with the engineers working on the library. Hopefully, the team can push out a fix soon. Update (13 Oct…