Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

freeCodeCamp

.NET Microservices – Full Course for Beginners

via freeCodeCamp

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Reviews

5.0 rating, based on 2 Class Central reviews

Start your review of .NET Microservices – Full Course for Beginners

  • Profile image for Kashif Usman I
    Kashif Usman I
    greate content and explaining one suggestion that the subtitle should be more correct some time it showes the incorrect words.
  • Emre Gecer
    Nice course. It was very help full for me to create my first app. Would be great if there was angular.

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.