October 20, 2016

AWS.Net - Simple library for AWS services. i.e. S3, SQS & SES

Have worked on many AWS projects but found their library wasn't designed for simplicity. So thought of writing my own library for my pet projects with AWS. It's very simple and easy to integrate S3, SQS & SES.

Visit my Github project for more details on how to use it.  - https://github.com/ludmal/AWS.Net

For example, sending a message to the SQS is easy as this. 
var service = new SqsService<EmailMessage>(new AwsCredentials
{
  RegionEndpoint = RegionEndpoint.USWest2
});

service.QueueUrl = ConfigurationManager.AppSettings["EmailQueue"];

var response = service.Push(new HelloEmail());

And retrieving the message with Generic object is very simple.
var service = new SqsService<EmailMessage>(new AwsCredentials
{
 //SQS Service Region
 RegionEndpoint = RegionEndpoint.USWest2
});

//SQS Queue Url
service.QueueUrl = ConfigurationManager.AppSettings["EmailQueue"];

var items = service.Process();

April 22, 2016

Chalk

Chalk is a simple library written by me to output console text with different colors. Enough said! Get the nuget package and start using it.

Install-Package Chalk

How to use:
Chalk.Blue("Blue")
Chalk.Red("Red")
Chalk.Green("Green")
Chalk.Gray("Gray")
Chalk.Yellow("Yellow")

Here is the Github link with Examples.