C# Digest #438: Testing business logic in Event Sourcing

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

#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

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

JSK Daily for Nov 26, 2024

Tuesday, November 26, 2024

JSK Daily for Nov 26, 2024 View this email in your browser A community curated daily e-mail of JavaScript news JavaScript Certification Black Friday Offer – Up to 54% Off! Certificates.dev, the trusted

NumPy, Loop Targets, Vector Animation, and More

Tuesday, November 26, 2024

NumPy Practical Examples: Useful Techniques #657 – NOVEMBER 26, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo NumPy Practical Examples: Useful Techniques In this tutorial, you'll learn how to

Your Games Quarterly newsletter has arrived

Tuesday, November 26, 2024

What's new for games in Google Play and Android Email not displaying correctly? View it online November 2024 The First Developer Preview of Android 16 The First Developer Preview of Android 16

Daily Coding Problem: Problem #1620 [Hard]

Tuesday, November 26, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. Sudoku is a puzzle where you're given a partially-filled 9 by 9 grid with

Final Hours: Help Save "The Art of Data" From Falling Short 🙏

Tuesday, November 26, 2024

Will Visual Capitalist end up revealing the secrets behind data storytelling? There are 12 hours left to change the fate of "The Art of Data". View Online | Subscribe | Download Our App Help

Spyglass Dispatch: Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer

Tuesday, November 26, 2024

Meta's Bluesky • Apple's China AI Problem • Apple's Chinese iPhone Problem • Perplexity Voice Pin • Susan's Message on Lung Cancer The Spyglass Dispatch is a free newsletter sent out

🎁 Say Goodbye to Adobe and Hello to UPDF's Universal PDF Editor— 50% Off This Black Friday!

Tuesday, November 26, 2024

Promoted by UPDF How-To Geek Logo November 26, 2024 This email is sponsored by UPDF. Product choices and opinions expressed are from the sponsor and do not necessarily reflect the views of the How-To

What's coming in Go 1.24

Tuesday, November 26, 2024

Plus Brad Fitzpatrick on complexity and Go. | #​533 — November 26, 2024 Unsub | Web Version Together with Ardan Labs Go Weekly GoMLX: ML in Go without Python — Eli recently wrote about Go's

Nvidia Disappoints

Tuesday, November 26, 2024

Top Tech Content sent at Noon! How the world collects web data Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, November 26, 2024? The HackerNoon

Tech in 2024: The winners and losers

Tuesday, November 26, 2024

Retesting AI detectors; Linux support options; Android home screen launchers -- ZDNET ZDNET Tech Today - US November 26, 2024 Meta Ray-Ban Smart Glasses ZDNET Tech winners and losers of 2024: The year