AWS SNS (Simple Notification Service) - Getting Started and Integrating with .NET Apps | .NET ON AWS

Поделиться
HTML-код
  • Опубликовано: 5 авг 2024
  • Hello 👋, Amazon Simple Notification Service (SNS) is a managed service that provides message delivery from publishers to subscribers. Publishers communicate asynchronously with subscribers using messages. SNS supports Application-to-application and application-to-person communication.
    The Application-to-Application messaging functionality enables many-to-many messaging between distributed systems, microservices, event-driven serverless applications, etc. The Application-To-Person functionality enables to send messages to users via SMS, push, and email.
    In this video, let’s learn how to get started with Amazon SNS and use it from a .NET application. We’ll learn about Topics, sending messages, and using Subscriptions to receive messages. We will also learn about Filters, error handling, and more.
    This video is sponsored by AWS and is part of the .NET on AWS Series.
    00:00 - Introduction
    03:22 - Topics
    13:25 - Subscriptions
    14:20 - Email Subscription
    16:43 - Lambda Subscription
    22:11 - Filter
    28:49 - Filter Options
    32:24 - Retries
    33:43 - Errors & DLQ
    39:43 - Conclusion
    🔗Blog Post - www.rahulpnath.com/blog/amazo...
    🔗Source - rahulpnath.visualstudio.com/D...
    🔗AWS SNS - docs.aws.amazon.com/sns/lates...
    🔗Filter Policies docs.aws.amazon.com/sns/lates...
    🔗Retry Policies - docs.aws.amazon.com/sns/lates...
    Additional Watching
    📹Amazon SQS - • AWS SQS (Simple Queue ...
    📹AWS Lambda - • AWS LAMBDA For The .NE...
    📹AWS DynamoDB - • AWS DynamoDB For The ....
    📹AWS Series - • .NET on AWS
    📹ASP NET Core Series - • ASP.NET Core
    Come say hi! ✋
    🌍 Blog - rahulpnath.com/
    ✉ Subscribe to my Newsletter - www.rahulpnath.com/subscribe
    🐦Twitter - / rahulpnath
    📸Instagram - / rahulpnath
    🎥 Recording Setup and Workflow - www.rahulpnath.com/blog/youtu...
    Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
  • ХоббиХобби

Комментарии • 28

  • @RahulNath
    @RahulNath  2 года назад

    Check out the blog post to read along www.rahulpnath.com/blog/amazon-sns/

  • @TonoNamnum
    @TonoNamnum 2 года назад +1

    I am going to start using this instead of pushover the app. Thanks Raul great video!

    • @RahulNath
      @RahulNath  2 года назад +1

      Glad it was helpful Antonio! (And it's 'Rahul', you are only missing an 'h' 😀)

  • @gurbhejsingh814
    @gurbhejsingh814 2 года назад

    Really clearly objective, precise, without clutter. Find it interesting. This channel will grow.

    • @RahulNath
      @RahulNath  2 года назад

      Happy to hear that - Do check out the other videos in the AWS Series bit.ly/aws-net-series
      Do let know if you have topic suggestions.

  • @greggtierney8418
    @greggtierney8418 2 года назад

    Hi Rahul, thankyou this is brilliant, I've been looking for a simple explanation to this for ages.

    • @RahulNath
      @RahulNath  2 года назад +1

      Glad it was helpful Gregg! Do let me know if you have AWS topic suggestions. Looking to build up some content around AWS and .NET. You can check out the current series here bit.ly/aws-net-series

    • @greggtierney8418
      @greggtierney8418 2 года назад +1

      @@RahulNath cognito might be useful for .net users, its another service that's often poorly explained ( i know itt took me a few weeks to implement it and poorly at that)

    • @greggtierney8418
      @greggtierney8418 2 года назад +1

      @@RahulNath another one might be static web page that consumes a API gateway endpoint. A get post to dynamo maybe

    • @RahulNath
      @RahulNath  2 года назад

      @@greggtierney8418 Great suggestions Gregg! Adding it to my list

  • @hector9079
    @hector9079 2 года назад +1

    Muy bueno 👍🏾

  • @abhisheksharma6030
    @abhisheksharma6030 Год назад

    How we can get Realtime message in WebApp via SNS. I mean we have webapp in angular so how we could integrate the same for angular?

  • @DreamGardenerManaVantasala
    @DreamGardenerManaVantasala Год назад

    HI Rahul, good explanation. Please share a demo on SNS with HTTPS as End Point

    • @RahulNath
      @RahulNath  Год назад

      Glad you like it. Can you clarify what you are looking with HTTPs endpoint?

    • @DreamGardenerManaVantasala
      @DreamGardenerManaVantasala Год назад

      @@RahulNath I wants to call service API end point from SNS subscription with Message

    • @RahulNath
      @RahulNath  Год назад

      @@DreamGardenerManaVantasala Are you trying this for a lambda subscriber? What issue are you facing?

    • @DreamGardenerManaVantasala
      @DreamGardenerManaVantasala Год назад

      am expecting a Demo from you on HTTPS endpoint subscription

    • @DreamGardenerManaVantasala
      @DreamGardenerManaVantasala Год назад

      getting, Couldn't create subscription, unreachable endpoint error

  • @tauseefahmad7028
    @tauseefahmad7028 Год назад

    our notification content will shared with firebase or not? i want to send notification from aws sns to android phone but i dont want firebase should see my notification content. is it possible?

    • @RahulNath
      @RahulNath  Год назад

      Haven't used it myself, but is this something your are looking for? aws.amazon.com/premiumsupport/knowledge-center/create-android-push-messaging-sns/

  • @ThiNguyen-bm5ln
    @ThiNguyen-bm5ln 11 месяцев назад +1

    Great video. I have a question. Can you use AWS SNS in a WPF app? I want to display the messages in my WPF whenever a message is published.

    • @RahulNath
      @RahulNath  11 месяцев назад

      Glad you like it - Yes you can use it from a WPF app as well, nothing different there. Let me know in case you run into any issues

    • @ThiNguyen-bm5ln
      @ThiNguyen-bm5ln 3 месяца назад

      @@RahulNath So, one issue that I'm encountering is the WPF app can use AWS SQS to subscribe to the AWS SNS message, but the messages cannot be visible to all app users at once. Is there a way for all the app users to subscribe to the messages?

    • @RahulNath
      @RahulNath  3 месяца назад

      @@ThiNguyen-bm5ln The message gets removed from the queue as soon as you read from it. You could write the message to a database or a central store if you want it to be displayed to all users. What problem are you trying solve, if you provide more details I could help.

    • @ThiNguyen-bm5ln
      @ThiNguyen-bm5ln 3 месяца назад

      ​@@RahulNath I'm trying to find a notification service for my WPF app. I found that I can use AWS SNS to create topics and publish messages. But there will be hundreds of people using my app and I'm not sure how all of them can get the SNS messages from the app. AWS SQS doesn't seem to be a solution because of the visibility timeout.

    • @RahulNath
      @RahulNath  3 месяца назад

      @@ThiNguyen-bm5ln Why are all the users interested in the same message? If you can explain what problem you are trying to solve from a business perspective, I might be able to suggest some thing.