Simple Event Souring With C#

What is missing in most cases are the tactical details of an an end-to-end event sourced model. This was when I decided to borrow some ideas and build a very simplified model myself. Here is a step by step process of the outcome of my Event Sourcing / DDD / CQRS journey.

Restful Web API Using C#.Net core 3.1 with Sqlite

Simple web API using C# using visual Studio 2019. In case you want to download free community version, please visit and install it in your PC. 3.

Best practices when consuming an API through C# and .NET

Let’s talk about the best practices to use when consuming a third-party API — or even for working with your own!

5 Best C# (C-Sharp) Programming Courses for Beginners in 2020

In this article, I am going to share some of the best courses to learn C# or C-Sharp in 2020. These courses are suitable for both beginners and experienced programmers who want to fill gaps in their C# knowledge.

Geting 4x Speedup With .NET Core 3.0 SIMD Intrinsics

“The C++ code listed below, being translated to C#, will never be close to C++ in terms of speed.”

Value objects and How to Appreciate Them

In this article, I will dive into why I find value objects useful and discuss various trade-offs in designing value objects. I will be doing examples in C#, but the examples should apply to many of the other major languages out there.

C# Types

C# is a strongly typed language. This means that whenever you are dealing with variables you must specify what type of variable it is. This post will give you an understanding of types and how we use them in C#.

Practical Query Tagging in EF Core

It’s introduced in EF Core 2.2. This feature helps correlate LINQ queries in code with generated SQL queries captured in logs. You annotate a LINQ query using the new TagWith() method.

How to sort list in C# with other sorted lists using LinQ

This is a common scenario that we face while working. We want to sort the list based on the different value of its some of the properties. We can achieve this by iterating through the list and putting several conditional statements.

Understanding the Fundamentals of C# With a JS Background

One of the common questions I always find myself asking an SWE is, “how do you know so many languages?” The response is always mixed with a joke or two. After spending time building full-stack applications using JavaScript with Ruby on Rails backend, I wanted to explore another backend framework that I am always seeing on job descriptions. .

The Ultimate C# Guide for Beginners in 2020.

The Ultimate C# Guide for Beginners in 2020. C# has roots from the C family, and the language is close to other popular languages like C++ and Java.

IEnumerable vs IQueryable Exceptions

IEnumerable vs IQueryable Exceptions. This article won’t go into what these interfaces are, or the differences between them. For that, read this article for a good introduction.

Closure on Loop Variables — C# and JavaScript Comparison

Subtle differences with closure on loop variables in different programming languages (C# and JavaScript as examples). Closure is not a new concept. It was first introduced in the 1970s and is now available in most of the programming languages. I am sure most developers are familiar with it and use it on a regular basis. Here are some quick tests to check our understandings — can you tell the output for the four cases below in JavaScript and C#.

Decorators between Class-based & Prototype-based programming languages

Implementing the decorator pattern will differ between Class-based and Prototype-based programming languages because of the difference in their nature. I will talk in this article about implementing the decorator pattern in both Javascript and C# programming languages. And consider some real-life scenarios to use them.

Delegates in C#- Part 1

Delegates- (Namespace: System.Delegate)

J. A. Cirez (reluctantly) Loves Visual Studio 2019

Ok. Fine! (old man, angry face) For rapid prototyping a complete, 360 degree deployment micro-service (Server, Desktop, iOS and Android)…

Auditing Your C# Models with Entity Framework

When working with data, oftentimes my clients or customers have asked me, “who changed that record?”. I always add some audit info to all my entities (models/tables) to know who added or changed a piece of data and when it was last changed.

Is Using LINQ in C# Bad for Performance?

LINQ (Language INtegrated Query) is a set of features in C# for concise and declarative code. I use it pretty much wherever I can, but sometimes I wonder and people ask: is this a performance trap? It would be painful to have to replace many usages of LINQ with other constructs in addition to time spent finding that to be an actual bottleneck. Let’s do a basic benchmark to see what using LINQ might cost us compared to more traditional constructs such as for and foreach loops, and see if this worry is valid.

How to Create a Chat System in Unity With Mirror

One of my Unity projects utilizes UNet which is a low level multiplayer API which is now deprecated. I needed a good networking solution that supports basic server-client communication and data transport. In search for a replacement, I quickly found Mirror.

Data Transformation Using the Decorator Pattern

The decorator pattern is one of the most versatile design patterns available to us in software engineering. It allows for behaviour to be added to an object dynamically while still obeying the Single Responsibility Principle. It is similar to the Chain of Responsibility pattern, which I wrote about here, but a key difference is that instead of a single class (or link in the chain) handling a particular request or action, all classes handle the request or action.