Skip to main content
00:00/00:00
Lecture 123 of 309

Service Unavailable - Middleware domain inclusion test

Download Course (Free)

Course Content

0 / 309 completed
Section 1: Introduction4 videos

What we will develop

5m

How we shall start implementations

1m

Learning styles - Suggestions

10m

Micro-Service Architecture review

37m
Section 2: Custom Nuget Package - Authentication Library15 videos

Project Creation

12m

Package Overview

7m

Constants - Action

16m

Permission access properties

12m

Claim Constants

5m

Permission Requirement

9m

More Permissions

54m

Permission Policy Provider

23m

Push code to DevOps Repository

12m

Permission Authorization Handler

52m

Custom Authorize Attribute

15m

Setting Up Azure DevOps Nuget Feed

45m

CI-CD Pipeline

24m

Package metadata

33m

First pipeline run and Package release

32m
Section 3: Custom Response Wrapper9 videos

Response wrapper interfaces

10m

Response wrapper implementations - non generic

23m

Response wrapper implementation - generic

30m

Custom Validation Exception

12m

Response wrapper implementation - generic success asynchronously

14m

None Generic ToResponse extension method - nuget package

5m

Response Wrapper extension

33m

Package metadata

9m

CI-CD Pipeline

14m
Section 4: Authentication Service - Custom Identity Service73 videos

Introduction

9m

Solution Creation

10m

Application Role and Role Claim

6m

Packages Installation

27m

Application User

20m

Apply Configurations From Assembly

5m

Db Context

37m

Db Table Configurations

21m

DI - Db Context

28m

Identity Models - Theory

5m

More Identity models

18m

User registration request model

22m

User role view model

14m

EFcore Migration

1h 27m

Role Claims request models

11m

Response Wrapper package release

13m

Update Role Claims request

14m

User registration command complete

10m

Package update and CQRS

30m

Package ID change

37m

User registration command

19m

Roles Constants

16m

Update User method definition and command

8m

User registration interface implementation

37m

Additional User service definitions

4m

Update User implementation

26m

Get user by id implementation

23m

Assign User to role

47m

Userservice more methods implementations

34m

Get User Roles implementation

46m

Change User Password Command

12m

Get User Roles implementation

46m

Additional User commands

12m

Update user roles implementation

1h 9m

Additional User queries

8m

Delete Role implementation

9m

Role Service Interface and Create Role implementation

25m

Additional implementations

13m

Role commands

13m

Role Queries

8m

User and Role services to DI

6m

Update Role Permissions implementation

1h

Seeder to DI

17m

Seed Roles and Permissions

1h 9m

Get Role Permissions implementation

1h 30m

Token Service interface definition

5m

Seeder test - DI Errors

1h 8m

Seed Users

1h 30m

Seed test - Complete

43m

Token Service implementation part 1

35m

Get Claims for token

42m

Token Service implementation part 2

54m

More token helpers

41m

Token Service into DI

3m

Token queries

11m

Get Claim Principal From Expired Token

51m

MediatR into DI

7m

Login Endpoint

16m

Refresh token endpoint

8m

Add Authorization - dynamic permissions adding

26m

Login test - pass

19m

JWT Bearer Auth into DI part 1

45m

Refresh token complete

57m

Role Controller endpoints - Assignment

2m

Role controller endpoints - Assignment solution

11m

User controller endpoints

30m

Swagger into DI

27m

MediatR Pipeline overview - Request Validation

5m

Validation without pipeline test - pass

13m

Validation without pipeline

47m

JWT Validation Parameters alignment and token testing - pass

1h 30m

Pipeline to DI and test - pass

50m

Validation pipeline behaviour implementation

1h 30m
Section 5: API Gateway24 videos

Api Gateway Overview

4m

Project creation

8m

Ocelot Repository overview

14m

Ocelot into DI

9m

Packages installation

19m

Login endpoint - config

24m

Login Test

16m

Postman Collection setup

42m

API Gateway Landing Page

15m

Permissions into DI - Add Identity Settings

8m

Gateway Authentication part 2

