.NET 6 - Message Broker with RabbitMQ 🐰🐰🐰

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2022
  • In this video we will be going to be discussion Message Broker with RabbitMQ in .NET Application why do we need it and how can we implement it in our .NET 6 Web API. We will be building a message producer and message consumer.
    Support me on Patreon to access the source code:
    / mohamadlawand
    Create .NET 6 Web API
    • Build CRUD with .NET 6...
    .NET 6 and PostgreSQL
    • .NET 6 PostgreSQL and ...
    .NET 6 - AutoMapper & Data Transfer Objects (DTOs) 🗺
    • .NET 6 - AutoMapper & ...
    Middlewares
    • Asp.Net Core - Middleware
    Dependency Injections
    • Asp.Net Core - Depende...
    Let us connect:
    🌍 My website - mohamadlawand.com
    📸 Instagram - / mohamadlawand087
    🐦 Twitter - / moe23
    ♯ Github - github.com/mohamadlawand087
    🎫 LinkedIn - / mlawand
    💥 LinkTree - linktr.ee/mohamadlawand
    Gear I use (affiliate link): amzn.to/3EbT8Jw
    Support my work:
    / mohamadlawand
    www.buymeacoffee.com/mohamadl...
    Hire Me:
    transactions.sendowl.com/prod...
    WHO AM I:
    I'm Mohamad, a Enterprise Architect working in Manchester, UK. I make videos about web, cloud, desktop and mobile development.
    GET IN TOUCH:
    If you’d like to talk, I’d love to hear from you. Tweeting @moe23 directly will be the quickest way to get a response, but if your question is very long, feel free to email me at hello@mohamadlawand.com.
    #dotnet #rabbitmq #api

