Suppose you have a Multi-Container ASP.NET Core app and you want to host it on Kubernetes Pods. Then you may ask how to do this? The answer is – host the containers on different k8s Pods then add a Service to expose a pod. Then second Pod will then access this service to communicate with first Pod.
In this tutorial I will host a Multi-Container ASP.NET Core app to a single Pod in Kubernetes. The ASP.NET Core app will have 2 containers and these containers will also communicate with each other. I will show you how this communication will take place inside the Pod.(more…)
In this tutorial you will learn about Kubernetes Ingress and how to apply Ingress on an ASP.NET Core app which is running inside a Pod. Ingress is a Kubernetes object whose work is to expose the Kubernetes Service to HTTP and HTTPS routes.(more…)
In this tutorial we will go through some necessary and detailed information that will be needed for managing your ASP.NET Core app hosted on Kubernetes. I will be proceeding from the last tutorial where I had Deployed my ASP.NET Core App on Kubernetes.(more…)
In this tutorial we will understand the procedure of deploying an ASP.NET Core App to Kubernetes from start till end. I will start with Docker and Minikube then I will take the topic of Kubernetes Objects which are Pods, Deployments and Services. Finally, I will use these objects to host my ASP.NET Core app on Kubernetes. This tutorial will give you a solid foundation of K8s so make sure you go through the whole tutorial. Let us start it with any further delay.(more…)
In this tutorial I will perform CRUD Operations in as ASP.NET Core app that uses SQL Server as a backend. I will use Docker Compose for this so there will be 2 containers one running the ASP.NET Core app and other SQL Server 2019.(more…)
In this tutorial I will create a Multi-Container ASP.NET Core App with Docker Compose. Here the containers will communicate with each other. There will be 2 projects in the APP:(more…)
Nowadays, so much of our lives take place online, it's crucial that education offers students the opportunity to hone their digital skills. In classrooms all across Canada, more and more teachers are acknowledging the importance of bringing online literacy into the education system. This is creating a future generation with an unparalleled talent for creating online content.(more…)
In my last tutorial I created my First ASP.NET Core web App in Docker Container. I will now deploy this Docker Containerized app to Azure cloud service provider. This will make this app live on the internet so that it will be accessible on the browser with a URL.(more…)
SSL Certificates are very necessary for the Trust, Identity and Encryption of an APP. ASP.NET Core apps use HTTPS Certificates by default. ASP.NET Core uses self-signed development certificates for development. So, when you are hosting your app to a Docker Container then you need to tell docker where to find this development certificate in your machine. Once docker knows the location of the HTTPS certificate then your app will start opening with https url eg https://localhost:8001.
The procedure will be same for the production scenario also. You can generate a free HTTPS certificate from Let's Encrypt, then tell your Docker app (which is running in Azure or AWS) to find the HTTPS certificate from this directory.(more…)