C# Digest #424: Customizing Controls in .NET MAUI

And more news, tutorials and articles about C# and .NET in this week's issue.

#424 — July 18, 2022 View in browser

C# Digest

Spread the word, build the community, share the knowledge with your friends.

sponsor

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<TKey,TValue>, SortedDictionary<TKey, TValue> and SortedList<TKey, TValue> 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.

how did you like this issue?

1 = didn't like it at all and 5 = loved it and shared it with everyone I know

newsletters

© 2022 Bonobo Press

Would you like to advertise with us? Check out our latest media kit for more information.
If you no longer wish to receive these emails, click to unsubscribe.

Older messages

C# Digest #423: Modern distributed tracing with dotnet

Sunday, July 10, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #423 — July 11, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #422: Speed Up Logging in .NET 6

Sunday, July 3, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #422 — July 04, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #421: Should I avoid LINQ for performance reasons?

Sunday, June 26, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #421 — June 27, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #420: Distributed systems evolution challenges

Sunday, June 19, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #420 — June 20, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

C# Digest #419: The Best C# .NET Web Application Tech Stack: Choosing The Front End

Sunday, June 12, 2022

And more news, tutorials and articles about C# and .NET in this week's issue. #419 — June 13, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your

You Might Also Like

BetterDev #271 - Memory: The Forgotten History and Why did Windows 95 setup use three operating systems?

Wednesday, November 27, 2024

Better Dev #271 Nov 26, 2024 Hi all, Welcome to thanksgiving issue of BetterDev. Hope everyone had a safe and warm thanksgiving. It's getting so cold these days. If you are in warzone such as

Mapped | Unemployment Rate By U.S. State in 2024 💼

Tuesday, November 26, 2024

As of October 2024, DC and Nevada tied for the highest unemployment rate in the US at 5.7%. Which states saw the lowest rates? View Online | Subscribe | Download Our App FINAL CHANCE - ENDS TONIGHT!

🔊 7 DIY Tips for Soundproofing a Room — Why I Switched to Xfce for Linux Mint

Tuesday, November 26, 2024

Also: Home Theater Sound Terms Explained, and More! How-To Geek Logo November 26, 2024 Did You Know The shiny layer of a CD doesn't contain the data; the plastic polycarbonate layer does. The shiny

JSK Daily for Nov 26, 2024

Tuesday, November 26, 2024

JSK Daily for Nov 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

NumPy, Loop Targets, Vector Animation, and More

Tuesday, November 26, 2024

NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to

Your Games Quarterly newsletter has arrived

Tuesday, November 26, 2024

What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16

Daily Coding Problem: Problem #1620 [Hard]

Tuesday, November 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Sudoku is a puzzle where you're given a partially-filled 9 by 9 grid with

Final Hours: Help Save "The Art of Data" From Falling Short 🙏

Tuesday, November 26, 2024

Will Visual Capitalist end up revealing the secrets behind data storytelling? There are 12 hours left to change the fate of "The Art of Data". View Online | Subscribe | Download Our App Help

Spyglass Dispatch: Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer

Tuesday, November 26, 2024

Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer The Spyglass Dispatch is a free newsletter sent out

🎁 Say Goodbye to Adobe and Hello to UPDF's Universal PDF Editor— 50% Off This Black Friday!

Tuesday, November 26, 2024

Promoted by UPDF How-To Geek Logo November 26, 2024 This email is sponsored by UPDF. Product choices and opinions expressed are from the sponsor and do not necessarily reflect the views of the How-To