22m

Gateway Authentication part 1

31m

User register endpoint - testing

29m

Postman Post-Response Script

24m

User registration Upstream and Downstream config

51m

Service Unavailable - The problem

6m

Service Unavailable - Middleware testing

8m

Upstream and Downstream routes - Get user by id

46m

Service Unavailable - Middleware to include domain name

29m

Service Unavailable - Middleware implementation

38m

Source code to repository

6m

Service Unavailable - Middleware domain inclusion test

24mNow Playing

Where we are now - Arch catchup

3m

API Gateway CORS into DI

8m
Section 6: Product Service81 videos

Product Service overview

5m

System Assumptions - Clarified

13m

The Solution

7m

EFCore packages

6m

Entites Definitions

13m

Application Db Context

18m

Product service request models - nuget package

12m

Product service response models - nuget package

12m

Packages installation

2m

Image and Product services definitions

8m

Brand Service Definition

9m

Product service implementation - Create product

8m

Product Service implementation Complete

21m

Brand Service Implementation - Assignment

3m

Interfaces into DI

6m

Brand Service Implementation - Solution and Update Product refactoring

7m

Image Service implementation - Complete

26m

Packages into DI

13m

Validation Pipeline - Copy and Paste

14m

Create Brand Command

30m

Create Brand controller endpoint

16m

Db Migration

30m

Create Brand Command Validators

27m

Create Brand command validation - Test

33m

Update brand command

14m

Update brand request and controller endpoint

11m

Domain level validation fix

9m

Update brand request validator

22m

Update brand endpoint - test with errors

33m

Update brand command - test change tracker errors

26m

Change tracker - clean solution

18m

All level security implementation - Explanation

9m

Permission Attribute used

12m

Package - Auth upgrade in Identity Service

1h

Updating Auth Library with Product service permissions

1h 17m

Product service pushed to repository

6m

API Gateway - Product service brand endpoints

32m

Dev Machine switching - Video and Audio in sync

13m

Create Brand - Endpoint testing success

8m

Product Service - Postman endpoint config

18m

Configuring Authorization in Product Service

1h 30m

Push changes to repository

2m

Update Brand - Endpoint testing success

8m

Progress Overview

1m

Assignment 01 - Brand additional endpoints

16m

API Gateway - Create product endpoint config

5m

Create Product endpoint

18m

Create Product Command

10m

Create product postman config and test - success

12m

Create Product request validator

15m

Create Product validation postman - test success

11m

Create Product Command Validator

24m

Update product command and endpoint - complete end to end

18m

Update Product validators postman tests - success

4m

Update Product validators

32m

Delete Product command and endpoint

25m

Delete Product endpoint postman test - pass

18m

Get Product by Id Query

17m

Get Product by id controller endpoint and postman testing - success

19m

Redis Cache installation

19m

Cache Pipeline part 1

33m

Get all products query endpoint and end to end testing - success

56m

Cache Configurations

16m

Redis cache into DI

21m

Where we are

4m

Query caching config

23m

Cache behaviour testing - error and success

40m

Cache Pipeline part 2

48m

RabbitMQ Installation

10m

MassTransit Packages Installation

11m

Updated Package installation

5m

Adding Product created event to nuget package

10m

Event publisher interface

7m

Event Publisher implementation and DI

7m

RabbitMQ into DI

31m

Product created event - command

19m

RabbitMQ second look

12m

Where we are now

6m

Product created event - published to RabbitMQ

42m

Product deleted event - end to end

46m

Product Quantity Technical debt

42m
Section 7: Inventory Service44 videos

Inventory Item Entity definition

3m

Projects creation

5m

Identity Service - Packages update

9m

Migration

10m

EntityFrameworkCore configs

29m

MassTransit Packages installation

16m

Product create event consumer

24m

Product Created Event - Consuming test success

13m

Inventory Service - Auth Constants onboarding

1h 2m

RabbitMQ into DI

27m

Inventory interface definition and implementation - into DI

21m

Inventory item Model - nuget package

26m

Helpers for barcode generation and request parameter buildup

