Bitzsoft.Integrations.CloudDrive.AnyShare
1.0.0-alpha.8
This is a prerelease version of Bitzsoft.Integrations.CloudDrive.AnyShare.
dotnet add package Bitzsoft.Integrations.CloudDrive.AnyShare --version 1.0.0-alpha.8
NuGet\Install-Package Bitzsoft.Integrations.CloudDrive.AnyShare -Version 1.0.0-alpha.8
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="Bitzsoft.Integrations.CloudDrive.AnyShare" Version="1.0.0-alpha.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bitzsoft.Integrations.CloudDrive.AnyShare" Version="1.0.0-alpha.8" />
<PackageReference Include="Bitzsoft.Integrations.CloudDrive.AnyShare" />
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 Bitzsoft.Integrations.CloudDrive.AnyShare --version 1.0.0-alpha.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Bitzsoft.Integrations.CloudDrive.AnyShare, 1.0.0-alpha.8"
#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 Bitzsoft.Integrations.CloudDrive.AnyShare@1.0.0-alpha.8
#: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=Bitzsoft.Integrations.CloudDrive.AnyShare&version=1.0.0-alpha.8&prerelease
#tool nuget:?package=Bitzsoft.Integrations.CloudDrive.AnyShare&version=1.0.0-alpha.8&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Bitzsoft.Integrations.CloudDrive.AnyShare
爱数 AnyShare 企业内容管理平台服务实现,面向私有化部署场景提供标准接入结构。
功能
- 基于爱数 AnyShare RESTful API,支持文件上传、下载和列表查询
- 认证方式:Bearer Token
- 私有化部署产品,需根据实际部署地址配置 BaseUrl
- 接口路径与权限范围以企业实际部署和授权文档为准
安装
dotnet add package Bitzsoft.Integrations.CloudDrive.AnyShare
<PackageReference Include="Bitzsoft.Integrations.CloudDrive.AnyShare" Version="*" />
配置
{
"CloudDrive": {
"AnyShare": {
"ApiToken": "你的 API 令牌",
"BaseUrl": "https://your-anyshare-instance.example.com",
"HttpClientName": "AnyShareCloudDrive"
}
}
}
| 参数 | 必填 | 默认值 | 说明 |
|---|---|---|---|
ApiToken |
是 | — | 爱数 AnyShare API 访问令牌 |
BaseUrl |
是 | — | 私有化部署地址,需根据实际部署配置 |
HttpClientName |
否 | AnyShareCloudDrive |
命名 HttpClient 名称 |
注册
services.AddBitzsoftAnyShareCloudDrive(configuration, "CloudDrive:AnyShare");
第三方请求日志
内置 Bitzsoft.Integrations.RequestLogging 出站请求记录管道,默认 NullRequestLogStore 不持久化。
// ① 默认:启用记录管道但不持久化(日志丢弃)
services.AddBitzsoftAnyShareCloudDrive(options => { /* ... */ });
// ② 持久化:宿主注册 IRequestLogStore 实现后,所有出站请求自动落库
services.AddRequestLogging<MyRequestLogStore>(opts =>
{
opts.MaxBodyLength = 8192; // 单条正文截断上限
opts.SensitiveFields.Add("mySecret"); // 额外脱敏字段
});
services.AddBitzsoftAnyShareCloudDrive(options => { /* ... */ });
能力范围
| 能力 | 说明 |
|---|---|
| 文件上传 | 根据 AnyShare 部署端点和授权范围对接上传接口 |
| 文件下载 | 根据文件标识获取下载内容 |
| 文件列表 | 查询目录或空间下的文件列表 |
| 扩展接口 | 可按企业部署版本继续扩展搜索、分享、权限等能力 |
注意事项
- AnyShare 为私有化部署产品,不同企业版本的接口路径和权限模型可能存在差异
- 建议以企业授权文档确认接口路径、返回字段和权限范围
依赖
Bitzsoft.Integrations.CloudDrive,企业网盘抽象层Bitzsoft.Integrations.Compatibility,基础工具库
相关包
| Product | Versions 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 is compatible. 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. 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.
-
net10.0
- Bitzsoft.Integrations.CloudDrive (>= 1.0.0-alpha.8)
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.8)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.8)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
-
net5.0
- Bitzsoft.Integrations.CloudDrive (>= 1.0.0-alpha.8)
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.8)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.8)
- Microsoft.Extensions.Configuration.Abstractions (>= 5.0.0)
- Microsoft.Extensions.Http (>= 5.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 5.0.0)
-
net8.0
- Bitzsoft.Integrations.CloudDrive (>= 1.0.0-alpha.8)
- Bitzsoft.Integrations.Compatibility (>= 1.0.0-alpha.8)
- Bitzsoft.Integrations.RequestLogging (>= 1.0.0-alpha.8)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.9)
- Microsoft.Extensions.Http (>= 10.0.9)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.9)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Bitzsoft.Integrations.CloudDrive.AnyShare:
| Package | Downloads |
|---|---|
|
Bitzsoft.Integrations.CloudDrive.All
企业网盘服务聚合包 — 包含所有供应商实现 |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0-alpha.8 | 42 | 7/1/2026 |
| 1.0.0-alpha.7 | 56 | 6/16/2026 |
| 1.0.0-alpha.6 | 55 | 6/16/2026 |
| 1.0.0-alpha.5 | 54 | 6/14/2026 |
| 1.0.0-alpha.4 | 35 | 7/1/2026 |
| 1.0.0-alpha.3 | 58 | 6/7/2026 |