Skip to content

aecceyhan/AWSMessageHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Message Helper

Message Helper for AWS SNS/SQS. This nuget pack helps send and receive messages easily on AWS.

Installing

Package Manager

  Install-Package AWSMessageHelper

.NET CLI

  dotnet add package AWSMessageHelper

Using

  using AWSMessageHelper;

Setup AWS Credentials

  AWSMessageHelper.Config.SetupConnection(AccessKey, Secret, RegionEndpoint.EUCentral1);

Send a message to SNS Topic

  DemoMessageModel message = new DemoMessageModel(){
            UserId = "123",
            UserName = "Emre Ceyhan",
            Email = "[email protected]"};


    await AWSMessageHelper.MessageOps<DemoMessageModel>.Publish(message, "discount-found-sns");

Receive SQS message

    var message = AWSMessageHelper.MessageOps<DemoMessageModel>.GetMessage("notification-listen");

TODO

  • Add more examples
  • Publish as a nuget pack

Licensing

This project is licensed under MIT license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages