Virtuesoft.Framework.Middlewares.MinioService
1.1.2
See the version list below for details.
dotnet add package Virtuesoft.Framework.Middlewares.MinioService --version 1.1.2
NuGet\Install-Package Virtuesoft.Framework.Middlewares.MinioService -Version 1.1.2
<PackageReference Include="Virtuesoft.Framework.Middlewares.MinioService" Version="1.1.2" />
paket add Virtuesoft.Framework.Middlewares.MinioService --version 1.1.2
#r "nuget: Virtuesoft.Framework.Middlewares.MinioService, 1.1.2"
// Install Virtuesoft.Framework.Middlewares.MinioService as a Cake Addin #addin nuget:?package=Virtuesoft.Framework.Middlewares.MinioService&version=1.1.2 // Install Virtuesoft.Framework.Middlewares.MinioService as a Cake Tool #tool nuget:?package=Virtuesoft.Framework.Middlewares.MinioService&version=1.1.2
minio 服务组件,包括上传,下载转发 需要依赖 Minio.AspNetCore .
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 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. |
-
net6.0
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.1)
- Minio.AspNetCore (>= 4.0.8)
- SixLabors.ImageSharp (>= 2.1.3)
- Virtuesoft.Framework.JsonExtensions (>= 6.0.1)
- Virtuesoft.Framework.NumbersExtensions (>= 6.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
public void ConfigureServices(IServiceCollection services)
{
services..AddMinio(option =>
{
option.Endpoint ="";
option.SecretKey = "";
option.AccessKey ="";
option.Region ="";
});
services.AddMinioService(option=>{
option.Endpoint="服务器节点";
option.AccessEndpoint="对外访问的域名";
option.AccessExpTime="获取分享连接的过期时间";
option.Bucket="桶名称";
option.MaxLength="上传文件最大大小";
option.Folder="本地缩略图缓存文件夹";
});
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseMinioService();
}