WTMFileHandlerExtensions 8.0.1

dotnet add package WTMFileHandlerExtensions --version 8.0.1
NuGet\Install-Package WTMFileHandlerExtensions -Version 8.0.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="WTMFileHandlerExtensions" Version="8.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WTMFileHandlerExtensions --version 8.0.1
#r "nuget: WTMFileHandlerExtensions, 8.0.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.
// Install WTMFileHandlerExtensions as a Cake Addin
#addin nuget:?package=WTMFileHandlerExtensions&version=8.0.1

// Install WTMFileHandlerExtensions as a Cake Tool
#tool nuget:?package=WTMFileHandlerExtensions&version=8.0.1

WTMFileHandlerExtension

介绍

支持WTM框架的扩展,因官方目前只有AliOSS,所以提供额外的选项,目前支持腾讯云COS,计划支持更多

安装教程
dotnet add package WTMFileHandlerExtensions --version 8.0.0
使用说明
appsetting.json
"FileUploadOptions": {
  ... 
  "SaveFileMode": "COS", //tecentcloud cos,huaweicloud obs
  ...
}

  "WtmTencentCosConfig": {
    "BucketName": "",
    "AppId": "",
    "Region": "",
    "SecretId": "",
    "SecretKey": "",
    "GroupName": ""
  },

  "WtmHuaweiObsConfig": {
    "AccessKeyID": "",
    "SecretAccessKey": "",
    "EndPoint": "",
    "BucketName": "",
    "GroupName": "",
  },
startup.js
using WTMFileHandlerExtensions;

public void ConfigureServices(IServiceCollection services)
{
        ...
               services.AddWtmFileHandlerExt(ConfigRoot);
        ...
}
Product Compatible and additional computed target framework versions.
.NET 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. 
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
8.0.1 48 5/11/2024
8.0.0 58 5/9/2024