Video description
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.
What You Will Learn
- Understand .NET 6 microservices architecture
- Learn .NET API with authentication and authorization
- Explore role-based authorization with the IdentityServer
- Understanding IdentityServer integration
- Learn the Azure Blob Storage basics
- Understand Azure Service Bus - topics and queues
Audience
This course is for students looking to explore microservices with .NET core, learn communications with Azure Service Bus, and learn the basics of IdentityServer.
About The Author
Bhrugen Patel: Bhrugen Patel is a passionate and creative software engineer with a strong focus on simplicity and thorough details. He has been programming since high school and was involved with multiple web and desktop projects using .NET. He has a master’s degree in computer science and a bachelor’s degree in computer engineering. He also has many years of experience with .NET C# and .NET MVC. He enjoys teaching alongside his full-time job.
Publisher resources
Table of contents
- Chapter 1 : Introduction
- Chapter 2 : Product API Basic Setup
-
Chapter 3 : 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
- Chapter 4 : Product CRUD
-
Chapter 5 : 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
- Chapter 6 : Home and Details
-
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
- Chapter 9 : Shopping Cart UI
- Chapter 10 : Coupon API Service
- Chapter 11 : Consume Coupon API
- Chapter 12 : Checkout Functionality
- Chapter 13 : Azure Service Bus
-
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
-
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
- Chapter 18 : Ocelot
-
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
Product information
- Title: .NET Core Microservices - The Complete Guide (.NET 6 MVC)
- Author(s):
- Release date: February 2022
- Publisher(s): Packt Publishing
- ISBN: 9781803247793
You might also like
video
Microsoft Power BI - The Complete Masterclass [2023 EDITION]
Microsoft Power BI is an interactive data visualization software primarily focusing on business intelligence, part of …
video
Docker for the Absolute Beginner - Hands-On
Docker is an open platform for developers and sysadmins to build, deploy, and run distributed applications …
video
Ultimate ASP.NET Core Web API Development Guide
Learn how to build a RESTful API using ASP.Net Core API, Entity framework, and enterprise-grade practices …
video
C# Basics for Absolute Beginners in C# and .NET
Learn the fundamentals of C# .NET programming from the ground up About This Video Build a …