ASP .NET Core 5 Web API | Customize the behavior of Authorization Middleware for Custom Response

preview_player
Показать описание
Step by step tutorial to modify the authorization middleware response. Customize the behavior of Authorization Middleware in order send meaningful response

You will learn about implementation of IAuthorizationMiddlewareResultHandler interface step by step

Applications can register a Microsoft.AspNetCore.Authorization.IAuthorizationMiddlewareResultHandler to customize the way the middleware handles the authorization results. Applications can use the customized middleware to:
Return customized responses.
Enhance the default challenge or forbid responses.

Tools we used in this video
ASP .NET Core 5
Dot NET CLI
Entity framework Core for Sql Server
Microsoft Identity for Authentication, Authorization & User Management
Visual Studio Code
Postman to Test API
Angular 11
Angular CLI
Bootstrap for UI

.NET core 5 project URL
Angular Project

#dotnetcore #webapi #customResponse
Рекомендации по теме
Комментарии
Автор

Very good interesting video keep it up brother

AyeshaKhan-okef
Автор

Sir this video is of great help!
I just wanna ask one thing implementation of this method in the .Net 6 stays the same?
I'm unsure about that coz I'm new to .Net6

NaumanAhsan-fj
Автор

Very good!!! Would you mind to add-on how does it handle exceptions or errors?

honfey
Автор

I can’t find interface you are implementing

onlysimran