Myvas.AspNetCore.TencentSms 9.0.2

dotnet add package Myvas.AspNetCore.TencentSms --version 9.0.2
                    
NuGet\Install-Package Myvas.AspNetCore.TencentSms -Version 9.0.2
                    
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="9.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Myvas.AspNetCore.TencentSms" Version="9.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Myvas.AspNetCore.TencentSms" />
                    
Project file
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 Myvas.AspNetCore.TencentSms --version 9.0.2
                    
#r "nuget: Myvas.AspNetCore.TencentSms, 9.0.2"
                    
#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 Myvas.AspNetCore.TencentSms@9.0.2
                    
#: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=Myvas.AspNetCore.TencentSms&version=9.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Myvas.AspNetCore.TencentSms&version=9.0.2
                    
Install as a Cake Tool

Myvas.AspNetCore.TencentSms

GitHub (Pre-)Release Date GitHub Actions Status GitHub Actions Status NuGet

An ISmsSender implementation for TencentSms. (aka QcloudSms)

Demo

Myvas.AspNetCore.Authentication.Demo 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 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 is compatible.  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 was computed.  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. 
.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
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

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

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
9.0.2 740 1/30/2025
7.0.0 8,605 9/17/2023
6.0.3 9,127 3/27/2022
6.0.2.20221 14,491 2/21/2022
3.1.0.2 22,430 12/14/2019
3.1.0.1 674 12/14/2019
2.2.402 696 10/26/2019
2.1.404 1,031 10/15/2018