Google Cloud for ASP.NET Core Web Apps
I have made a series of tutorials that will help you get started on working with GCP for ASP.NET Core Web Application development.
About the Web App
The series majorly focuses on an ASP.NET Core MVC Web App (.NET 6).
The following screen shows how the application looks after the series of tutorials.
Cloud features used
To deploy our ASP.NET Core Web App, we will be using the following Service offerings or features available
A very methodical approach is followed in order to present the audience the best knowledge of how to work with Google Cloud Platform for applications built using ASP.NET Core.
If you are not a developer or a seasoned software engineer, this tutorial series is for both. The series starts with basic development environment set up and then takes you through developing the ASP.NET Core MVC Web App (.NET 6) that uses Razor Views, Entity Framework Model and MVC Controllers.
The Series has 5 realtime demonstrations as follows:
So, following along with the series in the sequence mentioned below and gain Hands-On experience on Deploying ASP.NET Core web applications are Google Cloud Platform.
1. How to install PostgreSQL (latest) without Admin Rights on Windows 11 OS
In this tutorial we will see how to Install and Set up PostgreSQL on Windows for a normal user without Admin Privileges. Most of the IT corporations doesn’t grant admin privileges to install software. But being a software engineer, we would always like to explore new technologies. Admin privileges should not become a barrier to install new tech stack or a software package and thus hamper the limitation to explore it. So let’s see how to install PostgreSQL database without actually needing admin privileges.
This approach works for both Windows 10 & Windows 11 operating systems.
This tutorial covers the following contents.
Video Tutorial Link: How to install PostgreSQL (latest) without Admin Rights on Windows 11 OS
2. Working with Google Cloud Storage for ASP.NET Core 6 Applications (Hands-on Tutorial)
In this detailed video, we will learn how to work with Google Cloud Storage?for ASP.NET Core 6 Web applications. This is the real time demonstration of performing file based CRUD operations directly on to the Google Cloud Storage. You can follow along with this tutorial if you have a GCP account. It's free to sign up and you will get $300 Credit if you sign up with your credit card.
The file CRUD operations on a Google Cloud Storage Bucket demonstrated in this video performs the following in a step-by-step approach with real demonstration.
This real-time Hands on tutorial is divided in to four parts as described below.
Video Tutorial Link: Working with Google Cloud Storage for ASP.NET Core 6 Applications (Hands-on Tutorial)
Detailed Article: Working with Google Cloud Storage for ASP.NET Core 6 MVC Application using Entity Framework Core 6
3. How to create Cloud SQL Postgres Db Instance on Google Cloud Platform and Connect with PgAdmin4
In this tutorial we will look at how to create Cloud SQL Postgres Database Instance on Google Cloud Platform (GCP).
We will also look at how to access this remote Cloud SQL Postgres Database Instance on GCP from the local PC with the help of PgAdmin4.
Contents of this tutorial include the following.
Video Tutorial Link: How to create Cloud SQL Postgres Db Instance on Google Cloud Platform and Connect with PgAdmin4
4. How to Deploy ASP.NET Core MVC Web App (.NET 6) on Google Cloud Run using Cloud Build
In this tutorial, we will see a methodical way to implement (CD) Continuous Deployment of an ASP.NET Core MVC Web App (.NET 6) on Google Cloud Run with the help of Google Cloud Build Trigger.
This tutorial is continuation of the previous part https://youtu.be/7tAAGnSbfCc which explains how to work with Google Cloud Storage for ASP.NET Core 6 Applications (Hands-on Tutorial)
By the end of this tutorial, you will be able to have a full understanding of enabling Continuous Delivery of ASP.NET Core applications to Cloud Run via Cloud Build.
This tutorial covers in-depth concepts of working with Cloud Build triggers, Cloud Run features such as Logs, Revisions, SLOs etc.
The tutorial also helps you understand how to troubleshoot the Continuous Deployments on Cloud Run.
This tutorial comprises of the following contents.
Video Tutorial Link: How to Deploy ASP.NET Core MVC Web App (.NET 6) on Google Cloud Run using Cloud Build
How to Map a Custom Domain to Google Cloud Run Service
Finally, this tutorial will help you learn how to Map a Custom Domain to Google Cloud Run Service.
The Custom domain is with Godaddy registrar, and the DNS management is delegated to Cloud Flare. We will first verify our domain ownership with GCP and then add a CName record to point our subdomain or custom domain to ghs.googlehosted.com.
Following are the contents covered in this tutorial.
Video Tutorial Link: How to Map a Custom Domain to Google Cloud Run Service
If you find the series interesting, feel free share this article. Also please do subscribe to TutLinks for more such quality tutorials.