AWS Developer Tools Blog

Category: .NET

Subscribing an SQS Queue to an SNS Topic

In version 2.0.2.3 of the SDK we added an enhancement to the SDK to make it easier to subscribe an Amazon SQS queue to an Amazon SNS topic. You have always been able to subscribe queues to topics using the Subscribe method on the SNS client, but after you subscribed to the topic with your […]

Amazon S3 Lifecycle Management

Amazon Simple Storage Service (S3) provides a simple method to control the lifecycle of your S3 objects. In this post, we examine how you can easily set up rules to delete or archive old data in S3 using the AWS SDK for .NET. Lifecycle Rules Lifecycle configurations are associated with a bucket. A lifecycle configuration […]

The Three Different APIs for Amazon S3

The AWS SDK for .NET has three different APIs to work with Amazon S3. The low-level API found in the Amazon.S3 and Amazon.S3.Model namespaces provides complete coverage of the S3 APIs. For easy uploads and downloads, there is TransferUtility, which is found in the Amazon.S3.Transfer namespace. Finally the File I/O API in the Amazon.S3.IO namespace […]

Client Side Data Encryption with AWS SDK for .NET and Amazon S3

What is client-side encryption, and when would you want to use it? Version 2 of AWS SDK for .NET provides an easy-to-use Amazon S3 encryption client that allows you to secure your sensitive data before you send it to Amazon S3. Using the AmazonS3EncryptionClient class, the SDK automatically encrypts data on the client when uploading […]

GA Release of AWS SDK for .NET Version 2

We are excited to announce the General Availability (GA) release of AWS SDK for .NET version 2! This is the next major release of the SDK, which adds support for Windows Store, Windows Phone, and .NET Framework 4.5 platforms. You can download it here. Improvements One of the most exciting new features of version 2 […]

Configuring Advanced Logging on AWS Elastic Beanstalk

Sometimes developers want more flexibility in logging for their IIS environments. For example, in the IIS log files on instances in a load-balanced AWS Elastic Beanstalk environment, the client IP for requests always appears to be the load balancer. Elastic Load Balancing adds an X-Forwarded-For header to each request that contains the actual client IP […]

Working with Amazon S3 Object Versions and the AWS SDK for .NET

Amazon S3 allows you to enable versioning for a bucket. You can enable or disable versioning with the SDK by calling the PutBucketVersioning method. Note, all code samples were written for our new version 2 of the SDK. Users of version 1 of the SDK will notice some slight name changes. s3Client.PutBucketVersioning(new PutBucketVersioningRequest { BucketName […]

Access Key Management for .NET Applications – Part 1

In this post, we talk about the three methods for providing AWS access keys to your .NET applications and look at a few best practices. We look at the following questions while discussing the different options for managing access keys. Security: How do you securely store credentials and supply them to your application? Ease of […]

Getting your Amazon EC2 Windows Password with the AWS SDK for .NET

When you launch a Windows instance in EC2, a password will be generated for the Windows administrator user. You can retrieve this administrator’s password by using the AWS SDK for .NET. In order to be able get the administrator password, you need to launch the EC2 instance with a key pair. To create a key […]

Archiving and Backing-up Data with the AWS SDK for .NET

Jason Fulghum recently posted a blog entry about using Glacier with the AWS SDK for Java that I thought would be interesting for .NET developers. Here is Jason’s post with the code replaced with the C# equivalent. Do you or your company have important data that you need to archive? Have you explored Amazon Glacier […]