April 2018
Intermediate to advanced
280 pages
8h 37m
English
AWS provides the C# libraries for using the SQS service. You must start by including the AWS.SQS library into your application program. Next, you must create an SQS client object and then form a request object to create a queue. This is done by invoking the constructor of the CreateQueueRequest class and passing the name of the queue to it.
You can then invoke the CreateQueue() function of the SQS client object and fetch the response. The response object will have the URL of the queue that can then be used to send and receive messages to the queue.
The following C# code demonstrates how to create a new SQS queue and fetch its URL:
using System;using Amazon;using Amazon.SQS;using Amazon.SQS.Model;namespace packtpubSQS ...