In this article, I will explain how we can write better and more secure docker images. The docker images will be smaller and contain fewer dependencies. This is a default docker file for creating a docker image: Pro tip: call the docker init command to generate all the needed docker files for your project. This […]
Tag: c#
ImageSharp Cheatsheet
Minimal Web APIs with .NET 6
.NET is a great technology to create robust APIs. Until .NET Core 3, the main approach based on Microsoft documentations was to create a web API with Controllers. In .NET 6 Microsoft adopted an innovative approach like Express.js approach. The name of this, Minimal Web API. But first things first… What is Minimal API Minimal […]
.NET Conf 2022 (.NET 7) Cheatsheet
See the highlights of .NET Conf 2022. Learn what you can do with .NET 7 and in general .NET environment this year! .NET 7 Performance .NET 7 vs .NET 6 vs .NET 5 performance .NET 7 vs Node.js vs Java Servlet requests per second performance ASP.NET Core is eleven times faster than Node.js .NET 7 […]
Introduction In the modern digital landscape, it is crucial to have software applications that are scalable, modular, and independent. This is where microservices architecture comes in. Microservices are individual services that communicate with each other through APIs, providing independent, scalable, and resilient software applications. In this article, we will explore how to use .NET for […]
[source] One of the biggest .NET benefits is the flexibility and the portability of its features.As ASP.NET Core relies on the IHostBuilder, we can do the same with a classic console application.This approach will help us to have a basic infrastructure in our application, including the support for logging, dependency injection, app settings and so on. […]
Introduction In this article, we are going to see Directory handling in C#. In this article, we see all the operations which we can perform in the directory. I hope you get some help from this article. We are going to perform operations on a directory and retrieve some information. C# provides a class called […]
1. Install docker on Ubuntu source 1 2. Install Kubernetes on ubuntu Follow these steps. Important: before the command “sudo apt install kubeadm kubelet kubectl” run again “sudo apt-get update” Nick Chapsas: How to deploy .NET apps to Kubernetes Other sources: How to Host .NET Core Applications in VPS Using Docker: Link Run Docker Containers […]