.NET Core Microservices - The Complete Guide (.NET 6 MVC)
Video description
Learn the foundational elements of microservices by incrementally building a real microservices-based application with .NET 6
About This Video
Understand the ASPNET Core web application with Bootstrap 5
Learn N-layer implementation with repository pattern
Understand Entity Framework core with SQL server database
In Detail
In this course, you will learn the foundational elements of microservices by incrementally building a …
.NET Core Microservices - The Complete Guide (.NET 6 MVC)
Video description
Learn the foundational elements of microservices by incrementally building a real microservices-based application with .NET 6
About This Video
Understand the ASPNET Core web application with Bootstrap 5
Learn N-layer implementation with repository pattern
Understand Entity Framework core with SQL server database
In Detail
In this course, you will learn the foundational elements of microservices by incrementally building a real microservices-based application with .NET 6, step by step. We will be building multiple microservices and for authentication and authorization, we will be using the Identity server! The content of the course will guide you through the basic blocks of the Identity server and how to get it up and running.
You will learn how to build microservices in the .NET world using .NET API, Ocelot, Identity server, Entity Framework Core, and clean architecture using the latest .NET 6!
We will develop e-commerce modules over Product, Shopping Cart, Ordering, Payment, and Email microservices with SQL server communicating over Azure Service Bus and using Ocelot API gateway. You can find microservices architecture and step-by-step implementation on .NET along with step-by-step developing this course with extensive explanations and details.
By the end of this course, you will have an application with 7 fully working .NET-based microservices but most importantly you will understand every line of code, how the microservices work together, and why we ended up with the final implementation.
Audience
This course is for students looking to explore microservices with .NET core, learn communications with Azure Service Bus, and learn the basics of the Identity Server.
Configure ProductService and HttpClient in Startup
Bootstrap V5
Chapter 4 : Product CRUD
Introduction
Product Controller Get All Action
API Call Debugging
Display All Products
Create Product
Update Product
Delete Product
Chapter 5 : Identity Server
Introduction
OAuth2 and OpenID Connect
Identity Server Introduction
Identity Server Terms
Integrate QuickStart in Identity Server Service
NuGet Packages for Identity Server
DbContext for Identity Server
Configuring APIScope Resource and Clients for Identity Server
Configuring Clients in Identity Server
Configure and Run Identity Server
Seed Users
Secure Product API
Set Up Main Project to Use Identity Server
Login Registration Redirection
Login in Action
Register User From UI
Token Inspection
Passing Custom Claims
View Modified Token
Pass Token and Perform Operations
Chapter 6 : Home and Details
Introduction
Create Index Action Method
Index View Home Controller
Details Get Action Method
Details View
Chapter 7 : Shopping Cart API Service
Introduction
Create Shopping Cart API
NuGet Package for Shopping Cart API
Set Up Startup Class File for Shopping Cart
Entity Models for Shopping Cart API
Create DTOs and Push Models to Shopping Cart Database
Mapping Configuration for Shopping Cart
Cart Repository Interface for Shopping Cart API
Add to Shopping Cart Repository Method
Update Shopping Cart Repository Method
Implement Cart Repository Get and Remove
Cart Controller for API Endpoints
Chapter 8 : Consume Shopping Cart API Service
Introduction
Create models for Shopping Cart API
Define cart service interface
Configure Cart Service
Details Post Action Method
Demo - Add Items to Cart
Chapter 9 : Shopping Cart UI
Introduction
Add Cart Controller
Methods to Load Shopping Cart
Debugging API Call to Shopping Cart
Shopping Cart UI
Remove Items from Cart
Chapter 10 : Coupon API Service
Introduction
Create Coupon Project and Add NuGet Packages
Create Coupon API Project
Coupon Models and DTOs
Coupon Repository
Coupon Controller
Chapter 11 : Consume Coupon API
Introduction
Configure Shopping Cart API with New Methods
Logic for Apply or Remove Coupon in View
Cart Controller and Service for Applying or Removing Coupon
Demo - Apply or Remove Coupon
Configure Cart Service in Main Project
Demo - Calling Coupon Microservice
Checkout UI
DateTimePicker
Chapter 12 : Checkout Functionality
Introduction
Checkout Message
Checkout Method in Cart Service
Checkout Post Action
Demo - Checkout Header DTO
Async Await is not Async Communication in the Project
Synchronous Versus Asynchronous Communication
Chapter 13 : Azure Service Bus
Introduction
Azure Service Bus Overview
Create Azure Service Bus with Topic and Subscription
Message Bus Interface
Message Bus Sender Implementation
Send Message to Topic
Upgrade to Azure Messaging ServiceBus
Chapter 14 : Order API
Introduction
Create Project
Adding Models for Order API
Startup File and Migrations
Order Repository Interface
Implement Order Repository
Configure DbContext for Order Repository
Create Models for Azure Messaging
Process Checkout Message and Create Order Details in Database
Setting Up Constants
Create Service Bus Processor
Set Up Auto Start and Stop for Service Bus Consumer
Demo Receive Message
Chapter 15 : Sync Microservice Communication
Introduction
Create Coupon Repository Interface
Implement Coupon Repository
Configure Start Up File for Coupon Repository
Check for Coupon Changes
Demo - Synchronous Communication and Alerts Display
Synchronous Communication scenario
Chapter 16 : Payments
Introduction
Create Payment Processor Class library
Payment Flow
Payment Status Models
Publish Payment Message
Demo - View Message for Payment Request
Payment API to consume message
Payment API Azure Service Bus Consumer
Demo - Consume Payment Processing
Demo - Consume Payment Status
Demo - Complete Flow
Chapter 17 : Queue
Introduction
Use Queue to Forward Message
Use Queue for Checkout Message
Add Email Microservice
Set Up Email Service Project Part 1
Demo - View Message for Payment Request
Azure Consumer Bus for Email Service
Multiple Subscribers
Chapter 18 : Ocelot
Introduction
Ocelot Introduction
Create Project
Add Ocelot to the Gateway
Use Ocelot to Retrieve All Products
Ocelot Setup for Products API
Ocelot for Other Endpoints
Chapter 19 : RabbitMQ
Introduction
Overview RabbitMQ
Exchange Types
Queues
Install RabbitMQ
Add RabbitMQ NuGet to Project
Implement RabbitMQ Cart Message
RabbitMQ Send Checkout Message to Queue
Set Up RabbitMQ consumer Part 1
Set Up RabbitMQ consumer Part 2
Demo – Consumer RabbitMQSender
Optimize RabbitMQSender
Publish Message from Order API
Consume Message from Order API
Publish to Fanout
RabbitMQ Payment Message Sender
Fanout Subscription Setup
Demo - Fanout
Direct Exchange RabbitMQ Sender
Demo – Direct Message
Start your Free Trial Self paced Go to the Course We have partnered with providers to bring you collection of courses, When you buy through links on our site, we may earn an affiliate commission from provider.
This site uses cookies. By continuing to use this website, you agree to their use.I Accept