C# Digest #438: Testing business logic in Event Sourcing
#438 — October 24, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
Going Beyond .NET Core Identity Authentication with OIDC
Using ASP.NET Core Identity is great for demos but leads to pain down the road as you grow. This article and example illustrates how to use ASP.NET Core’s OpenID Connector to centralize your .NET app’s authentication and authorization with an OIDC compliant identity server. Your user data will be more secure and you’ll sleep better at night.
this week's favorite
Testing business logic in Event Sourcing
I’ve heard a few times that Event Sourcing is hard to test. I’m not sure where this myth comes from; maybe from mixing it with event streaming. Event Sourcing logic is pretty straightforward. We’re getting the list of events recorded for a specific entity (e.g. bank account), building the current state from them and running business logic based on it. As a result, we’re getting either a new event or a list of events.
Boosting Performance With Sealed Classes in .NET
In this article, we are going to learn how we can boost performance with sealed classes in our .NET projects.
Clean Code Tip: DRY or not DRY?
You've probably heard about the DRY principle: Don't Repeat Yourself. Does it really make sense? Not always.
Practical Samples and Tutorials of Event Sourcing in .NET
In this repository I'm showing different aspects and patterns around Event Sourcing from the basic to advanced practices.
That Shouldn't Happen - UnreachableException in .NET 7
We interact with a lot of external systems. Those external systems define their API and tell us what to expect, but if we’re not careful, that could just change out from under us and cause a bunch of problems. Even if we limit ourselves to our own components, there are all sorts of undefined behaviors that could happen if component X does something component Y doesn’t expect.
how did you like this issue?
newsletters
Older messages
C# Digest #437: The 2 secret endpoints I create in my .NET APIs
Sunday, October 16, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #437 — October 17, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #436: Rate limiting in web applications - Concepts and approaches
Sunday, October 9, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #436 — October 10, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #435: ASP.NET Core - Why async await is useful
Sunday, October 2, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #435 — October 03, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #434: C# 11 – Introducing List Patterns Matching
Sunday, September 25, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #434 — September 26, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #433: Serializing asynchronous operations in C#
Sunday, September 18, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #433 — September 19, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
You Might Also Like
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
22 CES products you can't miss
Friday, January 10, 2025
10 must-install Linux apps; Cybersecurity in 2025; Email encryption how-to -- ZDNET ZDNET Tech Today - US January 10, 2025 CES logo 2025 CES 2025: The 22 most impressive products you don't want to