Virtuesoft.Framework.Middlewares.AliyunImages
1.0.9
See the version list below for details.
dotnet add package Virtuesoft.Framework.Middlewares.AliyunImages --version 1.0.9
NuGet\Install-Package Virtuesoft.Framework.Middlewares.AliyunImages -Version 1.0.9
<PackageReference Include="Virtuesoft.Framework.Middlewares.AliyunImages" Version="1.0.9" />
paket add Virtuesoft.Framework.Middlewares.AliyunImages --version 1.0.9
#r "nuget: Virtuesoft.Framework.Middlewares.AliyunImages, 1.0.9"
// Install Virtuesoft.Framework.Middlewares.AliyunImages as a Cake Addin #addin nuget:?package=Virtuesoft.Framework.Middlewares.AliyunImages&version=1.0.9 // Install Virtuesoft.Framework.Middlewares.AliyunImages as a Cake Tool #tool nuget:?package=Virtuesoft.Framework.Middlewares.AliyunImages&version=1.0.9
阿里云图片上传相关中间件
2021年8月8日
新增接口参数自动匹配解析
2023年4月6日
分离接口和oss文件中间件
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
- Aliyun.OSS.SDK.NetCore (>= 2.13.0)
- Microsoft.AspNetCore.Http (>= 2.2.0)
- Microsoft.AspNetCore.Http.Abstractions (>= 2.2.0)
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.0)
- Microsoft.Extensions.Logging.Abstractions (>= 3.0.1)
- Microsoft.Extensions.Options (>= 3.1.0)
- Virtuesoft.Framework.JsonExtensions (>= 1.0.1)
- Virtuesoft.Framework.StringExtensions (>= 1.0.2)
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)
{
var config = Configuration.GetSection("aliyunoss");
services.AddAliyunImage(option => {
option.AccessEndpoint = config["AccessEndpoint"];
option.AccessKeyId = config["AccessKeyId"];
option.AccessKeySecret = config["AccessKeySecret"];
option.BucketName = config["BucketName"];
option.Endpoint = config["Endpoint"];
option.Folder = config["Folder"];
});
}
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
app.UseAliyunImages();
}