ความคิดเห็น • 59

  • @berkozerdogan
    @berkozerdogan ปีที่แล้ว +5

    Hi from Turkey, thank you for your videos. I hope you will not stop it. Take care, cyu.

  • @niyazibakkal196
    @niyazibakkal196 10 หลายเดือนก่อน +7

    25:06 The cries of your child.. and a father's most difficult moments. Nevertheless, you maintained good concentration. Thank you for this nice tutorial 😊 Peace & Respect !!

    • @pt_trainer9244
      @pt_trainer9244 8 หลายเดือนก่อน

      That was a bird

    • @abdurahmon9926
      @abdurahmon9926 6 หลายเดือนก่อน

      @@pt_trainer9244 lol fr

  • @shohaibpt2996
    @shohaibpt2996 9 หลายเดือนก่อน

    Really fruitful tutorial. Thanks a million

  • @softwaredevx
    @softwaredevx 3 หลายเดือนก่อน

    This was really helpful video. Thank you so much for detailed tutorial.

  • @pouyatirdad8489
    @pouyatirdad8489 ปีที่แล้ว +5

    good tutorial but when you change exclusive to false , please mention that in video :)

  • @anaraxmed2606
    @anaraxmed2606 8 หลายเดือนก่อน +1

    good father, good video!😀

  • @neilvermeulen5283
    @neilvermeulen5283 ปีที่แล้ว

    Thank you Mohamad. You explain well sir.

  • @khaledaljadaan7826
    @khaledaljadaan7826 2 หลายเดือนก่อน

    شرح رائع محمد شكرا جزيلا 👏🤗

  • @PadamAgrawal
    @PadamAgrawal 4 หลายเดือนก่อน

    Salute your effort. 🖖 Thanks a lot 🤗

  • @_coder99
    @_coder99 ปีที่แล้ว

    Thanks for the vid mate!

  • @bmassioui
    @bmassioui ปีที่แล้ว

    Thank you @Mohamad, keep going ...

  • @sathishkumart3598
    @sathishkumart3598 12 วันที่ผ่านมา

    super helpful

  • @MahmoudIsmail-rw7hg
    @MahmoudIsmail-rw7hg 8 หลายเดือนก่อน

    Thanks Mohamed

  • @GabyEme
    @GabyEme 5 หลายเดือนก่อน

    I´m like number 1000 !! Yhea!

  • @keshabnayak9399
    @keshabnayak9399 ปีที่แล้ว +1

    Nice tutorial Mohamad, want to understand the Authentication & Authorization in Rabbit MQ. Can you pls post a video.

  • @islamAhmed-il6pt
    @islamAhmed-il6pt ปีที่แล้ว

    Great tutorial Mohamad thanks

  • @mohsenaghakarami5140
    @mohsenaghakarami5140 5 หลายเดือนก่อน

    that is good for beginners in rabbit mq

  • @rifathossain2788
    @rifathossain2788 2 หลายเดือนก่อน

    Many many thanks, from bangladesh

  • @malikbrahimi7504
    @malikbrahimi7504 ปีที่แล้ว +2

    Thank you bro, just had a few questions. First it seems like your message that you persisted earlier wasn't read when the consumer started later on despite the fact that it wasn't dequeued, what's up with that? Second, how do you scale this in production with multiple consumers? I want my users to be able to run things concurrently, let's say if many users try to create a booking at the same time.

  • @neliquidmusic
    @neliquidmusic ปีที่แล้ว

    Thank you very much!

  • @Gilgameshx
    @Gilgameshx ปีที่แล้ว

    Awesome! nice tutorial like always man, may the peace be upon you and thank you to share your knowledge with us

  • @botirjonjumaqulov1546
    @botirjonjumaqulov1546 ปีที่แล้ว

    Thank you for much.
    Cool.
    From : Uzbekistan To: Beirut or Dubai

  • @georgekalokyris
    @georgekalokyris ปีที่แล้ว

    Great content once again Mo - thanks! Why VS Code though!? 😅

  • @haggainewman4212
    @haggainewman4212 ปีที่แล้ว +4

    Nice begginer tutorial, thanks.
    I would like to hear more in depth about all the objects and methods you are using.
    Also, pay attention that the configuratiion "exclusive: true" may cause many problems, so i set it to false.
    Thanks!
    EDIT:
    After a re-view, i can see that you edited it in the video but didnt mentioned it. it worth mentioning....

    • @rapazeo
      @rapazeo ปีที่แล้ว +4

      Its also needed to set to false in producer.

    • @hungz1241_axa
      @hungz1241_axa ปีที่แล้ว

      :)) it keep lock resource and i have to replay 5 time to fix this error.

  • @MohamedWarda_
    @MohamedWarda_ 3 หลายเดือนก่อน

    thank alot

  • @caseyspaulding
    @caseyspaulding ปีที่แล้ว

    Thank you!

  • @cgdou1
    @cgdou1 ปีที่แล้ว

    Very good!

  • @ThompsonEdolo
    @ThompsonEdolo 4 หลายเดือนก่อน

    Awesome tutorial Mo! Wouldn't the Console.ReadLine be problematic if you want to run the consumer in a docker container?

  • @bonkeselemani503
    @bonkeselemani503 ปีที่แล้ว

    Thanks 😊

  • @hafidagaougaou8823
    @hafidagaougaou8823 ปีที่แล้ว

    thank u so much can u do a show us how to consume these messages please?

  • @alisyria7915
    @alisyria7915 ปีที่แล้ว

    Mr.mohammad, should we use AntiForgeryToken in our web api?
    and why if is it?
    Thanks ❤❤

  • @stanfordladelofficial1689
    @stanfordladelofficial1689 9 วันที่ผ่านมา

    Nice work can you create An Event BoookidCreated using the DDD architecture then send the message to ticketprocessing system to process using RabbitMQ with EasyNet and save to the

  • @lirovink
    @lirovink หลายเดือนก่อน

    Very good video, thank you sir. I came across an error and in order for it to work for me, when declaring a channel, first set 'false' on 'exclusive' and also add 'autoDelete' set to 'false' and 'arguments' set to 'null'.

  • @Guillen8606
    @Guillen8606 ปีที่แล้ว +1

    I would like to understand why every rabbitmq tutorial shows the consumer as console app? What if the consumer is a web api as well with other functionalities? How would you handle it?

    • @EivindGussiasLkseth
      @EivindGussiasLkseth 11 หลายเดือนก่อน

      Then you would need to host that API in a background service to make sure that the subscription keeps running even if the API is not called for a while. If not, you would have a subscription that stops due to inactivity, and it will start receiving messages again when the API is invoked, and not when a message is published.

  • @nknanda84
    @nknanda84 ปีที่แล้ว

    Thank you so much! While trying same I am getting error like below-
    Cookie file /var/lib/rabbitmq/.erlang.cookie must be accessible by owner only
    Could you pls help me on this.

  • @kareemkaram2346
    @kareemkaram2346 23 วันที่ผ่านมา

    What if the consumer is an API project? how to make a service consumes the queue?

  • @WikkiOnIlluminati
    @WikkiOnIlluminati หลายเดือนก่อน

    Hi from Pakistan,
    I have to use RabbitMQ for sending large volume of SMS messages from web app to SMS gateway API.
    Eventually, web application will be used by multiple tenants.
    What implementation is recommended for such use case?

  • @athero02yt3
    @athero02yt3 ปีที่แล้ว

    How can i implement consumer in webAPI project not in consoleApp

  • @bloopers2967
    @bloopers2967 ปีที่แล้ว

    Can you make with Azure services integration

  • @jezreelfranklin3088
    @jezreelfranklin3088 ปีที่แล้ว

    I love you

  • @ivandrofly
    @ivandrofly ปีที่แล้ว

    38:48 Docker-compose file

  • @nicksos6
    @nicksos6 ปีที่แล้ว

    Привеь карапуз, когда будет ролик про клиент-серверное приложение с авторизацией на клиенте? asp net

    • @yurachernii3277
      @yurachernii3277 ปีที่แล้ว

      nobody understand your language

    • @abdurahmon9926
      @abdurahmon9926 6 หลายเดือนก่อน

      @@yurachernii3277 i do

  • @comrade1687
    @comrade1687 3 หลายเดือนก่อน

    1954

  • @Ty1er
    @Ty1er ปีที่แล้ว

    20:00

  • @JdSR
    @JdSR 5 หลายเดือนก่อน

    Bug 101 : Exclusive : false .

  • @ahmedameen2
    @ahmedameen2 6 หลายเดือนก่อน

    ليه مستعجل؟

  • @rankarat
    @rankarat ปีที่แล้ว +1

    Nice tutorial Mohamad, but please can you less use the word "basically"? Thanks.

  • @altair91100
    @altair91100 ปีที่แล้ว

    thank you for the tutorial, however you should try to take a deep breath and slow down when talking, and avoid using "basically" as a comma :)