Secure Microservices Using JWT With Ocelot in .NET

  Рет қаралды 2,396

Code Maze

Code Maze

Күн бұрын

Пікірлер: 14
@CodeMaze
@CodeMaze 4 ай бұрын
Thank you all for watching and for your support. ►► If you want to master Web API development using best practices, check out our Web API book: bit.ly/3x75ZMM ►► Also, to build great full-stack apps with Blazor, check out our course: bit.ly/3Pw3Y33
@TheMostafa5000
@TheMostafa5000 4 күн бұрын
That was awesome, Thanks.
@CodeMaze
@CodeMaze 4 күн бұрын
You're welcome! Thank you for watching the video.
@abhayashis
@abhayashis 13 күн бұрын
Awesome video 👍
@CodeMaze
@CodeMaze 13 күн бұрын
Thank you! Cheers!
@lexNwimue
@lexNwimue 2 ай бұрын
Great stuff as usual. Just one question though as I'm new to .NET and Ocelot. So I have to manually add each endpoint I create to the Ocelot gateway routes? Which means if I have a huge project (which a lot of microservices can be) with hundreds of endpoint, they'd all be included in this Ocelot routes array?
@CodeMaze
@CodeMaze 2 ай бұрын
Hi. Thank you. Yes, you need to configure all the routes. But to avoid having one large file, you can split configuration into multiple files and merge them. The Ocelot documentation has more info on that.
@souhailelghiouane-m1v
@souhailelghiouane-m1v 2 ай бұрын
your are the best
@CodeMaze
@CodeMaze 2 ай бұрын
Thank you. I'm glad you like the video.
@omarmokhtar3353
@omarmokhtar3353 4 ай бұрын
but any authorized user can call the API directly without the gateway and get the result if even it doesn't have the required scope or role right ?
@CodeMaze
@CodeMaze 4 ай бұрын
Hi. First of all, all the clients/users shouldn't be aware of the endpoint routes for any of the microservices. But, of course, we shouldn't only rely on that. You can and should use the authorize attribute for each endpoint just in case.
@omarmokhtar3353
@omarmokhtar3353 4 ай бұрын
@@CodeMaze 🙏 thanks
@harshadgohil408
@harshadgohil408 4 ай бұрын
Where is the download code?
@CodeMaze
@CodeMaze 4 ай бұрын
The source code is part of the patreon support program, please check the description section.
Implementing API Gateway With Ocelot in ASP.NET Core
13:26
Code Maze
Рет қаралды 6 М.
.NET 8  💥  - API Gateway Authentication with YARP
15:40
Mohamad Lawand
Рет қаралды 2,9 М.
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 4,7 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 135 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
How to Compare Card Ranks in a Hand: A Step-by-Step Guide
5:33
Session Vs JWT: The Differences You May Not Know!
7:00
ByteByteGo
Рет қаралды 259 М.
Best 10 Items I Tested in 2024!
20:12
Project Farm
Рет қаралды 84 М.
RabbitMQ Explained - Use Cases
4:38
CloudAMQP
Рет қаралды 43 М.
Taking over a website with JWT Tokens!
14:27
Tech Raj
Рет қаралды 60 М.
STOP using Minimal APIs for Large Projects!
6:20
Jono Williams
Рет қаралды 10 М.
Secure Your .NET Application With Keycloak: Step-by-Step Guide
17:05
Milan Jovanović
Рет қаралды 20 М.
The Logging Everyone Should Be Using in .NET
15:34
Nick Chapsas
Рет қаралды 84 М.
Implementing JWT Authentication in ASP.NET Core
23:51
Nick Chapsas
Рет қаралды 41 М.
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 4,7 МЛН