Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Start a new project

Focus mode
Start a new project - AWS SDK for .NET (V4)

Version 4 (V4) of the AWS SDK for .NET has been released!

For information about breaking changes and migrating your applications, see the migration topic.

Version 4 (V4) of the AWS SDK for .NET has been released!

For information about breaking changes and migrating your applications, see the migration topic.

There are several techniques you can use to start a new project to access AWS services. The following are some of those techniques:

  • If you're new to .NET development on AWS or at least new to the AWS SDK for .NET, you can see complete examples in Creating a simple application. It gives you an introduction to the SDK.

  • You can start a basic project by using the .NET CLI. To see an example of this, open a command prompt or terminal, create a folder or directory and navigate to it, and then enter the following.

    dotnet new console --name [SOME-NAME]

    An empty project is created to which you can add code and NuGet packages. For more information, see the .NET Core guide.

    To see a list of project templates, use the following: dotnet new --list

  • If you develop with Visual Studio on Windows but without the AWS Toolkit for Visual Studio, use your typical techniques for creating a new project.

    To see an example, open Visual Studio and choose File, New, Project. Search for ".net core" and choose the C# version of the Console App (.NET Core) or WPF App (.NET Core) template. An empty project is created to which you can add code and NuGet packages.

You can find some examples of how to work with AWS services in Guided code examples.

Important

If you're using AWS IAM Identity Center for authentication, your application must reference the following NuGet packages so that SSO resolution can work:

  • AWSSDK.SSO

  • AWSSDK.SSOOIDC

Failure to reference these packages will result in a runtime exception.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.