User guide
inserted at build time. This approach ensures that your credentials are not unintentionally exposed with
your project on a public site. For more information, see Setting Up the AWS Toolkit for Visual Studio and
Configuring AWS Credentials (p. 9).
For more information on IAM, including how to create IAM users and groups, and how to use roles to
provide temporary credentials to applications running on EC2 instances, see What Is IAM?. For more
information on managing your credentials, see Best Practices for Managing AWS Access Keys.
.NET Development Environment
To use the AWS SDK for .NET, you'll need the following:
• (Required) Microsoft .NET Framework 3.5 or later
• (Required) Microsoft Visual Studio 2010 or later.
• (Optional but recommended) AWS Toolkit for Visual Studio. a Visual Studio plugin that simplifies
application development and includes a user interface (AWS Explorer) that helps you to manage your
AWS resources from Visual Studio.
The Toolkit for Visual Studio includes the SDK for .NET, so you won't need to install it separately.
Note
We recommend installing the AWS SDK for .NET on Visual Studio Professional or higher. It is
possible to install the Toolkit for Visual Studio on Visual Studio Express, but it will have only a
limited set of features. For more information, see Toolkit for Visual Studio.
To confirm installation
1. Start Visual Studio.
2. On the Help menu, click About. A dialog box opens that lists Microsoft Visual Studio and .NET
Framework versions.
Configuring the .NET CLR
For the best performance of your server-based applications with the AWS SDK for .NET, we recommend
that you use Server mode garbage collection (GC).
To enable Server mode GC, add the following to your app.config file:
<runtime>
<gcServer enabled="true"/>
<gcConcurrent enabled="true"/>
</runtime>
Note
Server mode GC works only on systems with multiple processors or processor cores. Enabling
Server mode GC has no effect otherwise.
Installing the AWS SDK for .NET
The following describes how to install AWS SDK for .NET. If you have installed the AWS Toolkit for Visual
Studio, you can skip this step; the Toolkit for Visual Studio includes SDK for .NET.
Version v2.0.0
4
AWS SDK for .NET Developer Guide
.NET Development Environment