#424 Customizing Controls in .NET MAUI


Retool Tech Talk

Join Retool for a conversation with Snowflake leaders Falguni Sonawala, Manager of Security Risk and Compliance, and Cameron Tekiyeh, Manager of Security Analytics, where they will share how they turned a manual user access review process into a suite of apps that automate away hundreds of hours of work.

this week's favorite

Customizing Controls in .NET MAUI

Today, I want to talk about and show you the ways that you can completely customize controls in .NET MAUI. Before looking at .NET MAUI let’s move back a couple years, back to the Xamarin.Forms era. Back then, we had a couple of ways to customize controls: We had Behaviors that are used when you don’t need to access the platform-specific APIs in order to customize controls; and we had Effects if you need to access the platform-specific APIs.

Data Storage with PersistentDictionary

PersistentDictionary is a database-backed dictionary built on top of the ESENT database engine. It is a drop-in compatible replacement for the generic Dictionary, SortedDictionary and SortedList classes found in the System.Collections.Generic namespace.

Announcing Rate Limiting for .NET

Rate limiting is the concept of limiting how much a resource can be accessed. For example, you know that a database your application accesses can handle 1000 requests per minute safely, but are not confident that it can handle much more than that. You can put a rate limiter in your application that allows 1000 requests every minute and rejects any more requests before they can access the database. Thus, rate limiting your database and allowing your application to handle a safe number of requests without potentially having bad failures from your database.

Understanding the Stack and Heap in C#

Based on my reading, "the stack" and "the heap" are clearly important concepts for understanding how memory is managed in C# programs, however until recently I had only a superficial understanding of them and their role. This post aims to explain what the stack and heap are, and particularly their relevance to C# programs.

C#: IEnumerable, yield return, and lazy evaluation

This interface enables iterating over a collection. In other words, if something is an IEnumerable, you can mostly think of it like an array or a list. You can use a foreach statement to loop through it, you can use LINQ to map or reduce it in a hundred different ways, or you can explicitly cast it to an array with .ToArray() and access elements by index. But there are a few things that make IEnumerable special—and a few things that make it tricky.


Would you like to become a sponsor and advertise in one of the issues? Check out our media kit and get in touch.