AWS Developer Tools Blog

Tag: .NET

Configuring DynamoDB Tables for Development and Production

The Object Persistence Model API in the SDK uses annotated classes to tell the SDK which table to store objects in. For example, the DyanmoDBTable attribute on the Users class below tells the SDK to store instances of the Users class into the “Users” table. [DynamoDBTable(“Users”)] public class Users { [DynamoDBHashKey] public string Id { […]

AWS re:Invent .NET Recap

Jim Flanagan and I had a great time at re:Invent this year talking to all the AWS users. It was really interesting to hear all the different ways our SDK and tools are being used. We got some great feature requests and now we are excited to be back in the office to start working […]

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 […]