C# Digest - How to Tame the Asynchronous Nightmare

#440 – February 06, 2023 View in browser

C# Digest

How to Tame the Asynchronous Nightmare

You’re an intermediate dotnet programmer and you mostly know your way around using Tasks. You sprinkle async and await through your code, and everything is working just as expected. You’ve heard time and time again that you always want the return types of your asynchronous methods to be a Task and that async void is essentially the root of all evil. No sweat.

How to Style Apps with CSS in .NET MAUI (sponsor)

Applying styles to our applications helps us save code by allowing us to reuse different properties in one or more than one visual element without the need to repeat it. In this article we will go through all the necessary steps for you to learn how to add styles with CSS to your .NET MAUI applications!

Generating Sample Data with Bogus

Bogus is a library that works with C#, F# and VB.NET that can be used to create repeatable, fake data for applications. It is somewhat a port of a similar library Bogus.js. It accompished this by creating generators (called Fakers) that have a set of rules for generating one or more fake objects.

Register MAUI Views and ViewModels with Scrutor

In this post, I’ll show you how to use the packages CommunityToolkit.Mvvm and Scrutor to quickly register your XAML views and the corresponding ViewModels for a more convenient approach.

My experience with migrating my app from Xamarin.Forms to .NET MAUI

I’ve been eager to rewrite some of my personal apps from Xamarin.Forms to .NET MAUI, but since all of them are dependant on map functionality, I had to wait until the arrival of .NET 7, since the .NET 6 release of MAUI didn’t ship with map support.

ASP.NET Razor Pages Fragments / Single View approach

Will the single view approach work with ASP.NET Razor Pages instead of MVC Views and Controllers?

C# Tip: do NOT use nameof to give constants a value

In C#, nameof can be quite useful. But it has some drawbacks, if used the wrong way.

how did you like this issue?

Amazing · Great · Okay · Meh · Bad

newsletters

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

Server-side caching strategies: How do they work?

Sunday, January 29, 2023

Cache-aside, Read-through, Write-through, Write-behind: quite easy on the surface, but let's go a little deeper. #439 – January 30, 2023 View in browser C# Digest Server-side caching strategies:

Securing Sensitive Information with .NET User Secrets

Sunday, January 22, 2023

Working with secure keys in .NET has always been a delicate balance of convenience and safety. #438 – January 23, 2023 View in browser C# Digest Securing Sensitive Information with .NET User Secrets In

Five shortcuts to boost your productivity

Friday, January 20, 2023

Taking full advantage of the Visual Studio editor features will make you a more productive developer #437 – January 16, 2023 View in browser C# Digest Five shortcuts to boost your productivity Taking

Method-Core Injection: Pattern for Reducing Boilerplate Code

Sunday, January 8, 2023

It does one thing, and it does it straightforwardly. #436 – January 09, 2023 View in browser C# Digest Happy 2023 everyone! 🥂 I hope you had a great break and one of your New Year's resolution is

#435 How To Structure Your .NET Solutions: Architecture And Trade-Offs

Monday, December 19, 2022

#435 – December 19, 2022 View in browser C# Digest Hello! 🎄 This will be the last newsletter for 2022. So I hope y'all have a wonderful break and we'll get back to it on second Monday in 2023.

You Might Also Like

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your