What are microservices?!?!? Let’s build one with .NET and Docker!

Ғылым және технология

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

Пікірлер: 68

  • @eser-sahin
    @eser-sahin2 жыл бұрын

    You explain it very well Nish. Thanks a lot. Please keep the series going.

  • @anoopjosephmaliakal
    @anoopjosephmaliakal2 жыл бұрын

    Another amazing session form Nish... Thanks a lot Nish

  • @danielm1459
    @danielm1459 Жыл бұрын

    By far the most amazing explanation ! Good job ! Thank you !!!

  • @ema7656
    @ema76562 жыл бұрын

    Wow!!! It's amazing! Thank you very much for this content!!!

  • @jakpbubu
    @jakpbubu2 жыл бұрын

    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!

  • @brette
    @brette2 жыл бұрын

    Nice Nish!

  • @AndrzejPauli
    @AndrzejPauli2 жыл бұрын

    Goood content, excellent pace and speed of prelection, will share it to my friends. Keep on the good work.

  • @sourabhpandit6724
    @sourabhpandit67242 жыл бұрын

    Wow super . great explanation without wasting time . waiting for more videos.

  • @davyboy951
    @davyboy95110 ай бұрын

    never heard of multi-stage builds before today. my mind is blown. thank you sir!

  • @shashankkulkarni993
    @shashankkulkarni993 Жыл бұрын

    Very true 😊😊😊

  • @ziaulhasanhamim3931
    @ziaulhasanhamim39312 жыл бұрын

    More videos like this. the live shows are great but these kind of videos are best for topics like this

  • @event-sourcing

    @event-sourcing

    2 жыл бұрын

    This. This. This. We need more content like this.

  • @publicalias8172
    @publicalias8172 Жыл бұрын

    Incredible introduction, thanks for making it make sense Nish Anil!

  • @techiebhogi1960
    @techiebhogi19602 жыл бұрын

    No words .. Superb... You are too good in presentation and explanation of content

  • @XeonProductions
    @XeonProductions2 жыл бұрын

    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.

  • @ignatnikitin6666

    @ignatnikitin6666

    Жыл бұрын

    So next popular architecture ptobably will be ptobably called something like "normal sized services arcitecture" :)

  • @guillermomazzari4983

    @guillermomazzari4983

    Жыл бұрын

    @@ignatnikitin6666 I laughed very hard at this lol

  • @Paul-uo9sv

    @Paul-uo9sv

    Жыл бұрын

    @@ignatnikitin6666 lol

  • @alanguijarro816

    @alanguijarro816

    11 ай бұрын

    @@ignatnikitin6666 isn't that the meaning of soa?

  • @TommiLipponen
    @TommiLipponen2 жыл бұрын

    Long-awaited topic!

  • @mukundec2040
    @mukundec20402 жыл бұрын

    Amazing content

  • @rejulcp5089
    @rejulcp50892 жыл бұрын

    Nice Presentation..impressive language and articulated well...Kudos..Nish

  • @acya05
    @acya052 жыл бұрын

    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.

  • @sandeeptanwar
    @sandeeptanwar Жыл бұрын

    you've my respect my RESPECT bro......!!!!

  • @johanncox
    @johanncox Жыл бұрын

    Loved your video! It was easy to understand and right to the point!

  • @sanjaygunjal8306
    @sanjaygunjal83062 жыл бұрын

    Perfect explanation but majority part covers docker. Would be happy to know on microservices. Is there any other references?

  • @hz7qnf

    @hz7qnf

    Жыл бұрын

    Here's a nice playlist on KZread: kzread.info/dash/bejne/mYR90M2Fc8nHnKg.html

  • @GiovanniOrlandoi7
    @GiovanniOrlandoi72 жыл бұрын

    Great video!

  • @nagamahesh656
    @nagamahesh656 Жыл бұрын

    Awesome Awesome Awesome 👌

  • @sachithmw
    @sachithmw2 жыл бұрын

    waiting for it

  • @ovader9059
    @ovader9059 Жыл бұрын

    This was great! Thank you for this!

  • @amrmoneer5881
    @amrmoneer5881 Жыл бұрын

    broo you are the a great teacher and deserve credit.

  • @eesemeachile9511
    @eesemeachile95112 жыл бұрын

    i am waiting. Hope to learn many things. i have never build a MS

  • @migishan
    @migishan2 жыл бұрын

    Good 👍

  • @pranambhat7964
    @pranambhat79642 жыл бұрын

    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??

  • @techiebhogi1960
    @techiebhogi19602 жыл бұрын

    You are super... Bhogi from India

  • @mikekosak9598
    @mikekosak9598 Жыл бұрын

    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

  • @davestorm6718
    @davestorm67182 жыл бұрын

    Thanks. I see why it can take a year to learn all this stuff. No wonder these people get paid the big bucks.

  • Жыл бұрын

    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.

  • @hernanvelazquez1421
    @hernanvelazquez14212 жыл бұрын

    How docker-compose command knows which yaml file should run and where is it?

  • @NishAnil

    @NishAnil

    2 жыл бұрын

    I was executing the command in the same folder where the docker-compose file was. See the linked sample in the course.

  • @shahnewajjohn476
    @shahnewajjohn4762 жыл бұрын

    When I am going to run the url in browser its showing not secure and not running? What to do?

  • @NishAnil

    @NishAnil

    2 жыл бұрын

    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

  • @pirrastorres7241
    @pirrastorres72412 жыл бұрын

    Usarás Service Fabric? Porqué no lo promueven?

  • @shirumi2331
    @shirumi233116 күн бұрын

    Unit 3 is different in the link

  • @yonatangoldin
    @yonatangoldin7 ай бұрын

    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

  • @kimberlyjacobsen4148
    @kimberlyjacobsen41487 ай бұрын

    now make a version were you show how to cross compile the container I use buildx

  • @amrswalha
    @amrswalha7 ай бұрын

    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.

  • @megasuperlexa2
    @megasuperlexa2 Жыл бұрын

    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

  • @leknyzma
    @leknyzma2 жыл бұрын

    just turn off CC when you are watching this

  • @rsurve9
    @rsurve9 Жыл бұрын

    Good video but it explains more about Dockers.

  • @shahnewajjohn476
    @shahnewajjohn4762 жыл бұрын

    What is the name of the cmd tool you have used?

  • @jakpbubu

    @jakpbubu

    2 жыл бұрын

    It is Powershell, called pwsh starting with version 6.0

  • @rasmuslarsen77
    @rasmuslarsen77 Жыл бұрын

    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.

  • @shirumi2331

    @shirumi2331

    16 күн бұрын

    +1 to this

  • @GP_1M
    @GP_1M9 ай бұрын

    He explained 1 month content in this video 😂. Seriously I had to pause and understand.

  • @ftibo331
    @ftibo3312 жыл бұрын

    It's all about Docker. Almost nothing about microservices :( Wrong title...

  • @HOWYOUDOIN884
    @HOWYOUDOIN884 Жыл бұрын

    you look famous... wow this video is very well-edited -- very unusual -- nice! very listenable and watchable.... except for that Texas accent....

  • @peculiarpeculiar2504
    @peculiarpeculiar2504 Жыл бұрын

    Pun intended😄

  • @elTripaSeca
    @elTripaSeca2 жыл бұрын

    That big stick is real heavy that's is a fake

  • @doncharly7723
    @doncharly77232 жыл бұрын

    Technical stuff you have to teach much slower than what you do here then only people digest and grab each step.

  • @leolombardi
    @leolombardi Жыл бұрын

    Included closed caption (not auto-generated) is crap. Lot's of errors. Very heavy accent. Hard to understand. 😞

  • @tomahawk5357

    @tomahawk5357

    Жыл бұрын

    "Leonardo Lombardi" complaining about heavy accent when people are speaking english. You might prefer hearing the accent of Italians speaking English, 😉

  • @06320017
    @063200172 жыл бұрын

    very slow video, long long intraduction closed it

  • @yourhobby6762
    @yourhobby67622 жыл бұрын

    2 minutes real information 20 minutes video effects and just introduction. Disappointed

  • @ignatnikitin6666
    @ignatnikitin6666 Жыл бұрын

    Very superficial video

  • @shubhammaurya3671
    @shubhammaurya3671Ай бұрын

    darknet community💀

  • @user-op7ht6cm5n
    @user-op7ht6cm5n9 ай бұрын

    useless

Келесі