ASP.NET Core Authentication Middleware & Authentication Scheme | ASP.NET Core Security Series | Ep7

preview_player
Показать описание
🎁ALL-ACCESS Subscription: Unlock access to all of my courses, both now and in the future at a low $19.99 / month.

💎Learn .NET MAUI while creating a Contacts App in .NET 7:

🔥Learn Blazor while creating an Inventory Management System in .NET 6

💎 Complete Guide to ASP.NET Core Identity

💎Complete Blazor Course: Build an e-commerce app with ASP.NET Blazor and Clean Architecture

💎 Complete Web API Course:

👍Architecture Course

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

Ep6 and Ep7 of these videos has finally made things click for my understanding of this stuff.

robadobdob
Автор

One of the best video for authentication i ever have seen..

. Thanks for sharing

khanfaizan
Автор

I always like your video before even watch it. Great teacher!

TrungNguyen-ldhz
Автор

The best and very clear explanation.Thanks a lot

kavithamadhav
Автор

Very good video, explaining clearly and showing diagrams, and talking about Microsoft documentation and what the interfaces and classes do.

velikokosev
Автор

Awesome video Frank.
Very detailed and informative

ricardothomas
Автор

Hello Frank.

Your explanation is very clear but i would like to ask you a question.

Lets say that in my web app i have several pages that is needed to be accessible only be a particular cookie which isn't the same as the one which is used by my default auth scheme. How can i implement this? how can i register multiple cookie auth schemes so i can access multiple pages with different auth schemes?.

Alex-zmww
Автор

For those who don't understand why no authentication happens after 7:33 in your code, make sure that the lines "app.UseAuthentication();
app.UseAuthorization();" goes first before app.UseMvc or razorpages in Program.cs

ALl_ECo_SAY
Автор

Huh? there seems to be something missing at around 7:33 where you are talking about the system needing to know which scheme to use, but in the video it doesn't seem like you are changing anything (maybe offscreen), and without having (visually in the video) changed anything, it seems like your version seem to miraculous works, where it didn't before.

<Edit> oh, now I see it, there is a little skip, and it isn't really clear, first it says:

And then it jumps to:

I really hadn't noticed it, next time it's probably better to just type it or have the video properly see you copy the name and then paste it in.

SuperDre
Автор

Thank you, I little issue to be mentioned, is when the lecture close to finish the three boxes of recommended videos show up so they hidden the video content !

farisarx
Автор

good job on the clear explanation and demonstration. question though: my cookies get deleted every time i close the browser, and would need to re-login every time i close / re-open the browser. how do i avoid that, so that the user will only need to login once every 30 days, etc?

CarlNathanII