SQL Server – Temporal Table

By | 06/07/2022

In this post, we will see how to create and manage a Temporal Table in Sql Server.But first of all, what is a Temporal Table?From Microsoft web site:“Temporal tables (also known as system-versioned temporal tables) are a database feature that brings built-in support for providing information about data stored in the table at any point… Read More »

C# – AutoMapper

By | 29/06/2022

In this post, we will see how to configure and use AutoMapper in a Web API project.But first of all, what is AutoMapper?From official web site:“AutoMapper is an object-object mapper. Object-object mapping works by transforming an input object of one type into an output object of a different type. What makes AutoMapper interesting is that… Read More »

Category: C#

C# – “ValueOf” library

By | 15/06/2022

In this post, we will see the library ValueOf that we could use for validating our classes.But first of all, what is the purpose of ValueOf?From the GitHub page:“The Smell: Primitive Obsession is using primitive data types to represent domain ideas. For example, we use a String to represent a message, an Integer to represent… Read More »

Category: C#

Docker – Commands

By | 08/06/2022

In this post, we will see some Docker commands that they can help us in our Docker projects. DOWNLOAD A DOCKER IMAGE docker pull ‘name of image’ LIST DOCKER IMAGES REMOVE DOCKER IMAGE docker rmi ‘image id’ REMOVE ALL DOCKER IMAGES RUN DOCKER CONTAINER docker run ‘name of image’ START AND STOP A DOCKER CONTAINER… Read More »

Multithreading – Lock and Mutex

By | 01/06/2022

In this post, we will see how to use Lock and Mutex for obtaining a lock in a thread. We start creating a Console application where, we will add a class called Methods: [METHODS.CS] Then, we modify the Program file in order to run RunMethods():[PROGRAM.CS] Now, if we run the application, this will be the… Read More »

Node.js – CRUD operations with MongoDB

By | 25/05/2022

In this post, we will see how to create a Web API with Node.js to run all CRUD operations for an entity called Person, using MongoDB as database. We start creating a Node project called MongoCRUD using the command NPM INIT; it will create a package.json file like this: [PACKAGE.JSON] Then, we add a docker-compose… Read More »

Linux – Commands (Part I)

By | 11/05/2022

MANAGE DIRECTORIES pwd: print name of current/working directory ls: list directory contents mkdir ‘directory name’: make directories mkdir -p ‘directories names’: make parent directories as needed rmdir: remove empty directory rmdir -p ‘name of directories’: remove directory and its ancestors rm -rf: remove a directory not empty MANAGE FILES file: determine file type touch ‘file… Read More »