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
@TheMostafa50004 күн бұрын
That was awesome, Thanks.
@CodeMaze4 күн бұрын
You're welcome! Thank you for watching the video.
@abhayashis13 күн бұрын
Awesome video 👍
@CodeMaze13 күн бұрын
Thank you! Cheers!
@lexNwimue2 ай бұрын
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?
@CodeMaze2 ай бұрын
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-m1v2 ай бұрын
your are the best
@CodeMaze2 ай бұрын
Thank you. I'm glad you like the video.
@omarmokhtar33534 ай бұрын
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 ?
@CodeMaze4 ай бұрын
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.
@omarmokhtar33534 ай бұрын
@@CodeMaze 🙏 thanks
@harshadgohil4084 ай бұрын
Where is the download code?
@CodeMaze4 ай бұрын
The source code is part of the patreon support program, please check the description section.