Skip to content

Getting Started

Deniz İrgin edited this page Sep 10, 2023 · 4 revisions

Prerequisites

To utilize this library, you need to have LocalStack running. While LocalStack can be installed directly on your machine and accessed via the localstack cli, the recommended approach is to run LocalStack using Docker or docker-compose.

For detailed installation and setup instructions, please refer to the official LocalStack installation guide.

Installation

Recommended: LocalStack.Client.Extensions

LocalStack.Client.Extensions is the recommended package for most modern .NET environments. It integrates with .NET configuration and dependency injection frameworks and provides a wrapper around AWSSDK.Extensions.NETCore.Setup. This allows you to use both LocalStack and AWS side-by-side seamlessly.

This approach is especially recommended for projects using .NET Core, .NET 6, or .NET 7 etc., given the popularity and best practices associated with AWSSDK.Extensions.NETCore.Setup.

To install, use nuget:

Install-Package LocalStack.Client.Extensions

Or use dotnet cli

dotnet add package LocalStack.Client.Extensions

Note: Installing LocalStack.Client.Extensions will also install the base LocalStack.Client library.

Base Library: LocalStack.Client

For specific scenarios, such as using the legacy .NET Framework, or employing a different DI framework like Autofac, or using the library standalone without DI, you might opt for the base LocalStack.Client library.

To install, use nuget:

Install-Package LocalStack.Client

Or use dotnet cli

dotnet add package LocalStack.Client
Clone this wiki locally