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
  • Наука та технологія

КОМЕНТАРІ • 66

  • @eser-sahin
    @eser-sahin 2 роки тому +8

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

  • @davyboy951
    @davyboy951 9 місяців тому

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

  • @acya05
    @acya05 2 роки тому +2

    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.

  • @anoopjosephmaliakal
    @anoopjosephmaliakal 2 роки тому +2

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

  • @danielm1459
    @danielm1459 Рік тому +1

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

  • @publicalias8172
    @publicalias8172 Рік тому

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

  • @jakpbubu
    @jakpbubu 2 роки тому +1

    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!

  • @ema7656
    @ema7656 2 роки тому +1

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

  • @sourabhpandit6724
    @sourabhpandit6724 2 роки тому +1

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

  • @AndrzejPauli
    @AndrzejPauli 2 роки тому +1

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

  • @techiebhogi1960
    @techiebhogi1960 2 роки тому

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

  • @johanncox
    @johanncox Рік тому

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

  • @amrmoneer5881
    @amrmoneer5881 Рік тому

    broo you are the a great teacher and deserve credit.

  • @TommiLipponen
    @TommiLipponen 2 роки тому +1

    Long-awaited topic!

  • @ovader9059
    @ovader9059 Рік тому

    This was great! Thank you for this!

  • @ziaulhasanhamim3931
    @ziaulhasanhamim3931 2 роки тому +3

    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 роки тому +1

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

  • @mukundec2040
    @mukundec2040 2 роки тому +3

    Amazing content

  • @GiovanniOrlandoi7
    @GiovanniOrlandoi7 2 роки тому +1

    Great video!

  • @eesemeachile9511
    @eesemeachile9511 2 роки тому +2

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

  • @brette
    @brette 2 роки тому +1

    Nice Nish!

  • @sanjaygunjal8306
    @sanjaygunjal8306 2 роки тому +1

    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 UA-cam: ua-cam.com/video/gPInkLCfalE/v-deo.html

  • @rejulcp5089
    @rejulcp5089 2 роки тому +1

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

  • @shashankkulkarni993
    @shashankkulkarni993 Рік тому +1

    Very true 😊😊😊

  • @sandeeptanwar
    @sandeeptanwar Рік тому

    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.

  • @pranambhat7964
    @pranambhat7964 2 роки тому +1

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

  • @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

  • @nagamahesh656
    @nagamahesh656 Рік тому

    Awesome Awesome Awesome 👌

  • @XeonProductions
    @XeonProductions Рік тому +28

    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 Рік тому +12

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

    • @guillermomazzari4983
      @guillermomazzari4983 Рік тому +1

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

  • @sachithmw
    @sachithmw 2 роки тому

    waiting for it

  • @pirrastorres7241
    @pirrastorres7241 2 роки тому

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

  • @techiebhogi1960
    @techiebhogi1960 2 роки тому

    You are super... Bhogi from India

  • @migishan
    @migishan Рік тому

    Good 👍

  • @shahnewajjohn476
    @shahnewajjohn476 2 роки тому

    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

  • @hernanvelazquez1421
    @hernanvelazquez1421 2 роки тому

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

    • @NishAnil
      @NishAnil 2 роки тому +2

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

  • @davestorm6718
    @davestorm6718 2 роки тому

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

  • @shahnewajjohn476
    @shahnewajjohn476 2 роки тому +1

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

    • @jakpbubu
      @jakpbubu 2 роки тому

      It is Powershell, called pwsh starting with version 6.0

  • @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

  • @kimberlyjacobsen4148
    @kimberlyjacobsen4148 6 місяців тому

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

  • @amrswalha
    @amrswalha 7 місяців тому

    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.

  • @yonatangoldin
    @yonatangoldin 7 місяців тому

    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

  • @leknyzma
    @leknyzma 2 роки тому +1

    just turn off CC when you are watching this

  • @rsurve9
    @rsurve9 Рік тому

    Good video but it explains more about Dockers.

  • @GP_1M
    @GP_1M 8 місяців тому

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

  • @rasmuslarsen77
    @rasmuslarsen77 Рік тому +1

    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.

  • @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😄

  • @ftibo331
    @ftibo331 2 роки тому +3

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

  • @elTripaSeca
    @elTripaSeca 2 роки тому

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

  • @doncharly7723
    @doncharly7723 2 роки тому

    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
    @06320017 2 роки тому

    very slow video, long long intraduction closed it

  • @yourhobby6762
    @yourhobby6762 2 роки тому

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

  • @ignatnikitin6666
    @ignatnikitin6666 Рік тому

    Very superficial video

  • @shubhammaurya3671
    @shubhammaurya3671 29 днів тому

    darknet community💀

  • @user-op7ht6cm5n
    @user-op7ht6cm5n 8 місяців тому

    useless