Awesome series! I've learned so much from these videos so far. I cloned your repo and upgraded a subset of the solution (frontend, apigateway and the customer api and db) to .NET Core 8. Do you want me to submit a pull request?
Thank you for your kind words and for taking the initiative to upgrade the solution to .NET Core 8! I'm glad to hear that you found the series helpful. Submitting a pull request with the upgraded solution would be greatly appreciated! Once again, thank you for your contribution, and I look forward to reviewing your pull request!
@@CodingDropletsI created the pull request, I tested customers and products but not really sure how the order ui is supposed to work. It threw a json error but it could just be user error
Thank you for your positive feedback! To ensure your Docker container remains responsive after stopping Visual Studio, you'll need to publish your solution independently. Publish your app, build a Docker image, and run a container. This ensures your app is self-contained and doesn't rely on the development server.
Thank you for watching the video and for your question! We appreciate your curiosity about the project and its requirements. Using Docker with microservices architecture is not mandatory, but it offers several advantages that make it a popular choice for managing microservices-based applications. Docker can simplify the deployment and management of microservices. If you prefer not to use Docker, you can still follow the tutorial and set up the Ocelot API Gateway with your microservices using other deployment approaches.
@@CodingDroplets Thank You for clearing my doubt. I have one more issue. Actually, my APIGateway project is not working when I run the project it showing 404 error page is not found. could you please help me how can I solve this problem.
Ocelot is an API Gateway with which you can route requests to different API services. It allows you to create a single endpoint from which all the services can be accessed.
@@CodingDroplets Thanks to your channel I can build my own API Gateway. Btw can I ask you one more: how to add multiple roles in in the claim check in Ocelot? I want it to check if the user is MasterAdmin OR Admin. If so - proceed. But if my token only contains roles: admin only, the authorization will not work.
Ocelot API Gateway is just routing the requests to different URLs based on the configuration we provided. You should be able to provide your Django url as well. I haven't tested it yet.
I think you are looking for adding multiple parameters in Route attribute in Web API. It can be done as below. [Route("MethodName/{parameter1}/{parameter2}")]
Dear Sir, It is very useful video for basic learner. But I have a question, if I have more than one action in a controller and all are post method with different name then how to define it in Ocelot? Ex: [HttpPost][Route("CustomerList")], [HttpPost][Route("AddCustomer")], [HttpPost][Route("EditCustomer")], [HttpPost][Route("CustomerById")], [HttpPost][Route("deleteCustomer")] etc. Sorry sir, but I tried to resolve but did not get success. Plz help me. Thanks
⭐ Join Us on Patreon: www.patreon.com/CodingDroplets
🔗Microservice Architecture Playlist: Microservices Tutorial Playlist Link: th-cam.com/video/gPInkLCfalE/w-d-xo.html
🔗Blazor Tutorial Playlist link: th-cam.com/play/PLzewa6pjbr3IQEUfNiK2SROQC1NuKl6PV.html
Really neatly explained and good for the initial leaners...
Thank you for your feedback! Glad to hear that.
Thank you for the explanation! It's very clear
You're very welcome! I'm delighted to hear that.
Great explanation
Thank You!
very useful IT course, thank you for your leading us
Thank you for watching the tutorial and for your kind words. I'm glad you found it useful!
Great video!
Thank You!
Thanks for your sharing! ❤
You are so welcome!
Perfect tutorial. Thnx a lot !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You're welcome!❤
Perfect video thanks
Thank you for your kind words! Glad to hear that.
Awesome!!! ❤
Thank You!
Cool! Thanks
You are welcome!
Awesome series! I've learned so much from these videos so far. I cloned your repo and upgraded a subset of the solution (frontend, apigateway and the customer api and db) to .NET Core 8. Do you want me to submit a pull request?
Thank you for your kind words and for taking the initiative to upgrade the solution to .NET Core 8! I'm glad to hear that you found the series helpful. Submitting a pull request with the upgraded solution would be greatly appreciated!
Once again, thank you for your contribution, and I look forward to reviewing your pull request!
@@CodingDropletsI created the pull request, I tested customers and products but not really sure how the order ui is supposed to work. It threw a json error but it could just be user error
Thanks
Welcome
Wow, such a helpful video.
I have a question, when I stopped my vs, the docker couldn't response. How can I publish the solution?
Thank you for your positive feedback! To ensure your Docker container remains responsive after stopping Visual Studio, you'll need to publish your solution independently. Publish your app, build a Docker image, and run a container. This ensures your app is self-contained and doesn't rely on the development server.
Hello, Can we do this project without using docker or it is mandatory to use docker with microservices Architecture.
Thank you for watching the video and for your question! We appreciate your curiosity about the project and its requirements.
Using Docker with microservices architecture is not mandatory, but it offers several advantages that make it a popular choice for managing microservices-based applications. Docker can simplify the deployment and management of microservices.
If you prefer not to use Docker, you can still follow the tutorial and set up the Ocelot API Gateway with your microservices using other deployment approaches.
@@CodingDroplets Thank You for clearing my doubt.
I have one more issue. Actually, my APIGateway project is not working when I run the project it showing 404 error page is not found. could you please help me how can I solve this problem.
Can we use Ocelot only for Authentication handling?
Ocelot is an API Gateway with which you can route requests to different API services. It allows you to create a single endpoint from which all the services can be accessed.
@@CodingDroplets Thanks to your channel I can build my own API Gateway. Btw can I ask you one more: how to add multiple roles in in the claim check in Ocelot? I want it to check if the user is MasterAdmin OR Admin. If so - proceed. But if my token only contains roles: admin only, the authorization will not work.
hello bro, with this same API gateway using ocelot, can I connect from a Django microservice?
Ocelot API Gateway is just routing the requests to different URLs based on the configuration we provided. You should be able to provide your Django url as well. I haven't tested it yet.
thank you very much brother, i will try it
Do you know why i have CORS error only on Gateway but not on the Services?
Do you know how to enable CORS? Then obviously you'ld know why it that happened..
@@CodingDroplets I enabled the CORS and its fine now, thanks for reply
Great! Thank You...
Hello Sir, if how to configure multiple input parameter in some endpoint using ocelot
I think you are looking for adding multiple parameters in Route attribute in Web API. It can be done as below.
[Route("MethodName/{parameter1}/{parameter2}")]
Dear Sir, It is very useful video for basic learner. But I have a question, if I have more than one action in a controller and all are post method with different name then how to define it in Ocelot? Ex: [HttpPost][Route("CustomerList")], [HttpPost][Route("AddCustomer")], [HttpPost][Route("EditCustomer")], [HttpPost][Route("CustomerById")], [HttpPost][Route("deleteCustomer")] etc.
Sorry sir, but I tried to resolve but did not get success. Plz help me. Thanks
You must add the url routing configuration in ocelot.json file.
Can you please share git repo.
github.com/codingdroplets/DemoMicroserviceSolution
@@CodingDroplets Great thanks
You are most welcome!
How authorizations work multiple roles, do we need only administrator omly
We can seperate multiple roles using comma in Authorize attribute. It is explained in the below video.
th-cam.com/video/P2osfctiHAc/w-d-xo.html
Ocelot is now a dormant/dead project.
Planning to do a video on envoy api gateway
@@CodingDroplets great!