What are Microservices in ASP.NET Core (My understanding and what I have learned so far)

  Рет қаралды 63,964

DotNet Core Central

DotNet Core Central

3 жыл бұрын

I have been getting requests to do a video on building microservices in the cloud. But before I could do that, it is imperative that I do a video on the concepts of microservices.
In this video, I will walk through what is my understanding of microservices and what I have learned so far from my personal experience of building microservices.
Microservices is a very vast topic, and it is very hard to cover it in a single video. But I have done my very best to cover the basics needed to start on building microservices.
I hope this video will encourage you to think in terms of microservices and take the first step in building microservices.
In my opinion, agile software development methodology and microservices are tightly connected. And in this video, I explained why I think so.
This video is in no way be-all and end-all, but it is my opinion and interpretation of microservice and how to implement microservices.
There is a lot of material on microservices available on the internet. I would suggest you go through as much content on microservice as possible and come to your conclusion on how you want to implement one.

Пікірлер: 94
@solprab
@solprab 2 жыл бұрын
Really well presented with clarity. Never seen any other video explain this much clearly the defining factors of what a Microservice is. And all the practical key points all through the video are very useful - For instance, deciding the method of communication pattern between Microservices based on the expected response time of the service.
@DotNetCoreCentral
@DotNetCoreCentral 2 жыл бұрын
@Solomon Prabhakaran, thanks for watching!
@Izekat
@Izekat 2 жыл бұрын
Very clear and concise. Thank you for creating such a helpful video!
@DotNetCoreCentral
@DotNetCoreCentral 2 жыл бұрын
Thanks for watching!
@javadghamari3730
@javadghamari3730 3 жыл бұрын
I am speechless! god job. you are going to be among the best.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@javad ghamari, thanks for watching!
@TonyAlcast
@TonyAlcast 3 жыл бұрын
Thanks for sharing your knowleadge with us!
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Tony Alcast, thanks for watching!
@VijayKumar-wy9ku
@VijayKumar-wy9ku Жыл бұрын
Thanks for great videos and for keeping them to the exact point.
@DotNetCoreCentral
@DotNetCoreCentral Жыл бұрын
Glad you like them!
@anilpillay2193
@anilpillay2193 2 жыл бұрын
Excellent !!! thank you very much
@mchoirul
@mchoirul 3 жыл бұрын
very great presentation.. down to earth. easy to digest
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@choirul amri, thanks for watching!
@rajeshselvam564
@rajeshselvam564 3 жыл бұрын
This is awesome..it's helps me lot.. please post videos like that would help many folks like me...
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Rajesh Selvam, thanks for watching!
@FullStackIndie
@FullStackIndie 2 жыл бұрын
Thanks for sharing man! Really helped me! God bless!
@DotNetCoreCentral
@DotNetCoreCentral 2 жыл бұрын
@Full Stack Indie, thanks for watching!
@KoScosss
@KoScosss 3 жыл бұрын
Good explanation and experience share. Thanks.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@KoScosss thanks for watching!
@RAM-ff8dy
@RAM-ff8dy 3 жыл бұрын
Your videos are worth watching, Always waits for your videos, Hope you'll do complete ASP Net Project or Any live session that covers complete ASP NET Core API project.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@RAM, thanks for watching the video. I will definitely do a video on your request.
@enghazymeh9921
@enghazymeh9921 2 жыл бұрын
You have answered my questions in one video thanks bro
@DotNetCoreCentral
@DotNetCoreCentral 2 жыл бұрын
@Eng Hazymeh, thanks for watching!
@stevenqi1344
@stevenqi1344 Жыл бұрын
Very good video. Thank you.
@DotNetCoreCentral
@DotNetCoreCentral Жыл бұрын
Glad you liked it!
@mahendranchinnaiah7593
@mahendranchinnaiah7593 3 жыл бұрын
Hi.. Great video. Eagerly waiting for next part of microservices. If you possible please share the upcoming video topics..
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Mahendran Chinnaiah, thanks for watching. I will start posting on my channel and get feedback for future videos. Thanks for the suggestion.
@osamamagdy8285
@osamamagdy8285 11 ай бұрын
Dude, great content
@DotNetCoreCentral
@DotNetCoreCentral 11 ай бұрын
Appreciate it!
@jayaramankumar
@jayaramankumar 3 жыл бұрын
Great video! It is an informative one and worth watching every minute of your speech.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Jayaraman Kumar, thanks for your appreciation!
@SachinDewan12
@SachinDewan12 3 жыл бұрын
Hi , its my worth to watch video. very descriptive content amongst all the video I had watched. Thanks for such awesome contents and the way you explained everything. I would be thankful to you if you have any training martial or video from the scratch how to build the microservice and containerized them with the data base and how to deploy them. Thanks Again.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Sachin Kumar, thanks for watching! I don't have any video on that yet, but I think it is something worth considering. I will add it to my calendar for a future date.
@rushabhshah8297
@rushabhshah8297 Жыл бұрын
Well made
@DotNetCoreCentral
@DotNetCoreCentral Жыл бұрын
Thanks
@naufilshaikh09
@naufilshaikh09 3 жыл бұрын
Great video.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Naufil Shaikh, thanks for watching!
@manuelguerrero9917
@manuelguerrero9917 3 жыл бұрын
Great video
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Manuel Guerrero, thanks for watching!
@MrDonald911
@MrDonald911 3 жыл бұрын
Thanks for the great content ! I actually had a question, for instance if I have a microservice that needs table A only and another microservice that needs table A and B because of join operations. Does it make sense to keep the 2 microservices or should I just have 1 microservice that will sometimes not use table B ? Thanks :)
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@MrDonald911, it might make sense to keep only one, but it depends on what their intersection of domain responsibilities. If they do not intersect at-all, it will not make sense to bring them together.
@amit17rajput
@amit17rajput 3 жыл бұрын
Very good video.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@amit rajput, thanks for watching!
@srinivasreddyyella8450
@srinivasreddyyella8450 3 жыл бұрын
Very underrated tutorials, keep up your good work.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@srinivas Reddy Yella, thanks for watching!
@ramyabantaram9586
@ramyabantaram9586 3 жыл бұрын
Thanks alot to you
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Ramya Bantaram, thanks for watching!
@SaravanaKumar-bt5xn
@SaravanaKumar-bt5xn 3 жыл бұрын
Very well explained. Thank you so much for sharing your learning and thoughts. Could you please clarify on the following questions. 1. Can we use containers for heavy traffic sites? 2. If yes, how we can scale out / up containers?
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Saravana Kumar, hi, thanks for watching the video. 1. Yes, you can use containers for any applications. 2. Yes, a container can take all the resources of a machine, but in that case, the machine will probably have only one container. That kind of defeats the purpose of using containers in the first place. If your application need scaling up, I would suggest reconsidering the design. Scaling out is a much better strategy then scaling up, as there is always a limit to how much you can scale up. Whereas there is no limit to scaling out. I hope it makes sense. Thanks!
@SaravanaKumar-bt5xn
@SaravanaKumar-bt5xn 3 жыл бұрын
@@DotNetCoreCentral Thank you.😊
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@@SaravanaKumar-bt5xn glad I could help! Thanks again for watching!
@vineetdubey5962
@vineetdubey5962 Жыл бұрын
Good explained
@DotNetCoreCentral
@DotNetCoreCentral Жыл бұрын
Thanks for liking
@shenth27
@shenth27 Жыл бұрын
One of the main reason moving to Micro Services is the advantage independent scalability. And from my experience end to end testing is much harder with Micro Services and most tend to rely on efficient unit testing within each service.
@ramiganimadhukarreddy3260
@ramiganimadhukarreddy3260 Жыл бұрын
Well said... Extremely hard for New developers coming after design when you have no proper documentation of your microservices communications/pattern
@stevenqi1344
@stevenqi1344 Жыл бұрын
Unit testing is another topic, though. 100% unit testing should be the norm for any professional team. If this is difficult to do, it's possible that you're not splitting to the correct interfaces. Integration testing should be done by experienced programmers. Most other services that do not belong to this domain can be mocked. Usually companies should have their own integration test framework to make it easier. CI/CD teams can be more easily complete full end-to-end testing automatically and should have a way to let you to do the test in certain UI in certain environment for your new tag. I can't think of any obvious major downside, other than the cost of communication between microservices.
@sandippawar6193
@sandippawar6193 2 жыл бұрын
Can you elaborate on Data Stream? Is it radially available set of tables? Or your custom tables which updates summary information internally? Nice explanation.
@sitalsitoula6536
@sitalsitoula6536 6 ай бұрын
Seems like a data warehouse to me.
@birendrasahu5777
@birendrasahu5777 3 жыл бұрын
Thanks, well explained and crystal! can you share us using Docker and Docker-compose
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Birendra Sahu, thanks for watching! I will definitely create a video on Docker in the future.
@noobcoder1687
@noobcoder1687 Жыл бұрын
Is this course still valid in 2022? Do you have any plan to release a dedicated series on Microservice?
@DotNetCoreCentral
@DotNetCoreCentral Жыл бұрын
To my knowledge, this is still valid as far as microservices are concerned.
@SajadJalilian
@SajadJalilian 3 жыл бұрын
Thanks for your awesome channel. please correct the order of videos in your microsevice playlist
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Sajad Jalilian, thanks for watching! I will correct the order.
@manuelguerrero9917
@manuelguerrero9917 3 жыл бұрын
Do a serie turning a monolith application with the concepts of microservices.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Manuel Guerrero, thanks for watching the video. I am not sure I understood your request, can you please elaborate. Thanks
@user-ww1il5bo8m
@user-ww1il5bo8m Жыл бұрын
How Web API is difference than micro services? how can be microservices intergrated with main application?
@DotNetCoreCentral
@DotNetCoreCentral Жыл бұрын
Microservice is a architectural pattern which can be implemented through Web API
@dilipgautam9941
@dilipgautam9941 3 жыл бұрын
Could you please cover Abstract factory and Factory Design pattern.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Dilip Gautam, sure I can do that.
@gopalakrishnanm9349
@gopalakrishnanm9349 3 жыл бұрын
can please put video for micro service with kafka...? and how to document the micro services example swagger
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Gopi HB, I already have a video for Kafka, it should not be any different for a microservice. Kafka is a streaming service, so its all about if your microservice is going to be a producer or consumer. I am not 100% sure what is your expectation for a microservice with Kafka. If you could elaborate it more, I can definitely look into it. And also regarding swagger, I have a video on Swagger and ASP.NET Core. That should be true for any HTTP microservice you are building. Please let me know if this is what you had in mind. Thanks!
@gopalakrishnanm9349
@gopalakrishnanm9349 3 жыл бұрын
@@DotNetCoreCentral thanks for ur rly. I'm beginner for micro service architecture. I have some questions. 1.Definitely use bus service for microservice architecture..? 2.what u preferred bus service for microservice architecture..? 3.which is better building own API gateway or ocelot..? 4. I choose kafka bus service because its open source what about ur suggestion..? Last one request can u pls put videos for bus services
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@@gopalakrishnanm9349 For question no 1., it depends on what problem you are trying to solve. In some cases plain old database will be the only thing needed. Some cases streaming service like Kafka is better. In some cases, a queue like RabbitMQ is better. It completely depends on your situation. 2. I prefer Kafka for streaming and RabbitMQ for queue 3. I would prefer Ocelot as it comes with all features 4. Yeah that makes sense
@ankitv7390
@ankitv7390 Жыл бұрын
Could you please share slides for this video, that will definitely help.
@Gimmiyimmy
@Gimmiyimmy 3 жыл бұрын
You mean data stream is like separate report server which will contain data from all micro services. right ? i yes how data is replicated to the report server.
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Atul Srivastava, thanks for watching. Though I could not understand your comment, can you please clarify? Thanks!
@swapnilbole1147
@swapnilbole1147 Жыл бұрын
Video is too good
@DotNetCoreCentral
@DotNetCoreCentral Жыл бұрын
Thanks for watching!
@allvirus4262
@allvirus4262 3 жыл бұрын
Hi, u video is very useful ! I have a question is if I use efcore orm to create database, how to build migration to generate database with two microservices E.g produce Microservices , order Microservices . what is structure for Microservices modeldata use efcore
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@All Virus, your both microservices should own their databases, or at-least table set. In that case your migration for each service will be inside of the service itself and should not cause any conflict. Thanks!
@allvirus4262
@allvirus4262 3 жыл бұрын
@@DotNetCoreCentral Is it weak association? if I get order info and the order has produce info,it is means i get request to order and the order microservices call produce microservices get produce info, or two requset send, one call to order .another call produce ? how association between two microservices? thanks for you answer~
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@@allvirus4262 Ideally the order should keep a common minimum information of produce in the context of order at the point in time when order was made, for example, produce id, name, price and quantity. As it belongs to order context. And that should be in the POST contract of the order. Now if the caller needs produce information, which is beyond the context of the order, in that case, the caller should make two calls asking produce for the data associated with the produce ids. Does this answer your question? Thanks!
@allvirus4262
@allvirus4262 3 жыл бұрын
@@DotNetCoreCentral Tanks! I understand!
@shreyasjejurkar1233
@shreyasjejurkar1233 3 жыл бұрын
See, first, a fall people need to understand is that microservices are not a solution to every problem. Monoliths are still great and there are a number of the application right now in production which is built on it. The services which are now microservices were monolith at some time in the past. One of the biggest hurdles in building microservices is the inter-communication between microservices and maintaining transactions which span across different bounded contexts (different services), once the team found a solution to this problem by adhering to their project requirement, of course, microservices then are easy to build. What I do personally is like I start with a monolith (by keeping separation of concern, but in single solution), once I fill like, now it's time to divide it in a separate solution of simpler microservice, then I tend to start to do it, this way you can learn and it easily separable if you already followed the separation of concern principle while building the same. Then I focus on solving those 2 above major problems. Greate video btw! :) Please make a video on using MassTransit with rabbitmq. That will be very helpful. Edit - I write this comment at 10:00, seems like you are talking the same thing that I wrote here. 😁😁
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Shreyas Jejurkar, thanks for providing your valuable inputs, and thanks for watching the video.
@shreyasjejurkar1233
@shreyasjejurkar1233 3 жыл бұрын
@@DotNetCoreCentral Please make a video on using MassTransit!
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@@shreyasjejurkar1233 sure, will add it to my TODO list, thanks!
@pedroferreira9234
@pedroferreira9234 3 жыл бұрын
Tutorial using microservice in dotnet?
@DotNetCoreCentral
@DotNetCoreCentral 3 жыл бұрын
@Pedro Ferreira, Thanks for watching the video. I am planning to do a video on breaking out a monolithic application written in .Net Core to microservices, is this what you are looking for?
@pedroferreira9234
@pedroferreira9234 3 жыл бұрын
@@DotNetCoreCentral yes, thx you so much! Love the content.
@yyzpro9460
@yyzpro9460 Жыл бұрын
Linux SUCKS !!!
@kailashmali8300
@kailashmali8300 11 ай бұрын
Very clear and concise. Thank you for creating such a helpful video!
@DotNetCoreCentral
@DotNetCoreCentral 11 ай бұрын
Glad you enjoyed it!
Microservices Explained in 5 Minutes
5:17
5 Minutes or Less
Рет қаралды 721 М.
Я обещал подарить ему самокат!
01:00
Vlad Samokatchik
Рет қаралды 9 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 21 МЛН
Nastya and SeanDoesMagic
00:16
Nastya
Рет қаралды 43 МЛН
RabbitMQ in .NET Core (Part 1, Single producer and consumer with Queue)
19:38
DotNet Core Central
Рет қаралды 118 М.
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 22 М.
Clean ASP.NET Core API using MediatR and CQRS | Setup
22:39
Nick Chapsas
Рет қаралды 320 М.
An introduction to MassTransit using RabbitMQ (In ASP.NET Core)
22:11
DotNet Core Central
Рет қаралды 46 М.
Building Reactive Microservice with RabbitMQ and ASP.NET Core
31:58
DotNet Core Central
Рет қаралды 35 М.
Difference Between REST API vs Web API vs SOAP API Explained
7:24
Learn with Whiteboard
Рет қаралды 180 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,7 МЛН