{"id":24702674,"url":"https://github.com/myvas/TencentSms","last_synced_at":"2025-10-09T09:30:24.973Z","repository":{"id":65413159,"uuid":"86158308","full_name":"myvas/TencentSms","owner":"myvas","description":"ISmsSender implementation via TencentYun (aka. Qcloud) SMS service.","archived":false,"fork":false,"pushed_at":"2025-09-08T22:15:16.000Z","size":131,"stargazers_count":2,"open_issues_count":7,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-03T20:34:09.469Z","etag":null,"topics":["aspnetcore","demo","middleware","netstandard20","nuget","qcloudsms","sms","tencentsms"],"latest_commit_sha":null,"homepage":"http://demo.auth.myvas.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myvas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-25T13:12:21.000Z","updated_at":"2025-02-18T06:56:21.000Z","dependencies_parsed_at":"2024-07-29T21:45:46.827Z","dependency_job_id":"9c43db77-8d36-4f05-bb6e-e057e2cc8c1f","html_url":"https://github.com/myvas/TencentSms","commit_stats":null,"previous_names":["myvas/aspnetcore.sms.tencent","myvas/aspnetcore.tencentsms","myvas/aspnetcore.qcloudsmsservice"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/myvas/TencentSms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myvas","download_url":"https://codeload.github.com/myvas/TencentSms/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001132,"owners_count":26083022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnetcore","demo","middleware","netstandard20","nuget","qcloudsms","sms","tencentsms"],"created_at":"2025-01-27T05:51:03.712Z","updated_at":"2025-10-09T09:30:24.967Z","avatar_url":"https://github.com/myvas.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Myvas.AspNetCore.TencentSms\r\n\r\n[![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/myvas/AspNetCore.TencentSms?label=github)](https://github.com/myvas/TencentSms)\r\n[![GitHub Actions Status](https://github.com/myvas/AspNetCore.TencentSms/actions/workflows/test.yml/badge.svg)](https://github.com/myvas/TencentSms/actions/workflows/test.yml)\r\n[![GitHub Actions Status](https://github.com/myvas/AspNetCore.TencentSms/actions/workflows/publish.yml/badge.svg)](https://github.com/myvas/TencentSms/actions/workflows/publish.yml)\r\n[![NuGet](https://img.shields.io/nuget/v/Myvas.AspNetCore.TencentSms.svg)](https://www.nuget.org/packages/Myvas.AspNetCore.TencentSms) \r\n\r\nAn `ISmsSender` implementation for TencentSms. (aka QcloudSms)\r\n\r\n## Demo\r\nMyvas.AspNetCore.Authentication.Demo \r\n[![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/myvas/AspNetCore.Authentication.Demo?label=github)](https://github.com/myvas/AspNetCore.Authentication.Demo)\r\n\r\n## ConfigureServices\r\n```csharp\r\nservices.AddTencentSms(options =\u003e\r\n{\r\n    options.SdkAppId = Configuration[\"TencentSms:SdkAppId\"];\r\n    options.AppKey = Configuration[\"TencentSms:AppKey\"];\r\n});\r\n```\r\n\r\n## Inject \u0026 Invoke\r\n```csharp\r\nprivate readonly ISmsSender _smsSender;\r\n\r\npublic XxxController(ISmsSender smsSender)\r\n{\r\n    _smsSender = smsSender ?? throw new ArgumentNullException(nameof(smsSender);\r\n}\r\n\r\npublic IActionResult Xxx()\r\n{\r\n    //...\r\n    var result = await _smsSender.SendSmsAsync(mobile, content);\r\n}\r\n```\r\n\r\n## API Implementation Status\r\n### Plan:\r\n- To support the TencentSms API, docs here: https://cloud.tencent.com/document/product/382\r\n\r\n### Dependencies:\r\n- https://www.nuget.org/packages/qcloud.qcloudsms_csharp\r\n\r\n### DONE:\r\n- 国内发送短信（发送一条短信）\r\n- 国内群发短信（提交群发短信）\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyvas%2FTencentSms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyvas%2FTencentSms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyvas%2FTencentSms/lists"}