Minio.AspNetCore 3.1.13

There is a newer version of this package available.
See the version list below for details.
dotnet add package Minio.AspNetCore --version 3.1.13                
NuGet\Install-Package Minio.AspNetCore -Version 3.1.13                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Minio.AspNetCore" Version="3.1.13" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Minio.AspNetCore --version 3.1.13                
#r "nuget: Minio.AspNetCore, 3.1.13"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Minio.AspNetCore as a Cake Addin
#addin nuget:?package=Minio.AspNetCore&version=3.1.13

// Install Minio.AspNetCore as a Cake Tool
#tool nuget:?package=Minio.AspNetCore&version=3.1.13                

Minio.AspNetCore

Nuget Minio

Microsoft.Extensions.DependencyInjection and HealthChecks extensions for Minio client

Usage

services.AddMinio(options =>
{
  options.Endpoint = "endpoint";
  // ...
  options.OnClientConfiguration = client =>
  {
    client.WithSSL();
  }
});

// Url based configuration
services.AddMinio(new Uri("s3://accessKey:secretKey@localhost:9000/region"));

// Get or inject
var client = serviceProvider.GetRequiredService<MinioClient>();

// Create new from factory
var client = serviceProvider.GetRequiredService<IMinioClientFactory>().CreateClient();

Multiple clients support using named options

services.AddMinio(options =>
{
  options.Endpoint = "endpoint1";
  // ...
  options.OnClientConfiguration = client =>
  {
    client.WithSSL();
  }
});

// Named extension overload
services.AddMinio("minio2", options =>
{
  options.Endpoint = "endpoint2";
  // ...
  options.OnClientConfiguration = client =>
  {
    client.WithSSL().WithTimeout(...);
  }
});

// Explicit named Configure
services.AddMinio()
  .Configure<MinioOptions>("minio3", options =>
  {
    options.Endpoint = "endpoint3";
    // ...
  });

// Get or inject first minio client
var client = serviceProvider.GetRequiredService<MinioClient>();

// Create new minio2
var client = serviceProvider.GetRequiredService<IMinioClientFactory>().CreateClient("minio2");

// Create new minio3
var client = serviceProvider.GetRequiredService<IMinioClientFactory>().CreateClient("minio3");

HealthChecks

// Minio.AspNetCore.HealthChecks package

services.AddHealthChecks()
  .AddMinio(sp => sp.GetRequiredService<MinioClient>());

services.AddHealthChecks()
  .AddMinio(sp => sp.GetRequiredService<MinioClient>())
  .AddMinio(sp => /* Get named client from cache or create new */);
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on Minio.AspNetCore:

Package Downloads
Minio.AspNetCore.HealthChecks

ASP.NET Healthcheck extensions for MinIO .NET SDK.

Strong.Minio

准备给FIS使用,去掉不必要的引用

Virtuesoft.Framework.Middlewares.MinioService

minio 服务组件,包括上传,下载转发 需要依赖 Minio.AspNetCore .

LinSir.SharePackage.Core

Package Description

Promesa.Core

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.1 113,648 6/24/2024
6.0.0 58,273 1/8/2024
5.0.0 430,010 5/7/2023
4.0.8 32,807 2/22/2023
4.0.7 4,344 2/13/2023
4.0.6 189,745 12/15/2022
4.0.5 73,669 7/29/2022
4.0.4 4,804 6/14/2022
4.0.3 1,650 5/29/2022
4.0.2 17,646 4/10/2022
4.0.1 9,216 3/25/2022
4.0.0 10,636 3/15/2022
3.1.22 41,116 12/14/2021
3.1.21 14,190 7/24/2021
3.1.20 4,202 5/30/2021
3.1.19 5,024 4/12/2021
3.1.18 429 3/29/2021
3.1.17 10,351 3/26/2021
3.1.16 904 3/26/2021
3.1.15 3,275 2/26/2021
3.1.14 1,570 2/16/2021
3.1.13 49,154 11/23/2020
3.1.12 1,204 11/17/2020
3.1.11 27,546 10/19/2020
3.1.10 1,934 10/16/2020
3.1.9 1,203 10/7/2020
3.1.8 2,087 10/6/2020