Minio.AspNetCore
5.0.0
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
Requires NuGet 2.14 or higher.
dotnet add package Minio.AspNetCore --version 5.0.0
NuGet\Install-Package Minio.AspNetCore -Version 5.0.0
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="5.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Minio.AspNetCore --version 5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Minio.AspNetCore, 5.0.0"
#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=5.0.0 // Install Minio.AspNetCore as a Cake Tool #tool nuget:?package=Minio.AspNetCore&version=5.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
π₯ Minio.AspNetCore π₯
β‘οΈ Microsoft.Extensions.DependencyInjection
and HealthChecks
extensions for Minio client β‘οΈ
π§ Installation π§
$> dotnet add package Minio.AspNetCore
π¨ Usage π¨
β
Add MinioClient
services.AddMinio(options =>
{
options.Endpoint = "endpoint";
// ...
options.ConfigureClient(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.ConfigureClient(client =>
{
client.WithSSL();
});
});
// Named extension overload
services.AddMinio("minio2", options =>
{
options.Endpoint = "endpoint2";
// ...
options.ConfigureClient(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 */);
Breaking changes
- From 3.x to 4.x
Minio
upgraded to 4.0.0options.OnClientConfiguration
replaced withoptions.ConfigureClient(...)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. 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 is compatible. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 7.0.0)
- Minio (>= 5.0.0)
-
net6.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 7.0.0)
- Minio (>= 5.0.0)
-
net7.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 7.0.0)
- Minio (>= 5.0.0)
NuGet packages (9)
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 |
|
WebApiSkeleton.FileSystem.MinIO
Package containing implementation of file system based on Minio S3 storage. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.0.1 | 7,117 | 6/24/2024 |
6.0.0 | 34,358 | 1/8/2024 |
5.0.0 | 190,129 | 5/7/2023 |
4.0.8 | 26,067 | 2/22/2023 |
4.0.7 | 3,648 | 2/13/2023 |
4.0.6 | 156,457 | 12/15/2022 |
4.0.5 | 65,157 | 7/29/2022 |
4.0.4 | 4,604 | 6/14/2022 |
4.0.3 | 1,612 | 5/29/2022 |
4.0.2 | 17,358 | 4/10/2022 |
4.0.1 | 8,526 | 3/25/2022 |
4.0.0 | 7,842 | 3/15/2022 |
3.1.22 | 36,732 | 12/14/2021 |
3.1.21 | 13,579 | 7/24/2021 |
3.1.20 | 4,141 | 5/30/2021 |
3.1.19 | 4,971 | 4/12/2021 |
3.1.18 | 392 | 3/29/2021 |
3.1.17 | 9,790 | 3/26/2021 |
3.1.16 | 860 | 3/26/2021 |
3.1.15 | 3,005 | 2/26/2021 |
3.1.14 | 1,517 | 2/16/2021 |
3.1.13 | 47,613 | 11/23/2020 |
3.1.12 | 1,156 | 11/17/2020 |
3.1.11 | 26,827 | 10/19/2020 |
3.1.10 | 1,834 | 10/16/2020 |
3.1.9 | 1,158 | 10/7/2020 |
3.1.8 | 1,979 | 10/6/2020 |