A Blazor Blog and CMS in 5mn with Notion
I've setup the vapolia.eu website so its using Notion as its Content Management System (CMS). I will explain how to setup yours in 5mn.
❓ Why Notion
Notion started a new generation of wysiwyg editors, cloud connected, working offline, with a folder-tree like structure, and an infinite redo/undo stack along with automatic history storage.
A Notion space is made of pages. There is not real folders: a page can "contains" other pages. It is still a page where you can add any content - text, video, code blocks, tables, ... - but in Notion's terminology it is called a collection.
You can not format the content as you like. Instead Notion provides a set of limited predefined styles. By not loosing time formatting things, you are using this time to make your content more valuable. And that is the real power of Notion.
Xamarin Forms Secret - Using vector images
Images are an important part of the UI of a mobile app. Because there are lots of different mobile phones, all having very different screens - width, height or pixel density - using images made of pixels (called "raster images") is often a bad idea to get a great result.
I'm gonna tell you why it's very important to use vector image. I will first give you advices of when to use raster or svg images, then i will show you how to easily use vector images (SVG) in your apps on iOS, Android and Windows UWP.
When to use vector images, or not
Raster images are made of pixels. For example, 4K images contains 3840x2160 pixels. In terms of memory it requires 7.9MiB. If you are displaying 10 images in your app, it will use 79MiB of memory. Often apps are limited to 256MiB of memory on low end devices. So displaying 10 raster images will require a lot of memory allocation and CPU while loading, which will slow down the device and your app.
Secret feature❣ Xamarin Forms control's auto registration
Creating a good Xamarin Forms control - Part 3 - UI Day 4
In the previous article I proposed the foundations of a win-win architecture for a good Xamarin Forms control using a multi targeting project.
Today I am presenting a way to create a control with a renderer that auto register itself, greatly simplifying the control's usage in teams, but also its documentation and its maintenance.
Creating a good Xamarin Forms Control - Part 2 - UI Day 3
The art of creating a good control
In the previous article I explained what makes a good control and where to find some. In this article i propose the foundations of a win-win architecture for a good Xamarin Forms control.
VSCode success: manage Windows Server 2019 (Core) remotely
Windows server core can be managed remotely easily using VSCode capabilities, thanks to its built-in filesystem feature.
From Remote coding to Remote management
VSCode is a great open source success. It has become a must have application in a few years of existence. Tons of developers have created tons of plugins, from Python development to edition of Yaml configuration files (with "intellisense", Microsoft name for auto completion + syntax highlighting + go to definition), there is a plugin for everything (coding, analysis, powershell, bash, ...). VSCode is so fast that it nicely replaces any text editor, including notepad. Thank you Microsoft!
Creating a good Xamarin Forms control - UI Day 2
The art of creating a good control
What is a control (or component)
Do you remember the joy when you were playing lego in your young years ? With small lego parts you can build your most wanted star wars ship. You don't build the lego parts though, you buy them.
It's the same for software components, also called controls. They are well builded, polished piece of code solving a problem; and they can be easily plugged into your app. They bring you value, and if they fit your needs out of the box, or if you are a little weak on coding (lots of us are), they will save you a lot of time.
Using native wheel picker in Xamarin Forms - UI Day 1
Have you ever remarked the gorgeous wheel picker used in lots of AppStore apps? Did you ever wanted to use it in the Xamarin Forms project of your customer so you can hear Ohhs and Ahhs from your work? Did you feel bad when you discovered this control does not come out of the box of Xamarin Forms, and no-one seems to have created one on github, and that finally you decided to put an horrible list picker instead ?
On Apple's world, the wheelpicker is a well documented, not easy to use, but so cutely designed UI control from which the user can quickly and intuitively select linked values, like a date : a birth date, a driver license's date (month day year values); or a vehicle's details (brand, model, year) for examples. You can also use it to select a single value in an easy way, even in a large list, thanks to the "flying" acceleration feature, simulating the inertia of a heavy wheel that you spin with force. In this last case, the addition of a search or filter input could also have some benefits.