Structure of a Go Program
Every single programming language has got its own syntax or structure; it’s own flavor and that’s what makes it standout. Go is no different. It’s easy and elegant in its own way, making to it fun to play with.
Every single programming language has got its own syntax or structure; it’s own flavor and that’s what makes it standout. Go is no different. It’s easy and elegant in its own way, making to it fun to play with.
A few days ago I came across a situation where we wanted to execute our CI pipeline locally. This article details the steps to run GitHub actions locally using nektos/act and Docker-in-Docker(dind).
The relationship between objects defines how these objects will interact or collaborate to perform an operation in an application. In any application, objects of user interface classes interact with the business layer objects in order to perform an operation. And in the background, the business layer objects may interact with objects of some repository which in turn talks to some data source object or service object.
It has been quite a long time since var
was introduced, yet it stands debatable among .Net developers.
Everyone has a different understanding as and when to use var
as a type.
A couple of days ago I was also a part of one such discussion, and so I decided to share my understanding.
Code reusability has always been one of the major concerns for software developers. You do not ever want to write a similar code for two business problems. You would rather like to write the solution once and reuse it whenever and wherever required.
This is the final part of the series about building an ASP .Net Core Web Application and deploying it as a Docker container using Microsoft Azure. Here, we are going to set up a Microsoft Azure DevOps release pipeline to automate the deployment of our application as a container on Azure Web App Service.
This article is the first in the series where we are going to build a simple ASP .Net Core web application, containerize it with Docker and run it on local host. And we will push everything to GitHub for later use.
In the posts to follow, we will setup Microsoft Azure DevOps Build pipeline to automate the process of building and pushing the Docker image to Docker Hub. Next, we will use Azure DevOps Release pipeline to deploy our application on Azure Web App Service as a container.
A registry is a stateless, highly scalable server side application that stores and lets you distribute Docker images. At a high level, a registry is a collection of different repositories which contain our images. These images have different tags.