Messaging using Amazon SQS - AWS SDK for .NET

Do you want to deploy your .NET applications to AWS in just a few simple clicks? Try our new .NET CLI tooling for a simplified deployment experience! Read our blog post and submit your feedback on GitHub!

For additional information, see the section for the deployment tool in this guide.

Messaging using Amazon SQS

The AWS SDK for .NET supports Amazon Simple Queue Service (Amazon SQS), which is a message queuing service that handles messages or workflows between components in a system.

Amazon SQS queues provide a mechanism that enables you to send, store, and receive messages between software components such as microservices, distributed systems, and serverless applications. This enables you to decouple such components and frees you from the need to design and operate your own messaging system. For information about how queues and messages work in Amazon SQS, see Amazon SQS tutorials and How Amazon SQS works in the Amazon Simple Queue Service Developer Guide.

Important

Due to the distributed nature of queues, Amazon SQS can't guarantee that you'll receive messages in the precise order they're sent. If you need to preserve message order, use an Amazon SQS FIFO queue.

APIs

The AWS SDK for .NET provides APIs for Amazon SQS clients. The APIs enable you to work with Amazon SQS features such as queues and messages. This section contains a small number of examples that show you the patterns you can follow when working with these APIs. To view the full set of APIs, see the AWS SDK for .NET API Reference (and scroll to "Amazon.SQS").

The Amazon SQS APIs are provided by the AWSSDK.SQS NuGet package.

Prerequisites

Before you begin, be sure you have set up your environment. Also review the information in Setting up your project and SDK features.

Topics