Skip to main content
00:00/00:00
Lecture 54 of 116

Custom Authorize Attribute

Download Course (Free)

Course Content

0 / 116 completed
Section 1: Introduction3 videos

Introduction

17m

What we will build

15m

Demo

25m
Section 2: Multi-Tenant Application in .NET9 videos

The solution

34m

Finbuckle Version 8.0.0 Upgrade Section added at the end of the course

3m

Finbuckle Multitenant Package Version

6m

Tenant Db Context

13m

Multitenancy packages in .NET

43m

Tenancy resources

45m

Multitenancy Claim Strategy

26m

Tenant Extensions - DI

1h 10m

Multitenancy custom strategy

1h 3m
Section 3: Database Initializers15 videos

AspNetIdentity Models and DbContext

55m

Database Migration - Application Db Context

38m

Application DbContext and IEntityTypeConfiguration

1h 21m

Permissions constants - part 2

30m

Permissions constants - part 1

1h 30m

Database Migration - Tenants

1h 30m

Database Initializers - Tenant

1h 2m

Database Initializers - Application

1h 2m

Database Initializer - Roles and Permissions

1h 12m

Database Initializer - Tenant and Application Identities

1h 4m

Database Initializer - Admin Roles

1h 30m

Database Initializer - DI Container

41m

Add Identity Service to DI container

40m

Db Context refactoting

19m

Exception and Debug - Happy ending

1h 15m
Section 4: Authentication and Authorization - Jwt23 videos

Tenant Service Contract definitions

38m

Create Tenant Implementaion

1h 30m

Token service definitions

39m

Token service - Login

53m

Tenant service contract implementations - complete

1h 30m

Token Service - Refresh token

1h 1m

Token service - Jason Web Token (jwt)

1h 30m

Custom Exception - Unauthorized Exception

52m

Role service - partial

1h 2m

Token service - refresh token (complete)

1h 30m

Role service - create role

1h 9m

Role service - update role

1h 10m

Role service - delete role

56m

Role service - Get Roles

37m

Role service - get role with permissions

37m

User service - interface part 2

1h 1m

User service - interface part 1

1h 20m

Role service - update role permissionsclaims

1h 30m

User service - Add User and Delete User

36m

User service - Change password

42m

User service - Toggle and Assign Roles

1h 30m

User service - complete

1h 30m

User service - Get and Check user permissions

1h 30m
Section 5: Permissions5 videos

Current User service

1h 30m

Current user middleware

14m

Current user middleware to DI container

38m

Custom Authorize Attribute

50mNow Playing

Permission requirements provider and handler

1h 30m
Section 6: Json Web Token (Jwt)3 videos

Jwt Bearer Options

1h 30m

Add Jwt Auth to DI Container

43m

Jwt Setting to config - cleanup

25m
Section 7: OpenApi Configuration in .NET Wen APIs8 videos

Swagger settings

14m

Header Attribute

32m

Header Attribute processor

21m

Global Auth Processor

26m

Swagger Header renaming

5m

OpenApi - Service cleanup

12m

Api Testing

22m

OpenApi to DI Container

1h 30m
Section 8: CQRS Patterns42 videos

Packages intallations

19m

Response Wrapper

46m

Get Token Request

31m

Token Controller Login

47m

UseMultiTenant Middleware extension

10m

Token Controller - Login test

42m

Login Success

1h

Protected endpoint - error and fixes

43m

Refresh token - query and endpoint

34m

Role commands and queries

38m

User commands and queries

23m

Role endpoints testing

12m

Update - Bug Fix on User Registration endpoint

11m

User controller endpoints testing

9m

Role controller endpoints - complete

1h 5m

User controller endpoints

32m

Create School command

17m

Update School command

24m

School feature - service

1h 20m

Delete School command

19m

Assignment - Get Schools query

4m

Assignment solution

5m

Get School by Id and name queries

41m

Create school validator

48m

Update and delete school validators

54m

School controller endpoints

24m

Custom Pipeline Behaviour - Validation

1h 30m

Tenant command - upgrade subscription

18m

Tenant commands - create, activate and deactivate

42m

Tenant query - Get all

13m

School controller endpoints testing

1h 13m

Tenant query - get by id

18m

Tenant controller - create endpoint

14m

Tenant controller - complete endpoints

30m

Tenant controller - testing

43m

Tenant context accessor - newly added tenant

29m

Tenant Tetsing

52m

TenantInfo Null Check

9m

Database per tenant test

7m

Database per tenant

30m

Global Exception handling middleware test

14m

Global Error handling middleware

48m
Section 9: Finbuckle.MultiTenant Package Upgrade8 videos

Acknowledgement of Poor Audio Quality

4m

What is coming next

8m

Finbuckle Package upgrade - Code fix part 1 Tenancy Folder

34m

Finbuckle Package upgrade - Code fix part 2 Contexts Folder

23m

Finbuckle Package upgrade - Code fix part 3 Application Db Initializer

34m

Finbuckle Package upgrade - Code fix part 4 Services

36m

Tenant dedicated database - migrations fix

19m

Finbuckle Package upgrade - Testing success

26m