Video thumbnail for Working with Google Cloud Storage for ASP.NET Core 6 Applications (Hands-on Tutorial)

Working with Google Cloud Storage for ASP.NET Core 6 Applications (Hands-on Tutorial)

Oct 13, 2022

tutlinks.com

Author: Navule Pavan Kumar Rao. Detailed Article: https://tutlinks.com/google-cloud-storage-asp-net-core/ 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. Create - Uploading a file to Google Cloud Storage Bucket, Read - Retrieving a signed URL of a file from GCS Bucket, Update - Delete and Upload a.k.a replace a file in GCS Bucket Delete - Removing a file from a GCS Bucket This real-time Hands on tutorial is divided in to four parts as described below. Part 1 - GCP Setup Part 2 - Create and Set up ASP.NET Core 6 MVC with EF Core project Part 3 - Implement Cloud Storage Service to perform upload, delete and read files from GCP Cloud Storage Part 4 - Implement MVC application to handle file uploads on GCP Cloud Storage Part 4.1 - Implement MVC for Create View with File Upload functionality to Cloud Storage Part 4.2 - Implement MVC for Details View with Show file from Signed URL of a file in Cloud Storage Part 4.3 - Implement MVC for Edit View with File Delete & Upload (replace) functionality to Cloud Storage Part 4.4 - Implement MVC for Delete View with File Delete functionality from Cloud Storage Contents Part 1 - GCP Setup 00:00:00 Introduction 00:00:21 Login to GCP 00:00:41 Create a Project 00:01:28 Crate a Bucket 00:03:13 Create a Service Account 00:05:22 Create & Download key for Service Account Part 2 - Create and Set up ASP.NET Core 6 MVC with EF Core project 00:06:58 Create ASP.NET Core 6 MVC Razor Project in Visual Studio 00:10:31 Update appsettings.json 00:13:06 Create GCS Config Options class 00:13:51 Register GCS Config Options class in services 00:14:36 Add Nuget - Google.Cloud.Storage.V1 Part 3 - Implement Cloud Storage Service to work upload, delete and read files from GCP Cloud Storage 00:15:45 Create a Cloud Storage Service 00:21:40 Implement Upload File Async for Google Cloud Storage 00:24:51 Implement Delete File Async for Google Cloud Storage 00:25:57 Implement Get Signed Url Async for Google Cloud Storage 00:29:19 Register Cloud Storage Service as singleton Part 4 - Implement MVC application to handle file uploads on GCP Cloud Storage 00:30:10 Add a model with IFormFile field 00:32:19 Add a Controller 00:34:16 Manage Nuget packages - Add NpgSQL, Remove MSSQL 00:35:26 UseNpgSql in Program.cs & Update Connection String 00:36:09 Add Migrations 00:38:23 Update Database 00:41:00 Update Shared Layout Navigation to show Animals menu 00:42:26 Styling Home Page with Animals Poster Part 4.1 - Implement MVC for Create View with File Upload functionality to Cloud Storage 00:44:28 Create Razor View with File Upload 00:46:33 Update Controller to depend on Cloud Storage Service 00:47:18 Implement Create Action to invoke Upload File to Cloud Storage 00:51:15 Test a file upload & Verify in Cloud Storage Bucket Part 4.2 - Implement MVC for Details View with Show file from Signed URL of a file in Cloud Storage 00:55:31 Details Razor View with Image rendered from Signed URL 00:56:52 Implement Details Action to get Signed URL from Cloud Storage 01:01:17 Edit Razor View with File Upload Part 4.3 - Implement MVC for Edit View with File Delete & Upload (replace) functionality to Cloud Storage 01:04:17 Implement Edit Action to Replace file in Cloud Storage 01:08:52 Test Edit Animal & Verify replace file in Cloud Storage Bucket 01:09:59 Delete Razor View with Image rendered from Signed URL Part 4.4 - Implement MVC for Delete View with File Delete functionality from Cloud Storage 01:11:40 Implement Delete Action to remove file in Cloud Storage Bucket 01:12:57 Verify Delete Animal removes file from Cloud Storage Bucket 01:14:56 Play with the file CRUD operations on GCP 01:15:18 Showing List of Animals along with Photos in Index Razor View 01:15:18 Implement Index Action to get list of Signed URLs from GCS Resources: https://youtu.be/cYFYfYXObgA Full Source Code: https://github.com/windson/AnimalKingdom #aspnetcore #googlecloud #cloudstorage #gcp ------------------------------------------------------------------------------------------------ 🆂🆄🅱🆂🅲🆁🅸🅱🅴 to 🆃🆄🆃🅻🅸🅽🅺🆂 channel if you like the content http://bit.ly/2Uc0YNk 🆂🆄🅱🆂🅲🆁🅸🅱🅴: http://bit.ly/2Uc0YNk (っ◔◡◔)っ Share this video with your friends and colleagues and let them know you are up to date with latest tech-trends Thanks 🙏 Follow us to keep updated with latest trends in Tech: Facebook: http://bit.ly/2Djmd6l Twitter: http://bit.ly/2Ol9ZQT Ins
Software Operating Systems Web Services Science Cloud Storage