Crping.AliOss 2.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Crping.AliOss --version 2.1.1
                    
NuGet\Install-Package Crping.AliOss -Version 2.1.1
                    
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="Crping.AliOss" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Crping.AliOss" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="Crping.AliOss" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Crping.AliOss --version 2.1.1
                    
#r "nuget: Crping.AliOss, 2.1.1"
                    
#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.
#:package Crping.AliOss@2.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Crping.AliOss&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Crping.AliOss&version=2.1.1
                    
Install as a Cake Tool

Crping.AliOss

阿里云OSS小工具

版本更新说明


2.1.1

2026年9月14日 星期一
  • 方法UploadFile新增可选参数contentType,用于显式设置对象内容类型
  • 新增离线单元测试OssOfflineTests,可用dotnet test --filter TestCategory=Offline安全运行;集成测试标记TestCategory=Integration
  • 补全方法Signature的XML文档

2.1.0

2026年9月14日 星期一
  • 新增依赖注入扩展AliOssDI.AddAliOss
  • 删除文件列表DeleteFiles改用批量删除接口(每批最多 1000 个),并移除冗余的存在性预检
  • 构造方法Oss(OssOptions)与SetOption增加配置完整性校验(fail-fast)
  • OssClient按配置名缓存,配置切换原子生效
  • 完善 NuGet 元数据(中文描述、RepositoryUrl、标签)

2.0.0

2026年1月4日 星期日
  • 升级为.net10.0
  • 优化代码

1.6.1

2023年10月18日 星期三
  • 将方法SetOption添加到接口

1.6.0

2023年10月18日 星期三
  • 新增属性OptionDic
  • 新增方法SetOption
  • 新增构造方法Oss(IConfiguration configuration)
  • 方法添加null验证

1.5.0

2023-08-08
  • 签名方法Signature添加参数maxSize,expireMinutes

1.4.0

2023-08-08
  • 重构签名方法Signature

1.3.0

2023-08-02
  • 修改配置节属性名为ConfigSection
  • 优化参数验证
  • 修改签名输出对象属性

1.2.0

2022-09-27
  • 删除OssConfig,修改OssOptions

1.1.1

2022-09-26
  • 删除不必要的引用
  • 创建测试项目,并简单测试

1.1.0

2022-09-26
  • 重构OssConfig,Oss操作等大部分代码
  • 修改默认配置节名称

1.0.0

2022-09-23
  • 实现常用功能
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.0 48 11/27/2026
2.3.0 108 11/25/2026
2.1.1 356 9/14/2026
1.6.1 875 10/18/2023
1.6.0 264 10/18/2023
1.5.0 343 8/8/2023
1.4.0 314 8/8/2023
1.3.0 322 8/2/2023
1.2.0 633 9/27/2022
1.1.1 624 9/27/2022
1.1.0 621 9/26/2022
1.0.0 623 9/23/2022