Mô tả

Is your project or your team suffering from the drawbacks of a Monolithic application? or are you one of those developers who have heard the buzz word about Microservices but you don't know where to start from? or are you wondering if a microservices architecture is the right fit for your .NET project? or are you tired of other courses where they give you a good start but halfway through the course you wonder what is going on and nothing makes sense!

If so, then this is the perfect course for all of your questions!

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 and for authentication and authorization we will be using .NET Identity! 

Learn how to build Microservices in the .NET world using .NET API, Ocelot, .NET Identity, Entity Framework Core and clean architecture using the latest .NET 8!

You 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 which step by step developing this course with extensive explanations and details.

Along with this you’ll develop following microservices and items:

  • Product Microservice

  • .NET Identity Microservice

  • Coupon Microservice

  • Shopping Cart Microservice

  • Order Microservice

  • Email Microservice

  • Payment Microservice

  • Ocelot Gateway Project

  • MVC Web Application


On top of all these, you'll learn how to write quality code, not just how to build microservices. In this course you will see the demonstrating a layered application architecture with best practices.


Is this course for you?

If you are the developer who likes to get hands dirty with programming this is the perfect course! I love to code from scratch and explain the basics, so that is a main considering for this course as well! This course is very practical, about 90%+ of the lessons will involve you coding along with me on this project.

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.

Bạn sẽ học được gì

.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

Yêu cầu

  • .NET Core CRUD experience
  • .NET API CRUD experience
  • Entity Framework Core CRUD experience
  • Visual Studio 2019 / 2019 Preview (if using .NET 8)
  • SQL Server Management Studio 2018

Nội dung khoá học

19 sections

Section 1 Introduction

10 lectures
Introduction
02:51
What we will Build
05:30
Course Overview
02:54
Why Microservices?
06:12
Microservice Architecture
06:18
Project Architecture
01:58
Tools Needed
01:38
What this course is NOT about?
02:30
Prerequisites
01:20
Project Resources
01:30

Section 2 Coupon API - Getting Started

12 lectures
Create Empty Solution
01:26
Create Folder Structure
01:21
Create Coupon API
01:59
Create Coupon and CouponDTO
03:01
Install Nuget Packages
03:28
Create AppDbContext
02:08
Create Coupon API Database
07:06
Seed Database
04:46
Get all and Get Coupon by ID
04:21
Common Response
04:21
AutoMapper
06:28
Coupon API CRUD Endpoints
07:09

Section 3 Coupon API - CRUD

16 lectures
Create Web Project
00:59
Create Request and Response DTO
04:26
Base Service Interface
01:34
Base Service Implementation
08:42
Coupon Service Interface
03:04
Register Services in Program Class File
04:59
Endpoints in Coupon Service
03:58
Bootswatch Theme and Bootstrap Icons
05:52
Coupon Controller
03:53
API Call in Action
03:03
Coupon Index View
02:55
Create Coupon View
04:48
Create Coupon in Action
01:55
Delete Coupon and Error
05:11
Delete Coupon in Action
02:19
Toastr Notifications
07:43

Section 4 Auth API

13 lectures
Create Auth API and NuGet Packages
01:43
Add DbContext and Create Identity Tables
08:30
Add Custom Properties to User Table
03:39
Endpoints for Login and Register
01:39
Add DTO's
04:13
Configure JwtOptions
03:28
IAuth Service
03:54
Register Endpoint in Auth Service
03:34
Register in Action
04:44
Login in Action
04:13
Generate Jwt Token
07:45
Token in Action
03:39
Assign Role
07:38

Section 5 Consuming Auth API

17 lectures
Add DTO's in Web Project
02:03
Auth Service in Web Project
03:35
Auth Controller in Web Project
03:53
Login and Register UI
04:13
Dropdown for Role
02:31
Register in Action with Role
04:39
Login in Action
02:55
Token Provider Services
03:47
Sign in a user in .NET Identity
08:01
Logout in Action
03:05
Adding Roles in Token
06:23
Validation with Login and Register
03:20
Internal Server Error
04:47
Addd Authentication to Swagger Gen
05:59
Passing Token to API
03:25
Clean Code
02:25
Roles Demo
01:36

Section 6 Product API

5 lectures
Product API Base Setup
04:03
Assignment Product API
03:04
Assignment Product API in Action
06:34
Assignment - Consuming Product API Part 1
09:39
Assignment - Consuming Product API Part 2
07:45

Section 7 Home Page and Details

5 lectures
Home Controller Index Action
02:16
Home Page UI
02:59
Details Get Action Method
01:20
Details UI
02:15
Add Count in Product
02:43

Section 8 Shopping Cart

12 lectures
Create Project and NuGet Packages
00:51
Create Model and DTO's
06:52
Basic API Setup
03:23
Create Cart API Controller
02:13
Cart Upsert Logic Part 1
06:35
Cart Upsert Logic Part 2
10:26
Remove Cart Details
03:01
Load Shopping Cart
03:42
Calling Product API from Shopping Cart
00:42
Interservice API Call in Action
08:49
Apply and Remove Coupon Endpoints
03:09
Consuming Coupon API
08:37

Section 9 Shopping Cart in Web Project