43m

CreateInventoryItemCommand implementation

29m

MediatR into DI

9m

Product created event - consuming and creating inventory items test - success

27m

ProductDeletedEventQueue consumer intro

2m

Product deleted consumer - completed and into DI

13m

ChangeInventoryItemStatusCommand implementation and interface methods changes

43m

Announcement - Supplier Service Exclusion

7m

Product Deleted event consumer test - success

29m

Delete Item command implementation

12m

GetInventoryItemsByProductIdQuery - implementation

4m

GetInventoryItemByIdQuery - implementation

10m

GetInventoryItemsQuery - implementation

13m

All endpoints

9m

Endpoints protection by attribute

10m

Authentication config

34m

API Gateway routes config

15m

ChangeItemStatus - endpoint

1h 19m

Inventory Endpoint - Postman config

18m

ChangeInventoryItemStatusCommand - endpoint test success

5m

DeleteItemById - endpoint and testing success

17m

Inter service communication intro

14m

Inventory Items endpoint testing - refactoring

59m

ChangeInventoryItemStatusCommand - Separate implementation

55m

Package upgrade

30m

TokenForwardingHandler - implementation

39m

Register Named HttpClient - Config into DI

42m

GetInventoryItemByIdQueryHandler - Product Service integration

30m

GetProductByIdAsync definition and implementation

58m

GetInventoryItemByIdQueryHandler - Product Service integration test success

39m

Product Service Cleanup - RabbitMQ Values to configuration

29m

Inventory Service Cleanup - RabbitMQ Values to configuration

42m
Section 8: Notification Service26 videos

Projects Creation

4m

Notification entity

5m

EFCore ORM configuration

21m

Migration - success

9m

Notification models package release

10m

Packages installation in Application layer

7m

CreateNotificationCommand - part 1

4m

CreateNotificationCommand - part 2

20m

RabbitMQ Consumer

21m

SendGrid signup

7m

RabbitMQ into DI

17m

IEmailSender definition and SendGrid Package installation

8m

EmailSender - Template generation

17m

Email Settings config

9m

UseStaticFiles middleware

9m

EmailSender implementation complete

1h 20m

IEmailSender into DI and RabbitMQ Multiple consumer config

38m

Email notification entry to database

21m

Email sending test

48m

Email notification entry to database - test success

5m

Get all notification endpoint

10m

Get All Notifications - query

24m

Notification permissions into Auth library

21m

Notification gateway config and postman test - success

24m

Push Notification Service into Repository

11m

Security addition

1h 4m
Section 9: Azure Cloud - Deployments33 videos

Azure Resources Overview

6m

AppServices recap

6m

Resource Group and Identity AppService

23m

API Gateway AppService and Overview

19m

SQL Database Server

6m

Product Database - Migration

8m

Databases

20m

Identity Database - Migration

12m

Inventory and Notification databases - migration

4m

Azure Cache for Redis

7m

DevOps Settings - Release visibility

6m

Azure ServiceBus

4m

DevOps - Service Connection

5m

Identity Service Post deployment verification

3m

Build Pipeline - Identity Service CI

19m

Release Pipeline - Identity Service CD

22m

Adding custom configurations via release pipeline - part 1

19m

Seed in all environment and Environment Variables config prioritization

28m

Product Service CI-CD part 1

13m

Switch from RabbitMQ to ServiceBus - Explaination

12m

Adding custom configurations via release pipeline - part 3 Testing success

38m

Product Service - ServiceBus Implementation part 1

11m

ServiceBus Topic and Subscriptions

22m

Adding custom configurations via release pipeline - part 2

41m

ServiceBus Subscriptions filters - Implementation Event Name header

38m

Notification Service - ServiceBus usage

23m

ServiceBus Subscriptions filters - Testing success

55m

API Gateway Configurations code update

24m

API Gateway Configuration - Syntax explanation

40m

Notification Service - ServiceBus Usage complete and test success

1h 19m

API Gateway Postman testing Post deployment - Success

5m

Review and closing lines

6m

API Gateway manual config and deployment - success

27m