Build Microservice architecture on .NET Core using ASP.NET Core, RabbitMQ, MongoDB, Redis, Masstransit and CQRS Pattern
Learn the basics of microservices and what problem it solves.
What you’ll learn
- Fundamentals of Microservices architecture..
- Implement API Gateway using ASP .Net Core Application..
- Connect Microservice with MongoDB..
- How to Structure Microservice Project..
- Develop microservices with ASP .NET Core.
- Postman tool installation and Basics..
- Install RabbitMQ to implement event based communication in microservice ecosytem..
- Install Masstransit to communicate with RabbitMQ from Application..
- Fundamentals of AMQP (Advanced Message Queuing Protocol) and RabbitMQ..
- Communicate between API Gateway and microservice using RabbitMQ with Masstransit..
- Create Masstransit Consumers to consume published messages..
- Fundamentals of CQRS (Command Query Segregation Principle)..
- Refactor application as per CQRS Design (Physical layer Separation)..
- Implement Authentication Mechanism using JWT Token..
- Basics of Unit Testing..
- Unit testing Product Controller with nUnit..
- Unit Testing Login method using Masstransit In-Memory test harness..
- What is Benchmarking and Apache Bench Installation to micro-benchmark our application..
- Need of Resilient Microservices..
- Basics of Polly (A transient fault handling library)..
- Implementation of Fallback Policy..
- Implementation of Retry Policy..
- How to wrap multiple policies as one using Wrap Policy..
- What is Jittering and implementation of Wait Retry Policy..
- What is Circuit Breaker Pattern..
- Implementation of Circuit Breaker Pattern using Circuit Breaker Policy..
- Implementation of Advance Circuit Breaker Policy..
- What is Bulkhead Isolation..
- Implementation of Bulk Isolation Policy..
- Basics of Redis and its installation..
- Create Cart Service using in memory database (Redis)..
- Swagger Implementation for Order service to document Order API endpoints..
- What is Distributed Transaction in microservices..
- Distributed Transaction Techniques. (Theory)..
- What is Routing Slip Pattern..
- Implementing Routing Slip pattern using Masstransit Courier to handle distributed transaction. (Long lived transactions are not covered)..
- Monitoring Routing Slip Execution with help of Routing Slip Events..
Course Content
- Introduction –> 3 lectures • 17min.
- Creating First Microservice (Product API). –> 6 lectures • 44min.
- Implementing API Gateway –> 7 lectures • 38min.
- CQRS (Command Query Segregation Principle) –> 5 lectures • 30min.
- Creating Second Microservice (User API) –> 5 lectures • 55min.
- Authorizing API Endpoints with JWT Access Tokens. –> 3 lectures • 29min.
- Unit Testing –> 6 lectures • 40min.
- Benchmarking –> 5 lectures • 11min.
- Fault Tolerant Microservices using Polly. –> 6 lectures • 37min.
- Creating Third Microservice (Cart API) –> 4 lectures • 30min.
- Creating Fourth Microservice (Order API) –> 4 lectures • 29min.
- Creating Fifth Microservice (Wallet API) –> 2 lectures • 21min.
- Creating Sixth Microservice (Inventory API) –> 2 lectures • 18min.
- Distributed Transaction in Microservices. –> 13 lectures • 1hr 11min.
- Closing Note. –> 1 lecture • 2min.
Requirements
- Good understanding of C#..
- Basic understanding of HTTP..
- Basic understanding of ASP .Net Core..
- Learn the basics of microservices and what problem it solves.
- Learn the basics of the components of the microservices (API Gateway, Message Brokers, Services, Database).
- Implement a microservice architecture with event-driven communication using ASP.NET Core, RabbitMQ, Masstranit, and MongoDB.
- Learn microservice by following step-by-step coding tutorials and implementations of key concepts.
- Learn Masstransit and its features to work with message brokers like RabbitMQ, ActiveMQ, or Azure Service Bus.
- Connect Microservice with MongoDB and use Robo3T for viewing MongoDB data.
- Learn Postman tool installation and its basics.
- Learn fundamentals of AMQP (Advanced Message Queuing Protocol) and RabbitMQ and its exchanges.
- Learn API Gateways and how to communicate between API Gateway and microservices over RabbitMQ Message Broker.
- Learn fundamentals of CQRS (Command Query Segregation Principle).
- Implement Authentication and Authorization in microservices using JSON Web Tokens.
- Learn the necessary tools required in the microservice ecosystem.
- What is Benchmarking and Apache Bench Installation to micro-benchmark our application.
- Learn how to unit test APIs and Masstransit Events Consumers using NUnit.
- Learn to write resilient microservices using Polly ( fault-tolerant library ).
- Learn what are distributed transactions and how to implement distributed transactions in microservices.
- What is Routing Slip Pattern.
- Implementing Routing Slip pattern using Masstransit Courier to handle the distributed transaction.
Get Tutorial
https://www.udemy.com/course/introduction-to-asp-net-core-microservices/ced28f8305a22ae7183dd60fa3bcb98db3e271ee