Issues » #425

#425 – July 25, 2022


8 Very Useful Markup Extensions in .NET MAUI

In this article, we will explore eight of the most used markup extensions so you can take advantage of them in .NET MAUI! Check them out.

this week's favorite

5 tricks every C# dev should know about LINQPad

LINQPad is one of my best friends: I use it daily, and it helps me A LOT when I need to run some throwaway code.

Using IAsyncEnumerable in a Razor component

IAsyncEnumerable is a new interface that is used to fetch asynchronous data. For instance, you can use it to fetch data from a paginated REST API. Indeed, you will need multiple async http requests to get all data, so it matches this interface. Let's see how you can use a method that returns an IAsyncEnumerable instance in a Razor component.

Nullability in C# - What It Is and What It Is Not

Starting with .NET 6, new projects have nullable reference types enabled by default. It is easy to get confused on exactly what that means mean, particularly when migrating existing projects. Today, we'll take a look at what nullability is and what it isn't. In future articles, we'll look at the null operators in C# (null conditional, null coalescing, and null forgiving) – these are all various combinations of "?", "!", and ".".

Tag Helper for Display Templates

Display Templates? Now there’s a name I haven’t heard in a long time. As a refresher, Display and Editor Templates were first introduced as part of ASP.NET MVC. You could place partial views in the Views/Shared/DisplayTemplates folder (as well as a Controller specific subfolder) named after the type that the partial view is meant to render. So if you wanted all your booleans rendered in a particular way, You’d add a Boolean.cshtml partial view. Then make sure to call the Html.DisplayFor(m => m.BooleanProperty) helper.

Taming Your .NET Twitter Bots With Rules

Whether you love them or hate them, a big part of social media is the hive of bots ready to help, entertain, and inform. I love them as they typically offer a wide variety of choices, and they allow you to explore the more “creative” side of software development.


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