C# – SOLID Principles

By | 29/04/2020

In this post, we will see what SOLID means and how to implement it using C#. SOLID is a mnemonic acronym for five designers principles that help us to write software more understandable, easier to maintain, flexible and easier to extend.The five principles are:Single responsibility principleOpen/closed principleLiskov substitution principleInterface segregation principleDependency inversion principle  SINGLE RESPONSABILITY… Read More »

Category: C#

React – How to pass values to a Component

By | 15/04/2020

In this post, we will see how to pass values to a Component in React.This is possible using the Props, that is kind of global variable or object, using them like HTML attributes. First of all, we create a file called User.js: [USER.JS] Then, we import and use this component in the file App.js: [APP.JS]… Read More »

Docker – How to install on macOS

By | 08/04/2020

Docker – How to install on Win 10 In this post, we will see how to install Docker on macOS.First of all, we have to download, from the Docker official web site, the latest version of Docker Desktop: Once the download is finished, double click the docker.dmg file, in order to start the installation: After the… Read More »

Flutter – Stateless Widget

By | 25/03/2020

In this post, we will see how to create a Stateless Widget and how to use it in a Flutter project.First of all: what is a Stateless Widget?From https://docs-flutter-io.firebaseapp.com:“A widget that does not require mutable state.A stateless widget is a widget that describes part of the user interface by building a constellation of other widgets… Read More »

Web API – Versioning

By | 18/03/2020

In this post, we will see how to manage the versioning in a .net core Web API service, using three different approaches:1) Query String-Based Versioning2) URL-Based Versioning3) HTTP Header-Based Versioning First of all, we open Visual Studio 2019 and we create a Web API project: If we run the application, this will be the output:… Read More »

Docker – How to install on Win 10

By | 11/03/2020

In this post, we will see how to install Docker on Windows 10.But, what Docker is?From Wikipedia:“Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers.Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.All containers are… Read More »