Tags

#architecture
architecture

44stories
1 d agolatest
C# 14
Silent shadowing
DVDEV Community: #csharp Adrián Bailador 1 d ago

C# 14 extension members: the shadowing bug the compiler won't warn you about

C# 14's extension member syntax now covers properties and static members, not just methods, yet a type's own member still silently wins over an identically named extension member. The author reproduces this against the .NET 10 SDK with eight tests: the build reports zero warnings and zero errors while every call site quietly switches to new logic.

Messaging
Messaging
DVDEV Community: #aspnetcore Anas Amin 2 d ago

Sending leads to Odoo without losing one: a transactional outbox in ASP.NET Core

Saving a lead and then calling Odoo means two writes that can each fail on their own. Anas Amin describes a transactional outbox where the lead and a message describing it commit together, and a Hangfire job delivers the message later. Leased claims, error classification, dead-lettering and idempotent Odoo writes carry the rest of the design.

Blazor + SignalR
Server owns the clock
DVDEV Community: #blazor Don Gerard 2 d ago

Who owns the clock? Lessons from a live Blazor and SignalR multiplayer game

A developer describes building a live bingo game on .NET 10, shared by a Blazor Web App and a MAUI Blazor Hybrid app over SignalR. The post covers keeping the game lifecycle on the server, using a BackgroundService to announce start times, making joins idempotent, and handling InteractiveAuto components that boot twice. It is a practical read for anyone building real-time Blazor apps.

NebulaGraph
Duplicate-free graph loads
DVDEV Community: #csharp Mehdi Mohseni 3 d ago

Idempotent NebulaGraph bulk ingestion from .NET using deterministic VIDs

NebulaGraph has no unique indexes, so duplicates in a graph load usually come from unstable vertex IDs and edge ranks. The author shows how to derive deterministic VIDs from business keys with FNV-1a and pin edge rank, which makes repeated loads safe. A batched .NET ingestion pipeline with checkpoints and retries is included.

C# 14
Events and subscriptions

Events and Delegates in C#: Contracts, Subscriptions and Notification

This article explains the difference between delegates and events in C#, the subscription boundary an event creates, and how multicast invocation behaves when a handler throws. It also covers what notification does not guarantee: completion of every subscriber, async handling and subscription lifetime. Read it to design event-based notifications with clearer contracts.

Azure SQL
One writer, distributed design
SQAzure SQL Blog Anna Hoffman 3 d ago

Is Azure SQL Database Hyperscale really distributed SQL?

Azure SQL Database Hyperscale splits a single-writer SQL engine across separate compute, log, page server and storage tiers, so it is distributed in architecture but not in write capacity. The author explains where that line falls against the usual meaning of distributed SQL, and cites a commissioned benchmark against Aurora PostgreSQL. Useful when you choose a database for a growing workload.

TableSchema
Compare, plan, then apply
DVDEV Community: #dotnet Jeff Tsai 3 d ago

TableSchema and database structure upgrades: compare, plan, execute

This post explains how a .NET ERP framework applies TableSchema definitions to the physical database without migration scripts. Each upgrade compares the live structure with the definition, then separates compare, plan and execute so the mode (ALTER or rebuild) can be checked before running. It is useful for developers who maintain schemas that already hold production data.

Event Sourcing
Decider over aggregates

Using Event Sourcing? Prefer the Decider over AggregateRoot

Jeremy D. Miller strongly recommends that Event Sourcing developers model domain logic with the Decider pattern instead of the older AggregateRoot pattern. He explains why pure decide functions in Marten and Wolverine handlers are easier to reason about, test and debug. The post is a useful reference for anyone choosing a design for event-sourced .NET systems.

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message