Issues » #440

#440 – February 06, 2023

How to Tame the Asynchronous Nightmare

You’re an intermediate dotnet programmer and you mostly know your way around using Tasks. You sprinkle async and await through your code, and everything is working just as expected. You’ve heard time and time again that you always want the return types of your asynchronous methods to be a Task and that async void is essentially the root of all evil. No sweat.

How to Style Apps with CSS in .NET MAUI (sponsor)

Applying styles to our applications helps us save code by allowing us to reuse different properties in one or more than one visual element without the need to repeat it. In this article we will go through all the necessary steps for you to learn how to add styles with CSS to your .NET MAUI applications!

Generating Sample Data with Bogus

Bogus is a library that works with C#, F# and VB.NET that can be used to create repeatable, fake data for applications. It is somewhat a port of a similar library Bogus.js. It accompished this by creating generators (called Fakers) that have a set of rules for generating one or more fake objects.

Register MAUI Views and ViewModels with Scrutor

In this post, I’ll show you how to use the packages CommunityToolkit.Mvvm and Scrutor to quickly register your XAML views and the corresponding ViewModels for a more convenient approach.

My experience with migrating my app from Xamarin.Forms to .NET MAUI

I’ve been eager to rewrite some of my personal apps from Xamarin.Forms to .NET MAUI, but since all of them are dependant on map functionality, I had to wait until the arrival of .NET 7, since the .NET 6 release of MAUI didn’t ship with map support.

ASP.NET Razor Pages Fragments / Single View approach

Will the single view approach work with ASP.NET Razor Pages instead of MVC Views and Controllers?

C# Tip: do NOT use nameof to give constants a value

In C#, nameof can be quite useful. But it has some drawbacks, if used the wrong way.

newsletters

Join over 25,900 readers for a free weekly email with fresh news, articles and tutorials.