Tencent cloud cos orchardcore plugin
dotnet add package YuSheng.OrchardCore.Media.Tencent --version 0.0.3
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"OrchardCore": {
"OrchardCore.Media.Tencent": {
"BucketName": "xxx-xxx",
"BasePath": "xxxxxx", //the folder in the bucket,must contains '/', like 'myphoto/'
"Appid": "xxxx", // tencent cloud appid
"IsHttps": false,
"Region": "xxxx", // tencent cloud bucket region
"IsSetDebugLog": false,
"SecretId": "xxxx", // tecent cloud secreId
"SecretKey": "xxxx" // tencent cloud secreKey
}
}
}