C# Digest #432: A comprehensive design patterns library

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

#432 — September 12, 2022 View in browser

C# Digest

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

sponsor

Segment is now free for Startups!

Segment is an API-first analytics solution that empowers 15,000+ startups to scale their data infrastructure. Collect data from web, server, mobile, and cloud apps; send it to 300+ data destinations. See if you qualify for our startup program. Get $50K in Segment Credits w/ C# Digest.

this week's favorite

A comprehensive design patterns library

In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn't a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. In addition, design patterns allow developers to communicate using well-known, well understood names for software interactions.

A walkthrough of Durable Entities

Durable Entities are a special type of Azure Function that allow you to implement stateful objects in a serverless environment. They make it easy to introduce stateful components to your app without needing to manually persist data to external storage, so you can focus on your business logic. We’ll demonstrate their power with a real-life example in the last section.

10 Tiny Things in C# I Wish Were Different

In this blog post I look at a few things I wish were different in C# and .NET. I consider this an anti-post in the sense that I actually believe there is an unsound obsession in programming circles with counting code lines or characters as exemplified in my own blog post World’s Smallest C# Program (featuring N).

Working with System.Random and threads safely in .NET Core and .NET Framework

In this post I look at some of the ways you can misuse System.Random for generating random numbers, specifically around thread safety. I start by showing how to use the built-in thread-safe Random generator in .NET 6. I then step back to previous .NET Core implementations, before the thread-safe Random generator was added, and show how to add your own. Finally, we take one more step back to .NET Framework, and look at he issues that arise there.

Introducing Transitive NuGet Dependencies in Visual Studio

We heard from you that direct dependencies are easy to track, but that you struggle with tracking transitive dependencies. We want to make that easier for the day-to-day management of your NuGet packages in Visual Studio.

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 #431: Performance Improvements in .NET 7

Sunday, September 4, 2022

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

C# Digest #430: History of Microsoft Azure

Sunday, August 28, 2022

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

C# Digest #429: New in Entity Framework 7: Bulk Operations with ExecuteDelete and ExecuteUpdate

Monday, August 22, 2022

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

C# Digest #428: A .NET distributed cache with a ~25 nanosecond read time!

Sunday, August 14, 2022

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

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

Sunday, August 7, 2022

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

You Might Also Like

New Blogs on ThomasMaurer.ch for 04/16/2024

Tuesday, April 16, 2024

View this email in your browser Thomas Maurer Cloud & Datacenter Update This is the update for blog posts on ThomasMaurer.ch. Automate on-premises Windows Server from the cloud using Azure Arc By

April TC39 meeting; Rspack v0.6; future of JS packages; Evan You on Vue, Vite, etc.

Tuesday, April 16, 2024

We have 7 links for you - Stay up-to-date on JavaScript and tools This Week In React - Keeps senior React devs up to date thisweekinreact.com Partner We keep over 37k mid/senior React devs up-to-date

Ingesting & Using CAD Data for Real-Time 3D

Tuesday, April 16, 2024

How engineering firms leverage real-time 3D technology View this email in your browser engineering.com White Paper - Ingesting and Using CAD Data for Real-Time 3D Ingesting and Using CAD Data for Real-

It’s Easy. But Is It Easy Enough? 🤓

Monday, April 15, 2024

Is self-hosting still too hard for normal people? Here's a version for your browser. Hunting for the end of the long tail • April 15, 2024 It's Easy. But Is It Easy Enough? Self-hosted apps are

Re: Free Class: Master the Notes app

Monday, April 15, 2024

Hi there, We are holding a Free Notes App Class tomorrow (Wednesday, April 17) at 4:30 pm ET! We do expect this class to fill up so register soon to save your spot! I wanted to take a minute to answer

Two Tesla execs leave amid layoffs

Monday, April 15, 2024

Tesla execs bid adieu View this email online in your browser By Christine Hall Monday, April 15, 2024 Welcome back to TechCrunch PM, where you can find me each day bringing you the most important

🍏 Why You Should Buy the MacBook Air Over the Pro — Thrift Stores Are a Goldmine for Geeks

Monday, April 15, 2024

Also: How to Play Epic Game Titles on the Steam Deck, and More! How-To Geek Logo April 15, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

JSK Daily for Apr 15, 2024

Monday, April 15, 2024

JSK Daily for Apr 15, 2024 View this email in your browser A community curated daily e-mail of JavaScript news Embracing Functional Programming: Streamlining Code with Reusability and Maintainability

True Anomaly and Rocket Lab will make big moves on orbit (literally)

Monday, April 15, 2024

The Space Force has contracted out its next "responsive space" mission, and this one is a doozy. View this email online in your browser By Aria Alamalhodaei Monday, April 15, 2024 Hello and

Daily Coding Problem: Problem #1413 [Medium]

Monday, April 15, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. Given a string and a set of characters, return the shortest substring containing