10 lectures
Add Cart Service
06:56
Load Shopping Cart in Web Project
04:01
Fixing a Bug
03:09
Add Items to Shopping Cart
06:04
Shopping Cart UI
04:45
Shopping Cart Functional
09:59
Delegating Handlers
05:50
Shopping Cart Bug
01:42
Async in Project
01:57
Async vs Sync Communication in Microservice
05:37

Section 10 Service Bus

7 lectures
Service Bus in our Architecture
03:24
Create Service Bus in Azure
02:28
Create Queue in Service Bus
02:41
MessageBus Interface
02:57
MessageBus Implementation
04:12
Post Message to Service Bus
06:55
More Properties in Cart
02:55

Section 11 Email API - Service Bus Receiver

9 lectures
Setup Email and DTO's
05:28
Implement Processor for Service Bus
05:54
Register Methods to Processor
04:10
Register Service Bus Consumer on Application Start
04:12
Consuming Messages in Action
03:42
Asynchronous Communication in Action
07:00
Assignment - Register User Queue
01:52
Assignment Solution Part 1 - Send Message to Queue
03:42
Assignment Solution Part 2 - Processor on Register User Queue
04:26

Section 12 Checkout UI and Order API

11 lectures
Checkout UI
03:28
Dynamic Checkout UI
05:24
Create Order API
01:01
Add DTO's in Order API
01:48
Order Header and Details Model and DTO's
04:53
Order API Base Setup
05:15
Mapping Config for Order API
03:13
Constants in Order API
01:41
Order Create Endpoint
05:02
Create Order Service
03:53
Create Order Header
05:36

Section 13 Stripe Checkout

10 lectures
Stripe Flow and Stripe DTO
04:55
Order Confirmation Page
02:52
Configure Stripe in Project
05:17
Create Stripe Session in Order API
06:36
Call Stripe Session Endpoint from Web Project
06:51
Stripe Bug
02:05
Manage Stripe Coupons
06:13
Stripe Coupons and Order in Action
05:00
Validate Stripe Session
03:42
Payment Intent and Status
04:58

Section 14 Rewards API

10 lectures
Topic and Subscription in Service Bus
02:41
Create Rewards API
01:15
Setup DBContext and Rewards Table
02:25
Publish Message to Topic
06:22
Send Message to Topic in Action
01:09
Reward Service
03:59
Add Service Bus Consumer to Rewards API
04:22
New Method in Email Service
01:43
Consumer Order Created Subscription Message
03:30
Solving Bug with Consumers
01:58

Section 15 Order Management

14 lectures
Get All and Individual Order Endpoints
03:55
Update Order Status Endpoint
03:39
Add Endpoints to Order Service
02:20
Order List UI
02:40
Configure Database Endpoint
06:17
Load Datatables
04:58
Order Details Get Action
02:30
Dynamic Order Details UI
04:47
Dynamic Status Buttons
02:15
Dynamic Status Updates
06:20
Add Status Filter in URL
02:14
Modify Controller to Accept Status
01:27
Toggle UI Filters
02:51
Filter in Action
02:10

Section 16 Upload Images

8 lectures
Modify Product Model and DTO
04:24
Modify Base Service for Form File
06:46
Post Endpoint in ProductAPI
05:17
Upload Image on Create Product
08:49
Solve Bug with Create Product
01:41
Delete Product with Image
02:04
Update Product Image in Action
05:52
Custom Validation with Data Annotations
06:23

Gateway

13 lectures
Gateway Introduction
06:26
Create Gateway Project
02:06
Configure Application to use Ocelot
00:47
Add Authentication to Ocelot
02:07
Add First Ocelot Route
05:39
Product Functional with Ocelot
05:20
Ocelot Coupon Endpoints
03:04
Ocelot Assignment
00:27
Shopping Cart Endpoints with Ocelot
03:50
Order Endpoints in Ocelot
06:22
Clean Code
02:04
Ocelot Bug
01:58
Small UI Update
01:34

Azure Deployment

9 lectures
Remove Ocelot
00:51
Create Database for API's
07:16
Production Appsettings with Azure SQL Database
05:53
Deploy Auth API to Azure
05:37
Host API and Modify Environment Variable
09:31
Deploy Web Project
08:41
Microservices Functional on Azure
02:12
Deploy Gateway Project
00:56
Gateway in Action on Azure
07:13

RabbitMQ Implementation

17 lectures
Installing RabbitMQ
03:04
New Branch for RabbitMQ
00:31
RabbitMQ Message Sender
06:15
Send Message to RabbitMQ Queue
02:49
Retrieve Message in RabbitMQ Management
01:43
Create Rabbit MQ Consumer Part 1
03:51
Create Rabbit MQ Consumer Part 2
04:09
Consuming Message in Action
01:39
More optimized RabbitMQ Sender
01:46
Assignment - Email Functionality with RabbitMQ
00:33
Assignment - Send Message to Queue
04:23
Assignment - Consumer Message in Action
03:12
Publish to Fanout
03:54
Publish to Fanout in Action
04:00
Fanout in Action
08:22
Direct Exchange Rabbit MQ Sender
03:10
Demo - Direct Message
05:23

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.