.NET Microservices – Full Course

preview_player
Показать описание
In this step-by-step tutorial I take you through an introduction on building microservices using .NET. As the name suggests we build everything completely from start to finish –with the full scope of the course outlined in the time-stamp section below. However, at a high-level we’ll cover:

• Building two .NET Microservices using the REST API pattern
• Working with dedicated persistence layers for both services
• Deploying our services to Kubernetes cluster
• Employing the API Gateway pattern to route to our services
• Building Synchronous messaging between services (HTTP & gRPC)
• Building Asynchronous messaging between services using an Event Bus (RabbitMQ)

⏲️ Time Codes ⏲️

- 0:00 PART 1 - INTRODUCTION & Theory
- 2:39 Course Approach
- 6:11 Course Overview
- 11:31 Ingredients & Tooling
- 16:14 What are microservices?
- 33:40 Overview of our microservices
- 37:37 Solution Architecture
- 43:54 Application Architecture

- 46:47 PART 2 - BUILDING THE FIRST SERVICE
- 47:33 Scaffolding the service
- 52:37 Data Layer - Model
- 57:35 Data Layer - DB Context
- 1:02:38 Data Layer - Repository
- 1:16:00 Data Layer - DB Preparation
- 1:27:31 Data Layer - Data Transfer Objects
- 1:41:19 Controller and Actions

2:16:21 PART 3 - DOCKER & KUBERNETES
- 2:16:21 Review of Docker
- 2:20:55 Containerizing the Platform Service
- 2:37:29 Pushing to Docker Hub
- 2:42:43 Introduction to Kubernetes
- 2:46:54 Kubernetes Architecture Overview
- 2:58:40 Deploy the Platform service

3:25:01 PART 4 - STARTING OUR 2ND SERVICE
- 3:25:01 Scaffolding the service
- 3:30:41 Add a Controller and Action
- 3:41:50 Overview of Synchronous and Asynchronous Messaging
- 3:55:21 Adding a HTTP Client
- 4:19:34 Deploying service to Kubernetes
- 4:44:55 Adding an API Gateway

5:07:12 PART 5 - STARTING WITH SQL SERVER
- 5:07:12 Adding a Persistent Volume Claim
- 5:12:34 Adding a Kubernetes Secret
- 5:15:12 Deploying SQL Server to Kubernetes
- 5:30:31 Accessing SQL Server via Management Studio
- 5:33:06 Updating our Platform Service to use SQL Server

6:06:02 PART 6 - MULTI-RESOURCE API
- 6:06:02 End Point Review for Commands Service
- 6:09:31 Data Layer - Models
- 6:16:38 Data Layer - DB Context
- 6:21:37 Data Layer - Repository
- 6:34:53 Data Layer - Dtos
- 6:40:49 Data Layer - AutoMapper Profiles
- 6:45:26 Controller & Actions

7:20:49 PART 7 - MESSAGE BUS & RABBITMQ
- 7:20:49 Solution Architecture Overview
- 7:24:06 RabbitMQ Overview
- 7:28:55 Deploy RabbitMQ to Kubernetes

7:43:27 PART 8 - ASYNCHRONOUS MESSAGING
- 7:44:01 Add a Message Bus Publisher to Platform Service
- 8:18:07 Testing our Publisher
- 8:25:19 Command Service ground work
- 8:36:46 Event Processing
- 8:59:14 Adding an Event Listener
- 9:19:29 Testing Locally
- 9:26:28 Deploying to Kubernetes

9:39:12 PART 9 - GRPC
- 9:39:12 Overview of gRPC
- 9:44:06 Final Kubernetes networking configuration
- 9:54:32 Adding gRPC Package references
- 9:56:44 Working with Protocol Buffers
- 10:03:55 Adding a gRPC Server to Platforms Service
- 10:20:53 Adding a gRPC Client to Commands Service
- 10:39:41 Adding a Database prep class to Commands Service
- 10:48:05 Test Locally
- 10:51:01 Deploy to Kubernetes
- 10:58:43 Final thoughts & thanks
- 11:00:55 Supporter Credits
Рекомендации по теме
Комментарии
Автор

Releasing such an amazing course for free on YouTube is the absolute power move. Thank you so much for your work.

nickchapsas
Автор

2:33:19
For those who have error: "socket hang up" in Postman.
Starting with .NET 8, default .NET Core port changed from 80 to 8080.
You can use:
docker run -p 8000:8080 -d <docker hub id>/platformservice

AmirPourpanahi
Автор

I got a job because of what I have learned from you. Thank you very much for releasing such an amazing course. You are the best, mate!

supergfb
Автор

This is absolute gold Mr. Les Jackson. Thanks for such a great learning experience.

vibhoregupta
Автор

Gosh, Les, this is astonishing! I waited soooo much for someone to actually code a bit of microservice shenanigans, and you my friend, just earned yourself a drink, when I get to Melbourne. I can't thank you enough for this and all your other coding courses.

RupOase
Автор

This was a joy to follow, that beer in the end really did it for me, what a great way to end a great course.

PASTRAMIKick
Автор

AMAZING, can't wait to dive in. Thank you so much Les for this, incredible work.

steelrain
Автор

Very well explained! I found it to be very engaging and easy to follow. It's rare that you find a 12-hour programming course that doesn't bore you after the first couple of hours and actually explains every concept as in-depth as this one. Fantastic job!

MrBroccoli
Автор

Man this will be 11 very well spent hours! Loving all your content, Les!

osempo
Автор

Thanks a lot. I was starting to learn microservices, docker and kubernetes.Perfect combination..Thanks a lot again

robymathai
Автор

I honestly think it's one of the best courses I've seen. Thanks Les!

hliastsixlhs
Автор

This course is pure gold. It would be awesome if it would have a part two where you deploy this Microservices System into Azure. Great work again!

TheDrComedy
Автор

Dear Mr. Jackson,
I just can say, Thank You.

shahabjoon
Автор

Invaluable content! I’m new to dotnet and this tutorial going step by step while also explaining things massively helped. What a legend!

MistaT
Автор

Thanks for such an amazing course. I really admire the efforts you have put into it.

gauravAgrawal
Автор

I was missing see you around YouTube, then BANG!! you release such an amazing course. Miles y miles de gracias.

orafasistemas
Автор

This is seriously amazing. Thank you very much for your efforts and contributions.

WolfieVenturi
Автор

It's the type of you that help me put food on the table for my family. Tim Corey also.
You are God sent.

DJosh-csvx
Автор

Yay - now made it all the way through and everything is working. Thanks for giving this great course to everyone.

arome
Автор

Amazing Course! Thank you so much for releasing this free. Worked through it over two weekends and learned so much.

MrLostAlex