tencentcloud / tencentcloud-sdk-dotnet Goto Github PK
View Code? Open in Web Editor NEWTencent Cloud API 3.0 SDK for .NET
License: Apache License 2.0
Tencent Cloud API 3.0 SDK for .NET
License: Apache License 2.0
如题,图片到了740KB左右就会报错,但是官网上说是3M,我的请求时间也没有超过3s,请问一下是什么问题?异常信息是:Message:code:AuthFailure.SignatureFailure message:The provided credentials could not be validated because of exceeding request size limit, please use new signature method TC3-HMAC-SHA256
. 我使用的就是TC3-HMAC-SHA256这种加密方式
Unable to install package TencentCloudSDK 3.0.770
System.IO.InvalidDataException: End of Central Directory record could not be found.
at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory () [0x0002c] in <893b20abc59547dc8b2fd41a7233777e>:0
at System.IO.Compression.ZipArchive.Init (System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, System.Boolean leaveOpen) [0x001c8] in <893b20abc59547dc8b2fd41a7233777e>:0
at System.IO.Compression.ZipArchive..ctor (System.IO.Stream stream, System.IO.Compression.ZipArchiveMode mode, System.Boolean leaveOpen, System.Text.Encoding entryNameEncoding) [0x0001c] in <893b20abc59547dc8b2fd41a7233777e>:0
at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode, System.Text.Encoding entryNameEncoding) [0x0005b] in <21010871e8cb4079b5e9593dc3e69066>:0
at System.IO.Compression.ZipFile.Open (System.String archiveFileName, System.IO.Compression.ZipArchiveMode mode) [0x00000] in <21010871e8cb4079b5e9593dc3e69066>:0
at System.IO.Compression.ZipFile.OpenRead (System.String archiveFileName) [0x00000] in <21010871e8cb4079b5e9593dc3e69066>:0
at NugetForUnity.NuspecFile.FromNupkgFile (System.String nupkgFilepath) [0x0000e] in <6e0120d8e26943c7a6cc9002e28bf9c8>:0
at NugetForUnity.NugetPackage.FromNupkgFile (System.String nupkgFilepath) [0x00000] in <6e0120d8e26943c7a6cc9002e28bf9c8>:0
at NugetForUnity.NugetHelper.GetCachedPackage (NugetForUnity.NugetPackageIdentifier packageId) [0x00053] in <6e0120d8e26943c7a6cc9002e28bf9c8>:0
at NugetForUnity.NugetHelper.GetSpecificPackage (NugetForUnity.NugetPackageIdentifier packageId) [0x00010] in <6e0120d8e26943c7a6cc9002e28bf9c8>:0
at NugetForUnity.NugetHelper.InstallIdentifier (NugetForUnity.NugetPackageIdentifier package, System.Boolean refreshAssets) [0x0001f] in <6e0120d8e26943c7a6cc9002e28bf9c8>:0
at NugetForUnity.NugetHelper.Install (NugetForUnity.NugetPackage package, System.Boolean refreshAssets) [0x001fc] in <6e0120d8e26943c7a6cc9002e28bf9c8>:0
UnityEngine.Debug:LogErrorFormat (string,object[])
NugetForUnity.NugetHelper:Install (NugetForUnity.NugetPackage,bool)
NugetForUnity.NugetHelper:InstallIdentifier (NugetForUnity.NugetPackageIdentifier,bool)
NugetForUnity.NugetWindow:DrawPackage (NugetForUnity.NugetPackage,UnityEngine.GUIStyle,UnityEngine.GUIStyle)
NugetForUnity.NugetWindow:DrawPackages (System.Collections.Generic.List`1<NugetForUnity.NugetPackage>)
NugetForUnity.NugetWindow:DrawOnline ()
NugetForUnity.NugetWindow:OnGUI ()
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
在项目中引用'TencentCloudSDK 3.0.0 时,sdk依赖 Newtonsoft.Json (>= 11.0.1),但我的项目中依赖的是低版本“Newtonsoft.Json 7.0.1”,由于某种原因无法将本项目中的 Newtonsoft.Json 升级到高版本,在这种情况下考虑降低TencentCloudSDK依赖的Newtonsoft.Json 版本,TencentCloudSDK依赖的Newtonsoft.Json 版本必须要>= 11.0.1吗?该如何处理??
"zh", "ru", "fr" 都可以返回正常内容,但使用"kr","jp" 就会原文返回,没有翻译,也没有抛异常。
///
/// <summary>
/// 内部实现,用户禁止调用
/// </summary>
internal override void ToMap(Dictionary<string, string> map, string prefix)
{
this.SetParamSimple(map, prefix + "SourceText", this.SourceText);
this.SetParamSimple(map, prefix + "Source", this.Source);
this.SetParamSimple(map, prefix + "Target", this.Target);
this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId);
this.SetParamSimple(map, prefix + "UntranslatedText", this.UntranslatedText);
}
当接口返回错误时希望能够直接返回详细的错误结果信息实体,也就是code和message,而不是抛出异常!
未能加载文件或程序集“Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed”或它的某一个依赖项。找到的程序集清单定义与程序集引用不匹配。 (异常来自 HRESULT:0x80131040)
using post method and large file input for aai sentenceRecognization, it will fail with an exception indicate uri is too long
想实现实时语音合成功能,但我没找到sdk调用示例,像长文本语音合成在APIExplorer上可以找到。实时语音合成官网地址:https://cloud.tencent.com/document/api/1073/34093
错误消息:”The request with exception: The SSL connection could not be established"
目前使用以下代码跳过验证,但经过测试,baidu的sdk能绕过了,但腾讯的sdk没有办法绕过。
ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, errors) =>
{
Console.WriteLine("on ServerCertificateValidationCallback");
return true;
};
服务器版本:ubuntu 16.04
.net 版本: .net core 3.1
FluentClient : IClient, IDisposable
FluentClient 调用了非托管资源,是需要IDisposable回收的。但目前的HttpConnection.cs代码只管new FluentClient,根本没有回收资源。
code:AuthFailure.SignatureFailure message:The provided credentials could not be validated because of exceeding request size limit, please use new signature method TC3-HMAC-SHA256
.
我通过NuGet下载的3.0.37版本的sdk,在.NET4.6.1的版本中请求OCR是一直请求中,也不会报错,而在4.8的framework和core3.0中不会出现这种情况,请问是什么问题?我请求的地址是ocr.tencentcloudapi.com区域是:ap-beijing
com.tencentcloudapi.cat.v20180409.models.Field#value字段为Float类型,接受时间戳数据存在精度丢失。希望能够解决
什么时候可以支持啊,急用
您好,我们的很多.netframework项目都使用了强签名,在依赖你们公共的nuget库中的sdk时,发现sdk库没有强签名,导致无法引用,只能把你们的代码clone一份加上强签名重新编译。这个动作实在多余,徒增维护成本,官方能否重视处理一下这个问题。
SmsPackagesStatisticsRequest req = new SmsPackagesStatisticsRequest();
req.SmsSdkAppId = smsSdkAppId;
req.Limit = 2;
req.Offset = 0;
req.BeginTime = DateTime.Now.AddYears(-3).ToString("yyyyMMdd") + "00";
req.EndTime = DateTime.Now.ToString("yyyyMMdd") + "00";
var SendRes = smsClient.SmsPackagesStatistics(req).Result;
新版本SDK中同时提供了异步接口和同步接口,同步接口统一在异步接口之后添加了Sync后缀,在上述代码中已有样例。
查看过代码并没有这个方法 需要手动改代码执行InternalRequestSync方法
什么时候能支持.net5
使用sdk查询cvm实例遇到sdk内部错误提示Method not found
dotnet 环境如下
.NET Core SDK (reflecting any global.json):
Version: 3.1.300
Commit: b2475c1295
Runtime Environment:
OS Name: Mac OS X
OS Version: 10.15
OS Platform: Darwin
RID: osx.10.15-x64
Base Path: /usr/local/share/dotnet/sdk/3.1.300/
paket管理依赖,其中paket.lock如下
STORAGE: NONE
RESTRICTION: || (== netcoreapp3.1) (== netstandard2.0) (== netstandard2.1)
NUGET
remote: https://api.nuget.org/v3/index.json
FSharp.Core (4.7.2)
Microsoft.AspNet.WebApi.Client (5.2.7)
Newtonsoft.Json (>= 10.0.1)
Newtonsoft.Json.Bson (>= 1.0.1)
Newtonsoft.Json (12.0.3)
Newtonsoft.Json.Bson (1.0.2)
Newtonsoft.Json (>= 12.0.1)
Pathoschild.Http.FluentClient (4.0)
Microsoft.AspNet.WebApi.Client (>= 5.2.7)
System.Buffers (4.5.1) - restriction: || (&& (== netcoreapp3.1) (>= monoandroid)) (&& (== netcoreapp3.1) (>= monotouch)) (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.0) (< netstandard2.1)) (&& (== netcoreapp3.1) (< netstandard1.1)) (&& (== netcoreapp3.1) (< netstandard2.0)) (&& (== netcoreapp3.1) (>= uap10.1)) (&& (== netcoreapp3.1) (>= xamarinios)) (&& (== netcoreapp3.1) (>= xamarinmac)) (&& (== netcoreapp3.1) (>= xamarintvos)) (&& (== netcoreapp3.1) (>= xamarinwatchos)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) (&& (== netstandard2.1) (>= uap10.1))
System.Memory (4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.1) (< netstandard2.1)) (&& (== netcoreapp3.1) (>= uap10.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) (&& (== netstandard2.1) (>= uap10.1))
System.Buffers (>= 4.5.1) - restriction: || (&& (== netcoreapp3.1) (>= monoandroid)) (&& (== netcoreapp3.1) (>= monotouch)) (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.0)) (&& (== netcoreapp3.1) (< netstandard1.1)) (&& (== netcoreapp3.1) (< netstandard2.0)) (&& (== netcoreapp3.1) (>= xamarinios)) (&& (== netcoreapp3.1) (>= xamarinmac)) (&& (== netcoreapp3.1) (>= xamarintvos)) (&& (== netcoreapp3.1) (>= xamarinwatchos)) (== netstandard2.0) (== netstandard2.1)
System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== netcoreapp3.1) (< netcoreapp2.0)) (== netstandard2.0) (== netstandard2.1)
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== netcoreapp3.1) (>= monoandroid)) (&& (== netcoreapp3.1) (>= monotouch)) (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.0)) (&& (== netcoreapp3.1) (< netcoreapp2.1)) (&& (== netcoreapp3.1) (< netstandard1.1)) (&& (== netcoreapp3.1) (< netstandard2.0)) (&& (== netcoreapp3.1) (>= uap10.1)) (&& (== netcoreapp3.1) (>= xamarinios)) (&& (== netcoreapp3.1) (>= xamarinmac)) (&& (== netcoreapp3.1) (>= xamarintvos)) (&& (== netcoreapp3.1) (>= xamarinwatchos)) (== netstandard2.0) (== netstandard2.1)
System.Numerics.Vectors (4.5) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.0) (< netstandard2.1)) (&& (== netcoreapp3.1) (>= uap10.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) (&& (== netstandard2.1) (>= uap10.1))
System.Runtime.CompilerServices.Unsafe (4.7.1) - restriction: || (&& (== netcoreapp3.1) (>= monoandroid)) (&& (== netcoreapp3.1) (>= monotouch)) (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.0) (< netstandard2.1)) (&& (== netcoreapp3.1) (< netcoreapp2.1) (< netstandard2.1)) (&& (== netcoreapp3.1) (< netstandard1.1)) (&& (== netcoreapp3.1) (< netstandard2.0)) (&& (== netcoreapp3.1) (>= uap10.1)) (&& (== netcoreapp3.1) (>= xamarinios)) (&& (== netcoreapp3.1) (>= xamarinmac)) (&& (== netcoreapp3.1) (>= xamarintvos)) (&& (== netcoreapp3.1) (>= xamarinwatchos)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) (&& (== netstandard2.1) (>= uap10.1))
System.Text.Encodings.Web (4.7.1)
System.Memory (>= 4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.1) (< netstandard2.1)) (&& (== netcoreapp3.1) (>= uap10.1)) (== netstandard2.0) (&& (== netstandard2.1) (>= net461)) (&& (== netstandard2.1) (>= uap10.1))
TencentCloudSDK (3.0.69)
Newtonsoft.Json (>= 11.0.1)
Pathoschild.Http.FluentClient (>= 3.2)
System.Text.Encodings.Web (>= 4.4)
业务代码如下
async{
let region = getRegion(city)
let cred = Credential(SecretId="*",SecretKey="*")
let cvmclient = CvmClient(cred, region)
let respFilter = Filter(Name="private-ip-address",Values=Array.ofList ips); // 创建Filter对象, 以内网ip的维度来查询cvm实例
let req = DescribeInstancesRequest(Filters=[|respFilter|]);
let! resp = cvmclient.DescribeInstances(req) |> Async.AwaitTask
Console.WriteLine(AbstractModel.ToJsonString(resp))
}
报错如下
System.AggregateException: One or more errors occurred. (Method not found: 'Void Pathoschild.Http.Client.FluentClient..ctor(System.String, System.Net.Http.HttpClient)'.)
---> System.MissingMethodException: Method not found: 'Void Pathoschild.Http.Client.FluentClient..ctor(System.String, System.Net.Http.HttpClient)'.
at TencentCloud.Common.Http.HttpConnection..ctor(String baseUrl, Int32 timeout, String proxy)
at TencentCloud.Common.AbstractClient.BuildConnection()
at TencentCloud.Common.AbstractClient.RequestV1(AbstractModel request, String actionName)
at TencentCloud.Common.AbstractClient.InternalRequest(AbstractModel request, String actionName)
at TencentCloud.Cvm.V20170312.CvmClient.DescribeInstances(DescribeInstancesRequest req)
--- End of inner exception stack trace ---
at lambda_method(Closure , Object )
at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
您好,由于我正在体验长安链,但是使用SDK对接时,发现SDK中缺少长安链中的很多方法,只有部门区块链功能,想了解一下后期SDK会完善吗?因为想使用长安链,但是长安链没有.net SDK,腾讯云SDK也不完善
yes, some of our customers just cc & cp and install 3.0.0
什么时候添加对对象存储的支持? 不想自己写了,但是发现该项目中没有对对象存储的支持
依赖环境:.NET Framework 4.5+ 和 .NET Core 2.1。
首先,这里的依赖环境我已经通过vs2017安装器,修改了对应的依赖项。
然后,使用git clone 下载源码,使用Nuget 的命令安装TencentCloudSDK。
这次我要使用dotnet-sdk,但是遇到了这个问题,控制台一直跑不起来。
错误代码提示如下:
第一个bug
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 The current .NET SDK does not support targeting .NET Core 2.1. Either target .NET Core 1.1 or lower, or use a version of the .NET SDK that supports .NET Core 2.1. TencentCloudExamples D:\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets 112
第二个bug
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 The current .NET SDK does not support targeting .NET Standard 2.0. Either target .NET Standard 1.6 or lower, or use a version of the .NET SDK that supports .NET Standard 2.0. TencentCloud D:\Microsoft Visual Studio\2017\Professional\MSBuild\Sdks\Microsoft.NET.Sdk\build\Microsoft.NET.TargetFrameworkInference.targets 126
再然后,我通过Nuget安装也不成功,我尝试几次,都得到如下错误
`PM> Install-Package TencentCloudSDK -version 3.0.0
正在还原 E:\code\tencentcloud-sdk-dotnet\TencentCloud\TencentCloud.csproj 的包...
Install-Package : NU1108: 检测到循环。
TencentCloudSDK -> TencentCloudSDK (>= 3.0.0).
所在位置 行:1 字符: 1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCm
dlets.InstallPackageCommand
Install-Package : 程序包还原失败。正在回滚“TencentCloud”的程序包更改。
所在位置 行:1 字符: 1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCm
dlets.InstallPackageCommand
已用时间: 00:00:00.8410410
PM> Install-Package TencentCloudSDK -version 3.0.44
正在还原 E:\code\tencentcloud-sdk-dotnet\TencentCloud\TencentCloud.csproj 的包...
Install-Package : NU1108: 检测到循环。
TencentCloudSDK -> TencentCloudSDK (>= 3.0.44).
所在位置 行:1 字符: 1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCm
dlets.InstallPackageCommand
Install-Package : 程序包还原失败。正在回滚“TencentCloud”的程序包更改。
所在位置 行:1 字符: 1
+ CategoryInfo : NotSpecified: (:) [Install-Package], Exception
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCm
dlets.InstallPackageCommand
已用时间: 00:00:00.5515549
PM> `
最后,我通过命令行安装依赖项,dotnet add package TencentCloudSDK --version 3.0.0,得到如下错误,请问这是什么原因呢?
`C:\Users>dotnet add package TencentCloudSDK --version 3.0.0
SDK 版本: 3.1.100
.NET Core 工具收集使用数据,以帮助我们改善你的体验。数据是匿名的。它由 Microsoft 收集并与社区共享。你可以通过使用喜欢的 shell 将 DOTNET_CLI_TELEMETRY_OPTOUT 环境变量设置为 "1" 或 "true" 来选择退出遥测。
阅读有关 .NET Core CLI 工具遥测的更多信息: https://aka.ms/dotnet-cli-telemetry
“C:\Users\p_yingfalu\”中找不到任何项目。
用法: dotnet add package [选项] <PACKAGE_NAME>
参数:
要操作的项目文件。如果未指定文件,则命令会在当前目录下搜索一个文件。
<PACKAGE_NAME> 要添加的包引用。
选项:
-h, --help 显示命令行帮助。
-v, --version 要添加的包版本。
-f, --framework 仅针对特定框架添加引用。
-n, --no-restore 在没有执行还原预览和兼容性检查的情况下添加引用。
-s, --source
大规模的 TextTranslate 请求会造成线程池饥渴,耗尽资源。提议所有异步方法都使用CancellationToken参数。在外部环境有异常的时候能够手动cancel所有请求。
Task<TextTranslateResponse> TextTranslate(TextTranslateRequest req, CancellationToken cancel);
或者由SDK外部提供HttpClient,这样用户可以在.net core中使用Polly等弹性故障处理方式。
https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/implement-resilient-applications/implement-http-call-retries-exponential-backoff-polly
asp.net web api 应用中调用TBP平台的TextProcess接口时,请求一直处于阻塞状态,没有任何响应
相同的代码在控制台应用中可以正常请求。
.net framework 版本: 4.6.1
服务器: IIS 10
SDK版本 3.0.41
The request with exception: The SSL connection could not be established, see inner exception. The remote certificate is invalid
我在做腾讯云点播,如果把VodClient以单例方式注入到ioc会有我问题吗?
希望提供更多ioc相关集成说明
另外我通过nuget包安装的,所有的api包括模型属性都没有注释,可以加上吗
在TencentCloud.Common.Http.HttpConnection类的107行,使用的方法“AsResponse”,在WINFROM和控制台下可以正常请求,但在.net framework的站点(mvc or webapi)下会导致程序无限等待。
改成.GetAwaiter().GetResult()即可。
The example of sending sms Here shows we can specify web proxy, but it is of string type. How could I authenticate my proxy then?
httpProfile.WebProxy = "WEB_PROXY";
比如驾驶证识别,还是2.0的SDK,也没有.net的版本,我自己也进行了一些从javd SDK到.net 的转换,还是希望官方能支持,谢谢!
user feedback:
您好,我想咨询一下,目前.net core3的预览版已经发布到9了。正式版也会在9月底发布,但我们这腾讯云文档才显示支持到2.1。连2.2版本好像都没说支持。我目前正在基于netcore开发网络服务。但到时候腾讯云会尽快的给与netcore对应版本的支持么?或者说有什么对应的支持时间表么?
偶尔会出现如下错误:
The request with exception : An error occurred while sending the request
能不能将 https://github.com/qcloudsms/qcloudsms_csharp 语音信息的接口加进来?
现在腾讯没轻量相关的api,好难受,想post登陆查询轻量服务器的流量,好像模拟登陆还不是这么简单。作者能想办法集成不。
新版的sdk的response没有找到相关的Error字段
Referenced assembly 'TencentCloud, Version=3.0.27.0, Culture=neutral, PublicKeyToken=null' does not have a strong name.
第一次见到float类型存储以毫秒为单位的timestamp的
不久前有了个CDN cname的变更https://cloud.tencent.com/document/product/228/66670
所以CDN能指向的cname变成了2个,而BriefDomain内的cname只有一个。
希望能添加一个类似cnames的字段,谢谢!
SDK好像没有云解析相关方法
如果api请求失败,sdk默认是抛出TencentCloudSDKException异常,抛出异常本来就是比较耗性能的一个操作,不应该使用Exception来实现业务逻辑,建议在JsonResponseModel类里返回错误码及错误消息
从API Explorer (https://cloud.tencent.com/document/sdk/.Net)
快速下载地址下载的tencentcloud-sdk-dotnet.zip
中不包含Iai文件夹
It is recommended to adjust the project’s dependence on Newtonsoft.Json. Since the release of .net core 3, Microsoft has launched a high-performance Json processing module located in System.Text.Json. The performance of this module is relatively high and does not need to rely on third parties. Bag
当接口返回错误时希望能够直接返回详细的错误结果信息实体,也就是code和message,而不是抛出异常!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.