C# Digest #427: How to effectively compose your business logic

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

#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.

LINQ explained with sketches

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

© 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 #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

Berliner Goes Tabloid 🤬

Thursday, April 18, 2024

The movie that perfectly explains what that NPR editor did. Here's a version for your browser. Hunting for the end of the long tail • April 17, 2024 Berliner Goes Tabloid Considering the tale of

Tuesday Triage #196

Wednesday, April 17, 2024

Your weekly crème de la crème of the Internet is here! The 196th edition featuring Naismith's rule, cow magnet, and Little Sparta. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Atlas humanoid robot goes electric 

Wednesday, April 17, 2024

Meta goes back to the drawing board and Tesla does some advertising View this email online in your browser By Christine Hall Wednesday, April 17, 2024 Good afternoon, and welcome to your Hump Day

📞 1990s Technology We Still Use Today — How to Fix Google Maps When It's Not Working

Wednesday, April 17, 2024

Also: Why You Should Buy Last Year's Flagship TV, and More! How-To Geek Logo April 17, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Today only: Join Incubator to get these bonuses

Wednesday, April 17, 2024

I'll work with you personally in a small group ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

JSK Daily for Apr 17, 2024

Wednesday, April 17, 2024

JSK Daily for Apr 17, 2024 View this email in your browser A community curated daily e-mail of JavaScript news React useState Vs. Context API: When to Use Them React has improved its state management

Daily Coding Problem: Problem #1415 [Easy]

Wednesday, April 17, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Stripe. Write a function to flatten a nested dictionary. Namespace the keys with a

⚙️ Workplace AI

Wednesday, April 17, 2024

Plus: Amazon Music just copy pasted Spotify ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Charted | The World's Biggest Nuclear Energy Producers ⚡

Wednesday, April 17, 2024

China has grown its nuclear capacity over the last decade, now ranking second on the list of top nuclear energy producers. View Online | Subscribe Presented by: FEATURED STORY The World's Biggest

You’re invited: 2024 Security report insights webinar

Wednesday, April 17, 2024

Join us April 25th. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