Zone of Development

by Damiano Abballe

Swagger

In this post, we will see what Swagger is and how to install it in the Web API project created in the post: ASP.NET Core – Web API.First of all, what is Swagger?From the official web site:Swagger allows you to describe the structure of your APIs so that machines can read them. The ability of […]

Read More

C# – Extension method

Extension methods enable you to “add” methods at one existing type without creating a new derived type, compiling, or otherwise modifying the original type.An extension method is a static method that must been define in a static class with at least one parameter. The first parameter specifies the type on which the extension method will […]

Read More

Azure – How to deploy a Web API

In this post, we will see how to deploy in Azure the Web API created in the post: Web API with ASP.NET Core.First of all, we open a browser, go to Azure portal and we create a Web App: Now, we run Visual Studio, open the project and we go to “Build\Publish ApiService”: After the […]

Read More

Python

Python is a popular programming language used for web development, system scripting, machine learning, Data Analysis and so on.It’s available for many platforms such as Windows, Linux and Mac and from the official web site https://www.python.org it’s possible to download all releases.The latest version is the 3 and, we can use many editor to write […]

Read More

Angular CLI

Angular CLI is a command line tool for creating Angular application.It avoids to spend time for installing, configuring all the required dependencies and wiring everything together.Angular CLI is available for many platforms such as Windows, Mac and Linux and, in order to install it, we have to install node.js before.After Node installation, using the command […]

Read More

Web API – ASP.NET Core

In this post, we will see how to create a RESTful Web Service with ASP.NET Core. We open Visual Studio 2019 and select the template ASP.NET Core Web Application. Then, we select the API template, framework 2.2 and then we click on Create. At the end, we will have a project like that: If we […]

Read More

Node.js – First application

In this post, we will see how to create a one simple console application (sum of two values) using Node.js. We run Visual Studio Code, open a new Terminal, select the folder where we want to create the project and we run the command npm init.Then, we install a module called readline-sync, using the command […]

Read More

Git – How to connect a local repository with a remote server

In this post, we will see how to connect a local repository to a remote server, like GitHub, Bitbucket and Microsoft DevOps. First of all, we have to choose one of them and then we create a repository.After that, we open Git Bash, go into directory where we have created the local repository and we […]

Read More

Git – How to create a local repository

In this post, we will see how to create a local repository using Git. We open Git Bash, go into directory where we want to create a local repository and we run these commands: git init git add –all git commit -m”put a comment” The local repository has been now created! If the second command […]

Read More

Node.js – What Node.js is and how to install it

In this post, we will see what Node.js is and how to install it on our systems. First of all, what is Node.js? It’s a JavaScript runtime, built on the V8 engine, written in C++ and it allows us to run JavaScript code on the server. It’s very fast and efficient because works on a […]

Read More