YoVDO

.NET Microservices – Full Course for Beginners

Offered By: freeCodeCamp

Tags

Microservices Courses ASP.NET Core Courses MongoDB Courses .NET Courses Postman Courses REST APIs Courses

Course Description

Overview

Embark on a comprehensive 7-hour journey into the world of .NET microservices with this beginner-friendly course. Build a real microservices-based application using the .NET platform and C#, starting from the basics and progressing to advanced concepts. Explore the fundamentals of microservices architecture, create your first microservice using the .NET CLI, and learn about REST APIs and DTOs. Dive into database storage with MongoDB, implement the repository pattern, and harness the power of Docker for containerization. Master both synchronous and asynchronous inter-service communication techniques, including circuit breaker patterns and message publishing with MassTransit. Gain hands-on experience with frontend integration, understanding CORS, and exploring microservices communication. By the end of this course, you'll have a solid foundation in .NET microservices development and be ready to tackle more advanced challenges in this architectural paradigm.

Syllabus

) Module 1- Welcome to the course!.
) Development environment setup.
) Customizing VS Code for C# Development.
) What's wrong with the monolith?.
) What are microservices?.
) Module 2- Your first microservice.
) Creating a microservice via the .NET CLI.
) Introduction to the REST API and DTOs.
) Adding the DTOs.
) Adding the REST API operations.
) Handling invalid inputs.
) Module 3- Adding database storage.
) Introduction to the repository pattern and MongoDB.
) Implementing a MongoDB repository.
) Using the repository in the controller.
) Introduction to Docker.
) Trying out the REST API with a MongoDB container.
) Introduction to Dependency Injection and Configuration.
) Implementing dependency injection and configuration.
) Module 4- Preparing for the next microservice.
) Using Postman.
) Reusing common code via NuGet.
) Refactoring into a generic MongoDB repository.
) Refactoring MongoDB registration into extension methods.
) Moving generic code into a reusable NuGet package.
) Introduction to Docker Compose.
) Moving MongoDB to docker compose.
) Module 5- Synchronous inter-service communication.
) Creating the Inventory microservice.
) Introduction to synchronous communication.
) Implementing synchronous communication via IHttpClientFactory.
) Understanding timeouts and retries with exponential backoff.
) Implementing a timeout policy via Polly.
) Implementing retries with exponential backoff.
) Understanding the circuit breaker pattern.
) Implementing the circuit breaker pattern.
) Module 6- Asynchronous inter-service communication.
) Introduction to asynchronous communication.
) Defining the message contracts.
) Publishing messages via MassTransit.
) Standing up a RabbitMQ docker container.
) Refactoring MassTransit configuration into the reusable NuGet package.
) Consuming messages for eventual data consistency.
) Removing the inter-service synchronous communication.
) Module 7- Initial Frontend Integration.
) Installing Node.js.
) Getting started with the frontend.
) Understanding CORS.
) Adding the CORS middleware.
) Exploring the frontend to microservices communication.
) Next Steps.


Taught by

freeCodeCamp.org

Related Courses

Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity
Introduction to MongoDB using the MEAN Stack
MongoDB via edX
Desarrollo de aplicaciones avanzadas con Android
Universidad Nacional Autónoma de México via Coursera
Utilisez des API REST dans vos projets web
IBM via OpenClassrooms
Extend Your Application with REST Services
Microsoft via edX