A zero knowledge .Net guy can come directly here and learn a lot about it. So helpful!Thank you!
@ScholarHat4 жыл бұрын
Important Note: If you are using Ocelot 16.0.0 or higher, you should change the key name from "ReRoutes" to "Routes", else you'll keep getting 404 error.
@sumangeorge74 жыл бұрын
i was wondering why i was receiving 400... Thank you for the help!!
@saikat1144333 жыл бұрын
I have spent 1 hour to resolve this and found this comment. Thanks!
@chetankawale66012 жыл бұрын
Thanks Sir. I am also facing same issue in latest version Ocelot
@interviewhappy3 жыл бұрын
Superb
@ramachandranthangam64213 жыл бұрын
Fantastic shailendra..hats off
@ScholarHat3 жыл бұрын
Hey Ramachandran, You are most Welcome! We are glad to be a part of your learning journey. Do subscribe the channel for more updates Hit the bell icon to never miss an update from our channel!
@tarunsharma86334 жыл бұрын
Where did you implement communication b/w two api
@rbogdan89805 жыл бұрын
why you don't use swagger?
@girdhargopasingh3374 жыл бұрын
Thanks for your suggestions
@ScholarHat4 жыл бұрын
In this scenario it is not required. Swagger, we use for API management.
@karimalaa90504 жыл бұрын
Shall I have to specify all my microservices routes in the ocelot.json, or should be handled dynamically in each microservice itself.
@ScholarHat4 жыл бұрын
Yes, you need to define all microservices routes in oceot.json to provide common interface to outer world.
@nehasa3023 жыл бұрын
Very very nicely explained
@hidenseek06544 жыл бұрын
Can you show the Put method. I have tried several way...but donno why it's not working
@Axstrus4 жыл бұрын
Nice video... Completed end to end video for a beginner...
@ScholarHat4 жыл бұрын
Glad you liked it. Keep learning with Dot Net Tricks
@mohsinshaikh83633 жыл бұрын
How to do communications in between services?
@ScholarHat3 жыл бұрын
You have to implement communication patterns: request-reply, message or event-based.
@BendaoudAbdelmounaim3 жыл бұрын
good work friend thank you
@gurpreetsingharora80183 жыл бұрын
Step by step nice explanation. ☺️☺️
@ScholarHat3 жыл бұрын
Glad you liked it
@avolamedia2 жыл бұрын
Thank you It is helpful.
@manishroy13725 жыл бұрын
Really Nice. Step by step explained the entire implementation. Thanks
@ScholarHat4 жыл бұрын
Thanks you liked it.
@srinu7024 жыл бұрын
Thank You This Video cleared out Microservice
@raagasongs3 жыл бұрын
Very nice and easily understandable..
@Kaushik-RoyChowdhury3 жыл бұрын
Good one Shailendra. Learnt about Ocelot Gateway mate.
@NethiestChannel4 жыл бұрын
Having a single API Gateway for the whole service implements SPoF. What you want for the highest reliability is a dedicated API gateway per service that needs it. e.g. userservice, orderservice, productservice would all have separate APIs just in case gateway dies.
@ScholarHat4 жыл бұрын
This sample is to understand the concepts. In reality, you have to use multiple API gateways to achieve High Availability.
@dearalok113 жыл бұрын
Very informational video .Just a suggestion ... avoid repetitions to make it shorter .
@namanvohra82622 жыл бұрын
Thanks for the video, you gained a new subscriber. Could you please add a more complex example of how two microservices that are interrelated can interact with one another? For instance if the client needs data from the two microservices. Thank you again for this video.
@sushmajaarumalla4742 жыл бұрын
I also need this scenario... do you got any such example @naman
@namanvohra82622 жыл бұрын
@@sushmajaarumalla474 Hey, u can check out request and custom aggregation in Ocelot, basically it combines responses from two microservices and u can edit the combined response before returning to client
@dsmercy95062 жыл бұрын
Thanks for sharing
@teja61242 жыл бұрын
Hello Sir, How do you we mange microservices when a lot of applications are running?
@sathieshkumarrajabaskaran54083 жыл бұрын
Good content for beginners. Great!
@supunsamarawickrama54952 жыл бұрын
very useful and nice explanation. Thanks !!
@venugopalkothuri90773 жыл бұрын
Can we have the microservice hosting steps as well?
@pgviyer4 жыл бұрын
I did follow all the steps and created the project. Though the API works fine. Getting a 404 error while trying to access the service through the Ocelot API Gateway. Is there any specific version of the Ocelot Gateway to be used for this example ? Kindly help.
@pgviyer4 жыл бұрын
Well. I found a fix. I had installed the latest version of Ocelot gateway in the project. Instead, I uninstalled it and installed the version 13.8.0, that was used in the project. Things started working. Thank you.
@jaicinds66234 жыл бұрын
I faced the same issue with ocelot version 16.0.1. To fix change the ocelot.json "ReRoutes" tp "Routes". Refer ocelot.readthedocs.io/en/latest/features/routing.html
@ScholarHat4 жыл бұрын
Please do refer this new video: kzbin.info/www/bejne/ZoOldaRjhtqmfpI
@konathamnageswarrao73064 жыл бұрын
Super for start up programmers.i have a question ,both the application should host in web server(IIS) to access both the URLs
@ScholarHat4 жыл бұрын
yes, you can host them.
@Narendrasanchi3 жыл бұрын
Great video. Do you have this code available on GIT. Could you share the link
@petereikore37853 жыл бұрын
Nice Tutorial
@ScholarHat3 жыл бұрын
Thank you Peter
@skmedia68904 жыл бұрын
How to host microservices wit api gateway on IIS?
@ScholarHat4 жыл бұрын
Hosting the asp.net core based microservices on IIS is same as we host asp.net core web api.
@skmedia68904 жыл бұрын
@@ScholarHat can u please share in detail about it?
@davewai76203 жыл бұрын
thanks mate. Great video
@swastikayadav67414 жыл бұрын
I am getting 404 error while fetching microservices via ocelot web api?
@sri_nainika4 жыл бұрын
Me too getting same 404 error... any idea?
@pgviyer4 жыл бұрын
uninstalling the latest version of ocelot gateway and installing the version 13.8.0 made the things work for me. Just give a try.
@pgviyer4 жыл бұрын
@@sri_nainika uninstalling the latest version of ocelot gateway and installing the version 13.8.0 made the things work for me. Just give a try.
@danielbrandt8744 жыл бұрын
@@pgviyer Thank you so much! Worked for me too!
@ScholarHat4 жыл бұрын
You can also try new video here: kzbin.info/www/bejne/ZoOldaRjhtqmfpI
@jipsonettuthottiyil3 жыл бұрын
Good content. Thank you
@samchoise5 жыл бұрын
Can you please create another video to communicate between microservices.
@inkquillspublishinghouse4 жыл бұрын
I am too looking for this...
@girdhargopasingh3374 жыл бұрын
Sure #SamirMistry
@ganeshgite77013 жыл бұрын
Really nice content, step by step explain properly. Thank you.
@Gojam123 жыл бұрын
My code is inheriting from ControllerBase like yours but there was no implementation or error from not having the implementation of the methods. I had to write them in. Why is that?
@sampathchaganty85192 жыл бұрын
For return user based upon I'd we use db.User.Find(Id) what if we return based on name like string we can use db.User.Find(name)?
@nguyentam50304 жыл бұрын
how to config ocelot run on swagger?? Thanks Sir
@jamesgoddard16983 жыл бұрын
Great video no errors untill i ran into this on the Program.cs file System.InvalidOperationException: 'A public method named 'ConfigureDevelopment' or 'Configure' could not be found in the 'APIFrontEnd.Startup' type.'
@jawandsingh14644 жыл бұрын
I do not agree with this video. People know how to create APIs. What you should have taught them is "what is mindset behind microservices". You must have used a kind of scenario where there is tight coupling between two tables and show them how to split them. That's real microservices.
@Weblogic814 жыл бұрын
I agree actually. This is just a normal api dev tutorial.
@ScholarHat4 жыл бұрын
Please do refer this new video for understanding concepts behind it: kzbin.info/www/bejne/ZoOldaRjhtqmfpI
@oudinia14 жыл бұрын
The api gateway and use of ocelot is interesting for me. The rest, is classic, but we can simply skip to the gateway part. Still a good video, despite the non conceptual view of building a microservice, you do get a practical straightforward dev process on Visual Studio.
@SuhasBharadwajK4 жыл бұрын
Important Note: If you are using Ocelot 16.0.0 or higher, you should change the key name from "ReRoutes" to "Routes", else you'll keep getting 404 error no matter what.
@kakmca4 жыл бұрын
Thank you very much, Suhas. Your comment helped me to resolve the issue, which otherwise, I thought to give up.
@SuhasBharadwajK4 жыл бұрын
@@kakmca you're welcome :)
@ashutoshsoni30173 жыл бұрын
Thank you very much, Suhas
@karammotraji89665 жыл бұрын
please if u could, i have a question if i started with the api project then created a model and scaffolded the api controller with actions using ef core and then dockeriyed the app and i already have an SQL Server Container how can i connect the two containers using docker compose what should i add to the yaml file for docker compose to connect the sql server container
@ScholarHat4 жыл бұрын
Use docker stack for deployment so that they are deployed as service. Between services communication is easy.
@DeepakKumar-df4ef4 жыл бұрын
i followed this video but my APIGateway isn't working, i have checked my code but still no idea what is the issue. any help will be appriciated.
@ScholarHat4 жыл бұрын
make sure you have configured the routes at right place :)
@DeepakKumar-df4ef4 жыл бұрын
@@ScholarHat it was related to Reroute keyword
@manishjawarkar844 жыл бұрын
@@DeepakKumar-df4efI am also getting the same issue, could you please let me know the solution?
@manishjawarkar844 жыл бұрын
I got fix. For latest version of Ocelot, change "ReRoutes " to "Routes" in ocelot.json file and it will display the required result.
@niroshanmanoharan42954 жыл бұрын
Thanks a lot for the simple and informative explanation.
@DuongNguyen-gg3uc2 жыл бұрын
You may want to enable the closed capture (CC) since it is hard to understand what you are saying.
@khushalchouhan8662 жыл бұрын
If you picking any topic pls try to make complete video on that.
@prateekkumar88873 жыл бұрын
Please make one video on the Kestral server how work
@bhavyar29862 жыл бұрын
Nice tutorial. So microservices involves service1 having its own database1 and service2 having its own separate database2. Let's assume we already have an existing database where we have all related tables. In this case how to split existing monolithic application into microservices where each has its own database? Eg: shopping application We have orderservice and cartservice.. Do both have same database but different instance ? If separate databases then how's related data managed ?
@trunghieudang42593 жыл бұрын
Thank you very much! It's helpful
@ScholarHat3 жыл бұрын
Glad you liked it. Keep learning with Dot Net Tricks
@manojr403 жыл бұрын
Simple and Excellent ❤️
@ScholarHat3 жыл бұрын
Hey Manoj, You are most Welcome! We are glad to be a part of your learning journey. Do subscribe the channel for more updates Hit the bell icon to never miss an update from our channel!
@learnhtml88523 жыл бұрын
indicate whether to send a cookie in a cross-site request by specifying its SameSite attribute error
@AbdulKareem-ve2yp4 жыл бұрын
Excellent
@ScholarHat4 жыл бұрын
You are most welcome! Do subscribe to our channel to stay posted on upcoming tutorials.
@avinashtippe11133 жыл бұрын
Very good explanation. One question, can we have different ports for each route?
@anilkanojia99614 жыл бұрын
Nice Explained. Thank you
@ScholarHat4 жыл бұрын
You are welcome
@SAGARAUTE3 жыл бұрын
Thank you
@seenuvasanmanoharan5303 жыл бұрын
very nice way of explanation end to end. can you also share some reference how this microservice is deployed in cloud and test using postman
@redachouiba48625 жыл бұрын
Great job
@madhumishra84684 жыл бұрын
Hi..while adding the migration command I am getting the error "Script halted"..What does this error mean?Can you please help.
@ScholarHat4 жыл бұрын
Please do refer possible solution link : stackoverflow.com/questions/58643426/add-migration-command-only-prompt-scripthalted
@madhumishra84684 жыл бұрын
@@ScholarHat Thanks..I will Check
@shyam151119864 жыл бұрын
I followed this tutorial but my Gateway api does not work. I check for the code several times, and it is same as the video.
@ScholarHat4 жыл бұрын
Please do refer this new video: kzbin.info/www/bejne/ZoOldaRjhtqmfpI
@kakmca4 жыл бұрын
Hi Shyam, I am also pretty to Microservices like you. Hence, I followed this tutorial. Gateway API did not work for me as well. I followed comments, and I solved all the issues. I am pretty sure that users comments will definitely be helpful to you. Please give a try by following these comments.
@nakibulshaki5 жыл бұрын
Thank you so much sir ! Nice job
@girdhargopasingh3374 жыл бұрын
Pleasure #NakibulShaki
@sanjaypakale69024 жыл бұрын
Really great explanation.. Thanks for all the information..
@girdhargopasingh3374 жыл бұрын
Thank You#Sanjay
@N7CommanderJohnFETactician4 жыл бұрын
Awesome course, thanks!
@GuerreroVicttor4 жыл бұрын
Awesome, thanks!!!
@girdhargopasingh3374 жыл бұрын
Thank you Victor
@tonifersil4 жыл бұрын
After follow this tutorial my api does not work. I check for the code several times, and he is equal as the video.
@girdhargopasingh3374 жыл бұрын
Did you share your code with DotNet Tricks
@adaptor7004 жыл бұрын
is there a github source?
@WikkiOnIlluminati4 жыл бұрын
Thanks for very good video.
@rupenanjaria4 жыл бұрын
GitHub path?
@anuragvishnoi39212 жыл бұрын
I get this error whole doing the update-database for database "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)". Can you please help
@NalinJ4 жыл бұрын
This is great, thanks 🙂
@ScholarHat4 жыл бұрын
Thanks for the compliment! Keep learning with Dot Net Tricks
@dineshkumarramasamy62374 жыл бұрын
Thanks sir it is very useful.
@rbogdan89805 жыл бұрын
n-layer architecture it's not monolith
@melk481114 жыл бұрын
awesome. Thx
@girdhargopasingh3374 жыл бұрын
Greta!
@papputarun4 жыл бұрын
How to call multiple controllers in microservices
@akak4474 жыл бұрын
Thanks, I found it very helpful
@angmathew43775 жыл бұрын
good stuff and well covered.
@girdhargopasingh3374 жыл бұрын
Thank you
@marwarimansa_it_baba53364 жыл бұрын
Sure it's was very nice and worthy contain. Please creat event based communication between two microservices
@abu7midan5 жыл бұрын
the best course and very clear , easy to understand
@girdhargopasingh3374 жыл бұрын
Thank You Mohamad
@krchandancs3 жыл бұрын
Very well explained sir 👏👍👌 👏 Can we get github of this demo if possible?
@hiteshnirmal73504 жыл бұрын
I am getting error 499 . please help me
@Funkfreed4 жыл бұрын
Is it safe to put the database connection in the same project?
@pawankumar-cn1ty3 жыл бұрын
1.Don't go from Blank Solution(waste of time, because Your Solution will not work), directly start from creating project and choose WEB API core 2.While add entity don't forget to Key attribute for the primary work other wise migration will not work
@rush2112chile3 жыл бұрын
Thank you very much for this great tutorial. It's really usefull.
@AnilKumar-xx1io2 жыл бұрын
Please Provide Source Code
@TechhubIndia Жыл бұрын
add-migration initial update-database -verbose
@CyrixLord4 жыл бұрын
well, its not pretty but this video answered a lot of questions regarding how to approach building a simple API suited for microservices and using ocelet.
@xyyx10012 жыл бұрын
Where are the subtitles? Thumbs down.
@HimalayaGarg4 жыл бұрын
This video do not mention whats the concept behind microservice, just explained api. Wasted whole time.
@ScholarHat4 жыл бұрын
To know about the concept, please do refer this video kzbin.info/www/bejne/ZoOldaRjhtqmfpI
@kuldeepgill26944 жыл бұрын
All about very simple API, nothing about microservice! Don't waste your 50min.
@rgubri37114 жыл бұрын
This is the tutorial of simple webapi service with ef. You just hv created a service..do u mean it is the microservice architecture? its just waste of my time
@ScholarHat4 жыл бұрын
It's a sample to create one microservice. Similar way you need to create others and do mapping with the help of ocelot and start implementing ocelot features like authentication, aggregation and others.
@DebasmitSamal2943 жыл бұрын
Excellent
@ScholarHat3 жыл бұрын
Hey Anshika, You are most Welcome! We are glad to be a part of your learning journey. Do subscribe the channel for more updates Hit the bell icon to never miss an update from our channel!