What are microservices?!?!? Let’s build one with .NET and Docker!
Вставка
- Опубліковано 6 чер 2024
- In recent years, enterprises are choosing microservices over monolithic for their large consumer applications to meet user demand, increase scalability and availability. In this episode, Nish Anil will take you through Microservices concepts, what are containers and how they're relevant. You will learn to build your first Microservices endpoint in .NET, containerize it and run them locally within 30 mins.
👉 Learn how to build your first microservice:
docs.microsoft.com/learn/modu...
00:00 - Introduction
01:40 - What are Microservices?
03:04 - Comparing to Monolithic Architecture
04:02 - Decomposing an app into multiple services
05:46 - How are microservices packaged and deployed?
06:08 - What role do containers play?
06:43 - What is Docker?
07:22 - Docker Architecture
08:01 - Containers vs Virtual Machines
08:49 - What is an Orchestrator/Kubernetes?
09:33 - Demo: Build a Microservice endpoint in .NET
13:56 - Dockerfile explanation
16:14 - Common Docker error - the docker daemon is not running
17:51 - What are Docker multi-stage builds?
19:58 - Run multiple containers locally using Docker-Compose
👉 ASP.NET Core Microservices learn path
aka.ms/aspnet-microservices
🥳📚Free E-Books - go Zero to expert 📚
dot.net/architecture
♥️ Are you new to .NET?
Start here: dot.net
🙋♀️🙋♂️ Get your questions answered on the Microsoft Q&A for .NET: aka.ms/dotnet-qa
🏫 Learn C#, F#, and .NET with free self-guided learning from Microsoft Learn: aka.ms/learndotnet
#microservices #DotNet #Docker #aspnet #cloudnative #architecture #Dockerfile - Наука та технологія
You explain it very well Nish. Thanks a lot. Please keep the series going.
never heard of multi-stage builds before today. my mind is blown. thank you sir!
When you say "operating system" what you really mean is a "Runtime" but other than that great content. It is an important detail cause unlike VMs, containers don't require you to base your applications on top of an OS. You can simply put in the compiler and runtime and your dependencies and viola. It's what makes containers so mobile and flexible and lightweight.
Another amazing session form Nish... Thanks a lot Nish
By far the most amazing explanation ! Good job ! Thank you !!!
Incredible introduction, thanks for making it make sense Nish Anil!
Very useful content, can't wait for next episodes!
EDIT: Did a course from link along with your video, such a great way to easily understand the topic!
Wow!!! It's amazing! Thank you very much for this content!!!
Wow super . great explanation without wasting time . waiting for more videos.
Goood content, excellent pace and speed of prelection, will share it to my friends. Keep on the good work.
No words .. Superb... You are too good in presentation and explanation of content
Loved your video! It was easy to understand and right to the point!
broo you are the a great teacher and deserve credit.
Long-awaited topic!
This was great! Thank you for this!
More videos like this. the live shows are great but these kind of videos are best for topics like this
This. This. This. We need more content like this.
Amazing content
Great video!
i am waiting. Hope to learn many things. i have never build a MS
Nice Nish!
Perfect explanation but majority part covers docker. Would be happy to know on microservices. Is there any other references?
Here's a nice playlist on UA-cam: ua-cam.com/video/gPInkLCfalE/v-deo.html
Nice Presentation..impressive language and articulated well...Kudos..Nish
Very true 😊😊😊
you've my respect my RESPECT bro......!!!!
How can we get branch names on and colorize branch/path names in Windows Terminal? I'm using Windows 11 but I can't do that with Windows Terminal.
Great explanation 👏
One question outside the box :
I have Mac os and .NET 6.0 PREVIEW has causing me a lot of problems. I'm unable to build and run any application. Any solution? Which DOT Net version best suits for Mac Os??
Similar to breaking an application into multiple DLL's? Except that each DLL would be an app or service that can run stand-alone? Or am I over simplifying it
Awesome Awesome Awesome 👌
I have seen microservice hell develop before though, where there are so many services it becomes an unmaintainable nightmare. So I think when creating a microservices architecture, it might still be forgivable to bundle more tightly coupled functionality into a single service. Not everything has to be micro, there can be medium sized services.
So next popular architecture ptobably will be ptobably called something like "normal sized services arcitecture" :)
@@ignatnikitin6666 I laughed very hard at this lol
@@ignatnikitin6666 lol
@@ignatnikitin6666 isn't that the meaning of soa?
waiting for it
Usarás Service Fabric? Porqué no lo promueven?
You are super... Bhogi from India
Good 👍
When I am going to run the url in browser its showing not secure and not running? What to do?
It's probably because you have not enabled to use self signed certs for development. See the doc docs.microsoft.com/en-us/dotnet/core/additional-tools/self-signed-certificates-guide
How docker-compose command knows which yaml file should run and where is it?
I was executing the command in the same folder where the docker-compose file was. See the linked sample in the course.
Thanks. I see why it can take a year to learn all this stuff. No wonder these people get paid the big bucks.
What is the name of the cmd tool you have used?
It is Powershell, called pwsh starting with version 6.0
what is the problem, again, with scaling a monolitic app? think of it as a single microservice, being monolithic does NOT imply being single-instance, nor does it restrict you in containerizing the app. I think monolith vs. microcervice difference lies in development/maintaining process and is not about production limitations
now make a version were you show how to cross compile the container I use buildx
Microservices are just Mulltiple Monolithic but just smaller...
If you have an extension method in one, you will have to add library to share it. Dependency hell became API hell.
I guess he found his own NISH in the .NET ecosystem * badum tsss *
get it? bcus his name is Nish and it sounds similar to the word 'Niche', which means a segment in a particular field
just turn off CC when you are watching this
Good video but it explains more about Dockers.
He explained 1 month content in this video 😂. Seriously I had to pause and understand.
If you are going to add English subtitles that clearly are autogenareted, then at least correct them. There is no need to have two options for autogenerated subtitles! That said, there is some happy mistakes. 13:55 explains that one needs a doctor to create images.
you look famous... wow this video is very well-edited -- very unusual -- nice! very listenable and watchable.... except for that Texas accent....
Pun intended😄
It's all about Docker. Almost nothing about microservices :( Wrong title...
That big stick is real heavy that's is a fake
Technical stuff you have to teach much slower than what you do here then only people digest and grab each step.
Included closed caption (not auto-generated) is crap. Lot's of errors.
Very heavy accent. Hard to understand. 😞
"Leonardo Lombardi" complaining about heavy accent when people are speaking english. You might prefer hearing the accent of Italians speaking English, 😉
very slow video, long long intraduction closed it
2 minutes real information 20 minutes video effects and just introduction. Disappointed
Very superficial video
darknet community💀
useless