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.
Simple web API using C# using visual Studio 2019. In case you want to download free community version, please visit https://visualstudio.microsoft.com/downloads/ and install it in your PC. 3.
Let’s talk about the best practices to use when consuming a third-party API — or even for working with your own!
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.
“The C++ code listed below, being translated to C#, will never be close to C++ in terms of speed.”
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# 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#.
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.
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.
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. This article won’t go into what these interfaces are, or the differences between them. For that, read this article for a good introduction.
Delegates- (Namespace: System.Delegate)
Ok. Fine! (old man, angry face) For rapid prototyping a complete, 360 degree deployment micro-service (Server, Desktop, iOS and Android)…
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.
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.
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.
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.