.NET Microservices – Full Course for Beginners

preview_player
Показать описание

Learn the foundational elements of a microservices architecture in this beginner level course where you will incrementally build a real microservices based application with the .NET platform and C#, step by step.

⭐️ Course Contents ⭐️
00:00 Module 1: Welcome to the course!
04:38 Development environment setup
12:25 Customizing VS Code for C# Development
17:23 What's wrong with the monolith?
25:18 What are microservices?

35:04 Module 2: Your first microservice
35:39 Creating a microservice via the .NET CLI
45:32 Introduction to the REST API and DTOs
47:21 Adding the DTOs
50:38 Adding the REST API operations
01:15:43 Handling invalid inputs

01:26:50 Module 3: Adding database storage
01:27:37 Introduction to the repository pattern and MongoDB
01:29:59 Implementing a MongoDB repository
01:44:04 Using the repository in the controller
01:54:57 Introduction to Docker
01:56:43 Trying out the REST API with a MongoDB container
02:09:36 Introduction to Dependency Injection and Configuration
02:14:33 Implementing dependency injection and configuration

02:31:26 Module 4: Preparing for the next microservice
02:32:23 Using Postman
02:47:47 Reusing common code via NuGet
02:51:58 Refactoring into a generic MongoDB repository
03:02:48 Refactoring MongoDB registration into extension methods
03:09:53 Moving generic code into a reusable NuGet package
03:25:50 Introduction to Docker Compose
03:28:10 Moving MongoDB to docker compose

03:39:04 Module 5: Synchronous inter-service communication
03:39:58 Creating the Inventory microservice
04:06:33 Introduction to synchronous communication
04:10:15 Implementing synchronous communication via IHttpClientFactory
04:22:01 Understanding timeouts and retries with exponential backoff
04:25:31 Implementing a timeout policy via Polly
04:35:27 Implementing retries with exponential backoff
04:46:39 Understanding the circuit breaker pattern
04:49:45 Implementing the circuit breaker pattern

04:56:22 Module 6: Asynchronous inter-service communication
04:57:17 Introduction to asynchronous communication
05:07:09 Defining the message contracts
05:10:55 Publishing messages via MassTransit
05:22:07 Standing up a RabbitMQ docker container
05:29:50 Refactoring MassTransit configuration into the reusable NuGet package
05:40:57 Consuming messages for eventual data consistency
06:01:40 Removing the inter-service synchronous communication

06:16:18 Module 7: Initial Frontend Integration
06:19:59 Getting started with the frontend
06:34:41 Understanding CORS
06:40:36 Adding the CORS middleware
06:47:03 Exploring the frontend to microservices communication

07:05:04 Next Steps

#dotnet #microservices
Рекомендации по теме
Комментарии
Автор

For those who are interested in microservices, this is a must watch tutorial. Thanks Mr. Julio for this amazing course. 🙌
Hope to see more from you.

niloynils
Автор

Have finished 3:00:00 hours of watching + implementation, I would say everything is clearly explained.

codingchacha
Автор

It’s amazing how you explained a lot complex concepts or techniques with so much simplicity. Thanks for sharing your massive knowledge with us.

jeanariste
Автор

Hi Julio, excellent tutorial, clear and didactic. Exactly what I was looking for.
Besides the content, one thing I really liked was the way you executed the commands in the terminal. Usually you spoke what was being typed, which was very useful for me who am blind. Because of this small detail I was able to follow practically the entire tutorial without major difficulties.
Thank you very much.

josevilmar
Автор

Julio, I must say, this is amazing, impeccable... I enjoyed this course. I hope there is more where this came from. Thank you

irakozelionel
Автор

Thank you for this amazing course! I'm seriously thinking about getting the full course, I think it's totally worth it.

jassonpincay
Автор

Amazing course with clear explanation! Thank you 🙌

sanketpatel
Автор

Great video to start and learn fundementals.
Imlementing with .NET8 was easy with minor changes.

muhammedmucahit
Автор

Thanks a lot for the awesome course on Microservices! Your teaching style made everything so clear and easy to understand. I really appreciate all the practical skills and knowledge I gained. It’s been super helpful for my growth in this area.

HimadriSen-ys
Автор

Thank you somuch Julio Casal, You are really great ! Really loved this video and it gave a lot of information. God bless you ! 🤗

athul
Автор

Seems to be an error when it comes with Adding MassTransit to the Hosted Service. `Reference to type 'IBusControl' claims it is defined in 'MassTransit', but it could not be found` Any Ideas?

Mke
Автор

Excelente, es el mejor curso que hay en YouTube sobre microservicios, gracias Julio!!

pacho
Автор

Thanks @Julio It is amazing for bingers. You are very good teacher explained very well

rupeshsingh
Автор

My hat's off to you Mr Casal - super well explained, please keep making these videos, they are lifesavers!!!!

Chronox
Автор

man we need more and more of your help keep going

michelchaghoury
Автор

Hi Julio, Big THANKS for a awesome tutorial on microservice. You have explain the concept in simple and clean way. Hats of you !!.

acp
Автор

Thank you for the wonderful tutorial. I wanted to ask a question. Why didn't you use the CancellationToken in any of the async calls and your controller methods? What will happen once the client cancels the operation?

muhammadusama
Автор

Hermano mil gracias por el curso esta espectacular ..!!! Saludos desde Ecuador

orlandoaureliowongmaigua
Автор

Thank you so much for this amazing course 💙, this would have taken 2 years in college time 😄.

arin_faraj
Автор

Well done Julio,
I would to say WOW .
what an explanation !! most completed training about microservices.
I just say thanks 👌👌

saeedpourali