ASP.Net Core API Gateway - Ocelot API Microservice

  Рет қаралды 42,967

Coding Droplets

Coding Droplets

Күн бұрын

Пікірлер: 55
@CodingDroplets
@CodingDroplets 2 жыл бұрын
⭐ Join Us on Patreon: www.patreon.com/CodingDroplets 🔗Microservice Architecture Playlist: Microservices Tutorial Playlist Link: kzbin.info/www/bejne/nYGsn56CeMuUoqc 🔗Blazor Tutorial Playlist link: kzbin.info/aero/PLzewa6pjbr3IQEUfNiK2SROQC1NuKl6PV
@kamalrkumar
@kamalrkumar Жыл бұрын
Really neatly explained and good for the initial leaners...
@CodingDroplets
@CodingDroplets Жыл бұрын
Thank you for your feedback! Glad to hear that.
@imamarifhadipramono7788
@imamarifhadipramono7788 10 ай бұрын
Thank you for the explanation! It's very clear
@CodingDroplets
@CodingDroplets 10 ай бұрын
You're very welcome! I'm delighted to hear that.
@rahmatfadhilah1143
@rahmatfadhilah1143 2 ай бұрын
Great explanation
@CodingDroplets
@CodingDroplets 2 ай бұрын
Thank You!
@Yuyu-.-
@Yuyu-.- 10 ай бұрын
Thanks for your sharing! ❤
@CodingDroplets
@CodingDroplets 10 ай бұрын
You are so welcome!
@kabsngandu8162
@kabsngandu8162 8 ай бұрын
Great video!
@CodingDroplets
@CodingDroplets 8 ай бұрын
Thank You!
@benli7348
@benli7348 Жыл бұрын
very useful IT course, thank you for your leading us
@CodingDroplets
@CodingDroplets Жыл бұрын
Thank you for watching the tutorial and for your kind words. I'm glad you found it useful!
@deepakgupta5733
@deepakgupta5733 4 ай бұрын
Awesome!!! ❤
@CodingDroplets
@CodingDroplets 4 ай бұрын
Thank You!
@DavidDanosTech
@DavidDanosTech Жыл бұрын
Perfect tutorial. Thnx a lot !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@CodingDroplets
@CodingDroplets Жыл бұрын
You're welcome!❤
@subhakantaparida7908
@subhakantaparida7908 Жыл бұрын
Perfect video thanks
@CodingDroplets
@CodingDroplets Жыл бұрын
Thank you for your kind words! Glad to hear that.
@sergeymigel4680
@sergeymigel4680 7 ай бұрын
Cool! Thanks
@CodingDroplets
@CodingDroplets 7 ай бұрын
You are welcome!
@joebrady9829
@joebrady9829 7 ай бұрын
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?
@CodingDroplets
@CodingDroplets 7 ай бұрын
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!
@joebrady9829
@joebrady9829 7 ай бұрын
@@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
@ali-de3my
@ali-de3my Жыл бұрын
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?
@CodingDroplets
@CodingDroplets Жыл бұрын
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.
@juhairahamed5342
@juhairahamed5342 8 ай бұрын
Thanks
@CodingDroplets
@CodingDroplets 8 ай бұрын
Welcome
@shwetayadav3238
@shwetayadav3238 Жыл бұрын
Hello, Can we do this project without using docker or it is mandatory to use docker with microservices Architecture.
@CodingDroplets
@CodingDroplets Жыл бұрын
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.
@shwetayadav3238
@shwetayadav3238 Жыл бұрын
@@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.
@rajank7200
@rajank7200 Жыл бұрын
Hello Sir, if how to configure multiple input parameter in some endpoint using ocelot
@CodingDroplets
@CodingDroplets Жыл бұрын
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}")]
@DeepakKumar-jg6mx
@DeepakKumar-jg6mx Жыл бұрын
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
@CodingDroplets
@CodingDroplets Жыл бұрын
You must add the url routing configuration in ocelot.json file.
@brayanyesidcanonrodriguez5186
@brayanyesidcanonrodriguez5186 2 жыл бұрын
hello bro, with this same API gateway using ocelot, can I connect from a Django microservice?
@CodingDroplets
@CodingDroplets 2 жыл бұрын
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.
@brayanyesidcanonrodriguez5186
@brayanyesidcanonrodriguez5186 2 жыл бұрын
thank you very much brother, i will try it
@andrw8946
@andrw8946 2 жыл бұрын
Can we use Ocelot only for Authentication handling?
@CodingDroplets
@CodingDroplets 2 жыл бұрын
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.
@andrw8946
@andrw8946 2 жыл бұрын
@@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.
@creamcs
@creamcs Жыл бұрын
Do you know why i have CORS error only on Gateway but not on the Services?
@CodingDroplets
@CodingDroplets Жыл бұрын
Do you know how to enable CORS? Then obviously you'ld know why it that happened..
@creamcs
@creamcs Жыл бұрын
@@CodingDroplets I enabled the CORS and its fine now, thanks for reply
@CodingDroplets
@CodingDroplets Жыл бұрын
Great! Thank You...
@akashgupta2366
@akashgupta2366 2 жыл бұрын
Can you please share git repo.
@CodingDroplets
@CodingDroplets 2 жыл бұрын
github.com/codingdroplets/DemoMicroserviceSolution
@akashgupta2366
@akashgupta2366 2 жыл бұрын
@@CodingDroplets Great thanks
@CodingDroplets
@CodingDroplets 2 жыл бұрын
You are most welcome!
@vcstudenttest3072
@vcstudenttest3072 2 жыл бұрын
How authorizations work multiple roles, do we need only administrator omly
@CodingDroplets
@CodingDroplets 2 жыл бұрын
We can seperate multiple roles using comma in Authorize attribute. It is explained in the below video. kzbin.info/www/bejne/hmPSpJmZqc57d8U
@matt.604
@matt.604 Жыл бұрын
Ocelot is now a dormant/dead project.
@CodingDroplets
@CodingDroplets Жыл бұрын
Planning to do a video on envoy api gateway
@yander5521
@yander5521 Жыл бұрын
@@CodingDroplets great!
Ocelot API Gateway JWT Authentication Tutorial
23:35
Coding Droplets
Рет қаралды 37 М.
Implementing API Gateway With Ocelot in ASP.NET Core
13:26
Code Maze
Рет қаралды 6 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 101 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 3,6 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 13 МЛН
Dockerize .NET 6 in 10 Minutes
13:33
Wes Doyle
Рет қаралды 149 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 258 М.
Forget Controllers and Minimal APIs in .NET!
14:07
Nick Chapsas
Рет қаралды 76 М.
Build an API Gateway with Envoy and use with .NET Core APIs
1:51:27
Is Asp.NET Core Better than Node.js
13:35
Gavin Lon
Рет қаралды 9 М.
Elegant Global Error Handling Using Middleware In ASP.NET Core
13:58
Milan Jovanović
Рет қаралды 89 М.
Event-Driven Architecture (EDA) vs Request/Response (RR)
12:00
Confluent
Рет қаралды 171 М.
Stop Using FirstOrDefault in .NET! | Code Cop #021
12:54
Nick Chapsas
Рет қаралды 94 М.
Twin Telepathy Challenge!
00:23
Stokes Twins
Рет қаралды 101 МЛН