Using C# records and Entity Framework Core to implement immutable data access layers
In this article, João Simões explains how to implement immutable data access layers using C# records and Entity Framework Core, which most .NET developers use to abstract their data layer and work dir...
Union Types in C# - Effectively Composing Your Business Logic
In this article, Oskar Dudycz discusses explicit types definition and how it can help make codebases closer to the business domain, more predictable and secure. He explains the lack of support for (di...
Faster Guid comparisons using Vectors (SIMD) in .NET
This post explores an optimized way of comparing Guids using SIMD instructions in .NET. Guids in .NET are a combination of int, short, and bytes, with each field compared one by one. The post explains...
Using LocalStack with Microsoft Tye
LocalStack is a platform that facilitates the development of cloud-based applications by hosting locally a series of replicas of AWS services. In this post, we’ll see how to configure Tye to use Local...
ZeroQL - C# GraphQL client adds fragments support
ZeroQL is a C# native graphql client with a Linq-like interface with no compromises on the performance. In this article, the support for fragments is presented. Fragments allow defining a set of field...
Removing Switch-Case Statement and using Pattern Matching in C#
In this article, we discuss the problems with switch-case statements, including the difficulty in maintaining and modifying them, as well as the issue of mixing data and behavior. We then explore how ...
ZeroQL - C# friendly GraphQL
ZeroQL is a C# friendly GraphQL client that provides a Linq-like interface for building queries. It offers type-safe API for simplifying integration between app parts. With an excellent performance eq...
Disruptor-net: A High Performance Inter-Thread Message Passing Framework for .NET
Disruptor-net is a .NET port of LMAX Disruptor, a high performance inter-thread message passing framework. It can be succinctly defined as a circular queue with a configurable sequence of consumers, a...
Dotnet Microservices
Building a dotnet 5 microservices (service-oriented architecture) with implementations on microservices with .net tools on real-world e-commerce microservices project including Catalog, Basket, Discou...
Harness your GRPC connection with deadlines and cancellation options
GPRC connections provide a fast, high throughput and performative way for microservices APIs to communicate. In this article, Yazan Ati discusses the importance of managing the connection properly usi...
Quick and Efficient Distributed Tracing in .NET
To log the complete call chains and see what your microservices really do, you need efficient distributed tracing in .NET. This article will guide you on how to implement it quickly using the AsyncLoc...
Implementation Of CQRS in .Net 6
This article discusses the concept of Command Query Responsibility Segregation (CQRS), an architectural design pattern that splits systems actions into commands and queries. It also explains the benef...
OpenTelemetry .NET | Monitor a .NET application with OpenTelemetry & SigNoz
C# (pronounced C-Sharp) is one of the top frameworks for building modern applications using .NET. OpenTelemetry is an open source web standard for instrumenting cloud-native applications that gives in...
FastEnum - The Fastest Enum Utilities for C#/.NET
FastEnum is the fastest enum utilities for C#/.NET, achieving zero allocation and designed for easy use like System.Enum. It supports .NET Framework 4.6.1+, .NET Standard 2.0+, and .NET 5.0+. It provi...
Tye, starting and running multiple APIs with a single command
Today, most of the applications consist of multiple projects. Most of them have some kind of front-end application (e.g. Angular) that consumes one or more .NET C# APIs, which in their turn might also...
Graceful Termination with Modern .NET
This article discusses the importance of graceful termination in Kubernetes pods and explores various ways to handle graceful termination in .NET 6 and ASP.NET Core 6.0. It covers preStop hooks and ob...
Implementing Latest Tech and Architecture for Distributed Systems with .NET
This project aims to implement an infrastructure for up-and-running distributed systems with the latest technology and architecture like Vertical Slice Architecture, Event Sourcing, CQRS, DDD, gRPC, M...
.NET Big-O Algorithm Complexity Cheat Sheet
This JSON structure contains information about the .NET Big-O Algorithm Complexity Cheat Sheet. The cheat sheet displays the time and space complexities of common algorithms used in .NET and computer ...
Roadmap to becoming an ASP.NET Core developer in 2023
GitHub - MoienTajik/AspNetCore-Developer-Roadmap: Roadmap to becoming an ASP.NET Core developer in 2023. This repository provides a comprehensive roadmap for developers who aim to become an ASP.NET Co...
Modelling Workflows With Finite State Machines in .NET
In this article, Lloyd Atkinson explains how modelling workflows with finite state machines can help simplify complex workflows in .NET. He introduces the concept of finite state machines and provides...