Myvas.AspNetCore.TencentSms 7.0.0

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

// Install Myvas.AspNetCore.TencentSms as a Cake Tool
#tool nuget:?package=Myvas.AspNetCore.TencentSms&version=7.0.0                

TencentSms

TencentSms github actions status

An ISmsSender implementation for TencentSms. (aka QcloudSms)

Demo

Myvas.AspNetCore.Authentication.Demo GitHub (Pre-)Release Date

NuGet

Myvas.AspNetCore.TencentSms NuGet GitHub (Pre-)Release Date

ConfigureServices

services.AddTencentSms(options =>
{
    options.SdkAppId = Configuration["TencentSms:SdkAppId"];
    options.AppKey = Configuration["TencentSms:AppKey"];
});

Inject & Invoke

private readonly ISmsSender _smsSender;

public XxxController(ISmsSender smsSender)
{
    _smsSender = smsSender ?? throw new ArgumentNullException(nameof(smsSender);
}

public IActionResult Xxx()
{
    //...
    var result = await _smsSender.SendSmsAsync(mobile, content);
}

API Implementation Status

Plan:

Dependencies:

DONE:

  • 国内发送短信(发送一条短信)
  • 国内群发短信(提交群发短信)
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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 is compatible.  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 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Myvas.AspNetCore.TencentSms:

Package Downloads
LJH.BS.DevPlatform

1、第三方集成服务 2、.netore升级到3.1 3、补充nodejs 等操作 4、剥离短信服务到接口

RG3.BS.Dev

1、【第三方集成RG3.BS.Dev】(可配置化,标准化,灵活配置,集成百度、腾讯、阿里、短信通等巨头接口,可脱离开发环境,集成nodejs中间件、统一认证中心) 2、以Rg3.开头且类继承 IService 或 IRepository的在Starup里面不用注入,案例如下 3、public class ListRepository : IRepository 4、public class ListService : IService 5、使用请到github获取 RG3.PF.WebApp.Host 6、初次发布 集成redis订阅、Quartz 7、https://developers.weixin.qq.com/miniprogram/dev/framework/server-ability/message-push.html 6、6.0.0.77开始,nodeserice迁移到RG3.PF.PinYinScriptEngineCliWrap

LJH.BS.DevPlatform.Pay

1、第三方集成服务 2、.netore升级到3.1 3、补充nodejs 等操作 4、剥离短信服务到接口

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
7.0.0 1,442 9/17/2023
6.0.3 6,144 3/27/2022
6.0.2.20221 11,823 2/21/2022
3.1.0.2 20,964 12/14/2019
3.1.0.1 498 12/14/2019
2.2.402 523 10/26/2019
2.1.404 811 10/15/2018