An open API service indexing awesome lists of open source software.

https://github.com/burakguldiken/netcoreminio

MinIO operations with .net core
https://github.com/burakguldiken/netcoreminio

csharp dotnetcore minio

Last synced: over 1 year ago
JSON representation

MinIO operations with .net core

Awesome Lists containing this project

README

          

# Minio

![alt text](minio.gif)

### About

Can be called object storage tool for MinIO

### In This Project

- Upload File
- Delete File
- Bucket Inquiry

### Code Example

```csharp
bool response = true;
try
{
bool bucketFound = await minioClient.BucketExistsAsync(bucketName);
if (!bucketFound)
minioClient.MakeBucketAsync(bucketName, "Tr-tr").Wait();
using (Stream stream = formFile.OpenReadStream())
{
await minioClient.PutObjectAsync(bucketName, fileName, stream, stream.Length);
}
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
response = false;
}
return response;
```