Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 0 additions & 85 deletions docs/sdks/s3/aws-net-sdk.md

This file was deleted.

42 changes: 42 additions & 0 deletions docs/sdks/s3/aws-net-sdk.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# AWS .Net SDK

import CodeBlock from "@theme/CodeBlock";

This guide assumes that you have followed the steps in the
[Getting Started](/docs/get-started/index.md) guide, and have the access keys
available.

You may continue to use the AWS .Net SDK as you normally would, but with the
endpoint set to `https://fly.storage.tigris.dev`.

This example uses the
[AWS .Net SDK v3](https://www.nuget.org/packages/AWSSDK.S3) and reads the
default credentials file or the environment variables `AWS_ACCESS_KEY_ID` and
`AWS_SECRET_ACCESS_KEY`.

Install the SDK from nuget:

```text
dotnet add package AWSSDK.S3
dotnet add package AWSSDK.SecurityToken
dotnet add package AWSSDK.SSO
dotnet add package AWSSDK.SSOOIDC
```

Then you can use the SDK as you normally would, but with the endpoint set to
`https://fly.storage.tigris.dev`.

import gettingStarted from "!!raw-loader!../../../examples/dotnet/GettingStarted.cs";

<CodeBlock language="csharp">{gettingStarted}</CodeBlock>

:::note

Tigris currently does not support chunk encoding. You must set
`UseChunkEncoding` to `false` in the `PutObjectRequest`.

import putObject from "!!raw-loader!../../../examples/dotnet/PutObject.csx";

<CodeBlock language="csharp">{putObject}</CodeBlock>

:::
Loading