.NET Core Microservices - The Complete Guide (.NET 6 MVC) [Video]
- FREE Subscription Read for free
- $19.99 Video Buy
- $12.99 Video + Subscription Buy
-
What do you get with a Packt Subscription?
- Instant access to this title and 7,500+ eBooks & Videos
- Constantly updated with 100+ new titles each month
- Breadth and depth in over 1,000+ technologies
-
Free ChapterIntroduction
-
Product API Basic Setup
-
Products API Advance Setup
- Introduction
- Create DTOs Inside Product API
- Product Repository Interface
- AutoMapper Configuration in Product API
- Product Repository Implementation Part 1
- Product Repository Implementation Part 2
- Product API Controller HTTPGET
- Product API Controller POST PUT DELETE
- Seed Products in Product API
- Azure Storage Explorer for Images
- Product Repository Interface and DTOS
- Base Service Interface and API Request Model
- Base Service Implementation
- Product Service in Mango Web Project
- Configure ProductService and HttpClient in Startup
- Bootstrap V5
-
Product CRUD
-
IdentityServer
- Introduction
- OAuth2 and OpenID Connect
- IdentityServer Introduction
- V6 Duende Server
- Integrate QuickStart in IdentityServer Service
- NuGet Packages for IdentityServer
- DbContext for IdentityServer
- Configuring APIScope Resource and Clients for IdentityServer
- Configuring Clients in IdentityServer
- Configure and Run IdentityServer
- Seed Users
- Secure Product API
- Set Up Main Project to Use IdentityServer
- Login Registration Redirection
- Login in Action
- Register User from UI
- Token Inspection
- Passing Custom Claims
- View Modified Token
- Pass Token and Perform Operations
-
Home and Details
-
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
-
Consume Shopping Cart API Service
-
Shopping Cart UI
-
Coupon API Service
-
Consume Coupon API
-
Checkout Functionality
-
Azure Service Bus
-
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
-
Sync Microservice Communication
-
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
-
Queue
-
Ocelot
-
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
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 IdentityServer. The content of the course will guide you through the basic blocks of 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, IdentityServer, Entity Framework core, and clean architecture using the latest .NET 6!
We will develop ecommerce 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 development in this course with extensive explanations and details.
By the end of this course, you will have an application with seven 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.
All resources and code files are placed at https://github.com/PacktPublishing/.NET-Core-Microservices---Complete-Guide-.NET-6-MVC-
- Publication date:
- February 2022
- Publisher
- Packt
- Duration
- 11 hours 52 minutes
- ISBN
- 9781803247793