C# Digest #427: How to effectively compose your business logic
#427 — August 08, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
Getting Started With Basic Bindings in .NET MAUI
One of the most important features of an application is that it has the ability to dynamically link data to each of our views. This is where data binding comes in—it is the technique of binding properties so that changes to a property are automatically reflected in our UI. Let’s see how to bind data in .NET MAUI.
this week's favorite
How to effectively compose your business logic
We may already notice that our shopping cart is a simple state machine. It’s either pending, and we can add products to it, or closed (confirmed or cancelled). If we were object-oriented Java developers, we could model our shopping cart as.
Why function pointers can’t be used on instance methods
First, what are we looking at? The class Getter retrieves the getter of a property by reflection, then gets a function pointer to it, presumably to be able to invoke it without any performance penalty. When running the code, it displays Value: 0 even though the value should be equal to 42.
Patterns & Practices for efficiently handling C# async/await cancel processing and timeouts
One important use of async/await is proper cancellation processing. Create a CancellationTokenSource, pass a CancellationToken, and handle OperationCanceledException. All this, however, faces some difficulties to implement efficiently.
An applicative reservation validation example in C#
This code snippet demonstrates how to parse, not validate, an incoming Data Transfer Object (DTO). This code base uses C#'s nullable reference types feature to distinguish between null and non-null objects. Other languages (and earlier versions of C#) can instead use the Maybe monad. Nothing in this article or the book hinges on the nullable reference types feature.
This blog post will show a lot of LINQ functions broken down in smaller parts. It will always starts with a info graphic which then gets explained later.
books
Free eBook: Understanding Databases - Extended Edition
Learn how to release a Django project to production in a scalable and sustainable way by using Github Actions, Docker, Terraform, and Ansible. This combined eBook and video series by Linode + Coding for Entrepreneurs has everything you need to deploy Django to Linux using a managed MySQL database.
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
Older messages
C# Digest #426: Asynchronous Programming in .NET - Introduction, Misconceptions, and Problems
Sunday, July 31, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #426 — August 01, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #425: 5 tricks every C# dev should know about LINQPad
Sunday, July 24, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #425 — July 25, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #424: Customizing Controls in .NET MAUI
Sunday, July 17, 2022
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
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
You Might Also Like
iOS Dev Weekly – Issue 694
Friday, January 10, 2025
Hopefully you won't see that much difference with receiving this issue, but it's ALL CHANGED behind the scenes! 😱
Daily Coding Problem: Problem #1664 [Easy]
Friday, January 10, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Twitter. A permutation can be specified by an array P , where P[i] represents the
Spyglass Dispatch: The Case for a For-Profit OpenAI
Friday, January 10, 2025
RIP Venu • A More Political and Real Time Threads • An OpenAI Auction • Apple's Tough 2025 The Spyglass Dispatch is a newsletter sent on weekdays featuring links and commentary on timely topics
⌨️ 10 Mods to Improve Your Mechanical Keyboard — How to Set Up Quick Share on Windows
Friday, January 10, 2025
Also: Why Are Tech Companies Trying to Sell Me Expensive Clocks? How-To Geek Logo January 10, 2025 Did You Know Famed biologist Charles Darwin and US President Abraham Lincoln were born on the same day
Your best friends in design
Friday, January 10, 2025
Working With Designers Product manager & UX designer collaboration guide. How members of your product team work together is just as important as the work itself. A fundamental relationship within
Charted | How Canada Would Rank as the 51st State 📊
Friday, January 10, 2025
Donald Trump has floated the idea that Canada should be the 51st state. Here's how it compares statistically. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power AI's
Pinpointing The Actual Problem 🎯
Friday, January 10, 2025
WordPress accidentally diagnoses its own business problem. Here's a version for your browser. Hunting for the end of the long tail • January 10, 2025 Pinpointing The Actual Problem A blog post from
😱Major Azure Outage in EastUS2, 🚀New AI and Azure Developer CLI Courses, azureedge.net DNS retiring
Friday, January 10, 2025
͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
iOS Cocoa Treats
Friday, January 10, 2025
View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Adopting Swift 6 across the app codebase I've been
Issue #575: Excalibird, bird’s eye metropolis, and Stimulation Clicker
Friday, January 10, 2025
View this email in your browser Issue #575 - January 10th 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to