Course Highlights
  • .NET Core Microservices - The Complete Guide (.NET 8 MVC)
  • Implementing 7 microservices using .NET 8
  • .NET API with Authentication and Authorization
  • Role based authorization with .NET Identity
  • Async and Sync communication between Microservices
  • Azure Service Bus - Topics and Queues
  • Gateways in Microservices
  • Implementing Ocelot gateway
  • Swagger Open API implementation
  • N-Layer implementation with Repository Pattern
  • ASPNET Core Web Application with Bootstrap 5
  • Entity Framework Core with SQL Server Database
Curriculum

10 Topics
Introduction
What we will Build
Course Overview
Why Microservices?
Microservice Architecture
Project Architecture
Tools Needed
What this course is NOT about?
Prerequisites
Project Resources

12 Topics
Create Empty Solution
Create Folder Structure
Create Coupon API
Create Coupon and CouponDTO
Install Nuget Packages
Create AppDbContext
Create Coupon API Database
Seed Database
Get all and Get Coupon by ID
Common Response
AutoMapper
Coupon API CRUD Endpoints

16 Topics
Create Web Project
Create Request and Response DTO
Base Service Interface
Base Service Implementation
Coupon Service Interface
Register Services in Program Class File
Endpoints in Coupon Service
Bootswatch Theme and Bootstrap Icons
Coupon Controller
API Call in Action
Coupon Index View
Create Coupon View
Create Coupon in Action
Delete Coupon and Error
Delete Coupon in Action
Toastr Notifications

13 Topics
Create Auth API and NuGet Packages
Add DbContext and Create Identity Tables
Add Custom Properties to User Table
Endpoints for Login and Register
Add DTO's
Configure JwtOptions
IAuth Service
Register Endpoint in Auth Service
Register in Action
Login in Action
Generate Jwt Token
Token in Action
Assign Role

17 Topics
Add DTO's in Web Project
Auth Service in Web Project
Auth Controller in Web Project
Login and Register UI
Dropdown for Role
Register in Action with Role
Login in Action
Token Provider Services
Sign in a user in .NET Identity
Logout in Action
Adding Roles in Token
Validation with Login and Register
Internal Server Error
Addd Authentication to Swagger Gen
Passing Token to API
Clean Code
Roles Demo

5 Topics
Product API Base Setup
Assignment Product API
Assignment Product API in Action
Assignment - Consuming Product API Part 1
Assignment - Consuming Product API Part 2

5 Topics
Home Controller Index Action
Home Page UI
Details Get Action Method
Details UI
Add Count in Product

12 Topics
Create Project and NuGet Packages
Create Model and DTO's
Basic API Setup
Create Cart API Controller
Cart Upsert Logic Part 1
Cart Upsert Logic Part 2
Remove Cart Details
Load Shopping Cart
Calling Product API from Shopping Cart
Interservice API Call in Action
Apply and Remove Coupon Endpoints
Consuming Coupon API

10 Topics
Add Cart Service
Load Shopping Cart in Web Project
Fixing a Bug
Add Items to Shopping Cart
Shopping Cart UI
Shopping Cart Functional
Delegating Handlers
Shopping Cart Bug
Async in Project
Async vs Sync Communication in Microservice

7 Topics
Service Bus in our Architecture
Create Service Bus in Azure
Create Queue in Service Bus
MessageBus Interface
MessageBus Implementation
Post Message to Service Bus
More Properties in Cart

9 Topics
Setup Email and DTO's
Implement Processor for Service Bus
Register Methods to Processor
Register Service Bus Consumer on Application Start
Consuming Messages in Action
Asynchronous Communication in Action
Assignment - Register User Queue
Assignment Solution Part 1 - Send Message to Queue
Assignment Solution Part 2 - Processor on Register User Queue

11 Topics
Checkout UI
Dynamic Checkout UI
Create Order API
Add DTO's in Order API
Order Header and Details Model and DTO's
Order API Base Setup
Mapping Config for Order API
Constants in Order API
Order Create Endpoint
Create Order Service
Create Order Header

10 Topics
Stripe Flow and Stripe DTO
Order Confirmation Page
Configure Stripe in Project
Create Stripe Session in Order API
Call Stripe Session Endpoint from Web Project
Stripe Bug
Manage Stripe Coupons
Stripe Coupons and Order in Action
Validate Stripe Session
Payment Intent and Status

10 Topics
Topic and Subscription in Service Bus
Create Rewards API
Setup DBContext and Rewards Table
Publish Message to Topic
Send Message to Topic in Action
Reward Service
Add Service Bus Consumer to Rewards API
New Method in Email Service
Consumer Order Created Subscription Message
Solving Bug with Consumers

14 Topics
Get All and Individual Order Endpoints
Update Order Status Endpoint
Add Endpoints to Order Service
Order List UI
Configure Database Endpoint
Load Datatables
Order Details Get Action
Dynamic Order Details UI
Dynamic Status Buttons
Dynamic Status Updates
Add Status Filter in URL
Modify Controller to Accept Status
Toggle UI Filters
Filter in Action

8 Topics
Modify Product Model and DTO
Modify Base Service for Form File
Post Endpoint in ProductAPI
Upload Image on Create Product
Solve Bug with Create Product
Delete Product with Image
Update Product Image in Action
Custom Validation with Data Annotations

13 Topics
Gateway Introduction
Create Gateway Project
Configure Application to use Ocelot
Add Authentication to Ocelot
Add First Ocelot Route
Product Functional with Ocelot
Ocelot Coupon Endpoints
Ocelot Assignment
Shopping Cart Endpoints with Ocelot
Order Endpoints in Ocelot
Clean Code
Ocelot Bug
Small UI Update

9 Topics
Remove Ocelot
Create Database for API's
Production Appsettings with Azure SQL Database
Deploy Auth API to Azure
Host API and Modify Environment Variable
Deploy Web Project
Microservices Functional on Azure
Deploy Gateway Project
Gateway in Action on Azure

17 Topics
Installing RabbitMQ
New Branch for RabbitMQ
RabbitMQ Message Sender
Send Message to RabbitMQ Queue
Retrieve Message in RabbitMQ Management
Create Rabbit MQ Consumer Part 1
Create Rabbit MQ Consumer Part 2
Consuming Message in Action
More optimized RabbitMQ Sender
Assignment - Email Functionality with RabbitMQ
Assignment - Send Message to Queue
Assignment - Consumer Message in Action
Publish to Fanout
Publish to Fanout in Action
Fanout in Action
Direct Exchange Rabbit MQ Sender
Demo - Direct Message

  Write a Review

.NET Core Microservices - The Complete Guide (.NET 8 MVC)

Go to Paid Course