Generating JWT Tokens | ASP.NET 6 REST API Following CLEAN ARCHITECTURE & DDD Tutorial | Part 2

preview_player
Показать описание


Follow me on 'em socials:

What is this series?
We'll build a REST API following Clean Architecture & Domain-Driven Design principles completely from scratch.
We will use .NET 6, EF Core, and common patterns such as CQRS, unit of work, repository, mediator, and more 💪🏽
We'll also use some awesome open-source libraries such as MediatR, FluentValidation, ErrorOr, Throw, Mapster, and more.
The developing environment will be visual studio code & dotnet CLI only. We will use awesome vscode plugins for everything from sending HTTP requests to connecting to our SQL database, debugging, and peeking at JWT tokens.
We will code and refactor multiple times to tackle the many concepts I want to teach. When the series will be over, you'll have a good understanding and intuition on how to use these patterns & libraries in your industry-level applications.

How often will a new part come out?
Once or twice a week.

What are we doing today?
We'll create a JWT token generator & use the "Options Pattern" to retrieve the values from the appsettings. We'll then remove the secret and use the "dotnet user-secrets" feature to store our secrets instead.
After this video, you should have a better understanding of the application vs infrastructure layer and what goes where 💪🏽

Do you love hidden gems? Well, if you do and use vscode, you're in for a treat!

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

Really great mention of using user secrets during development. I think people don't sanitize their sensitive configuration information when committing code.
I've been guilty of this myself until I learned the proper way to do it.

MilanJovanovicTech
Автор

Thank you for this series. It's really great. no bullshit, no extra explanation, just straight to the point and to the code. I really love it. keep doing this!
Before watching this I was doing clean architecture a different way but I realize I was making a huge mistake and even though it was not really hurting us badly, it could hurt us one day. But this also increased my confidence as I realised I was doing a lot of things right! Thanks a lot for this course and this series. Best of luck to you in the future mate.

mahditalebi
Автор

Hands down, the best tutorial on the topic I've found so far!

bogdanb
Автор

One of the most tutorials I have ever seen, thank you 🙏🏻

elhelalyQ
Автор

You have made the concepts so simple, usually devs don't understand this even after years of experience

NK-xwuu
Автор

Amazing videos, very high quality. Thanks and keep up the great work.

alexwexov
Автор

Wow Amichai!
you are an amazing teacher or content creator, the explanation of the steps and the knowhow is incredible!
Ty very much and keep going ✔✔❤❤

DanielTames
Автор

Thanks for sharing. All videos were amazing.

tirodev
Автор

This is the real deal. Thanks for taking your time to do this 🙌

chidieberelevi
Автор

the best tutorial I've ever seen in terms of clean architecture & DDD, downloaded and might reference to it several times, thank you sir.

zhangyi
Автор

Thanks Amichai Mantinband. Really appreciates work explanation and approach. it's very insightful.

MaheshSingh-evyh
Автор

Great video man!
Keep up the great work

ibnfpv
Автор

great series, thank you for explaining.

fadidib
Автор

very useful, easy to follow series
tip for those who are used to use the visual studio; like myself, the vs 2022 have the rest client, and the jwt tools; substitute for the jwt decoder, plugins which work just like their vscode counterparts.
once again, thanks for the series.

youtube.com-handle
Автор

to me, this was the best video that I've ever seen, I`m eager to see your upcoming videos asap. specially thanks for using user-secrets which makes this video more practical.

afsanehhazeghi
Автор

Very good tutorial!. I found many useful tips for using dotnet cli.

yurayg
Автор

after finisihing the first part... that is exactly what i needed... The only thing i do different is using visual studio and all different class library projects, but with very small changes all works perfectly... Thanks

damiansocha
Автор

You are actually a good teacher. Thanks

stickyamp
Автор

Great videos, I just want to build a restapi service with authentication, but can not find other tutorials, however these videos helped me!

Автор

I will be waiting here till the next one comes.. no pressure 🙃🙃

abhishekbagchi