![]() |
VOOZH | about |
dotnet add package UmbracoMongoSmsDataServices --version 13.0.0
NuGet\Install-Package UmbracoMongoSmsDataServices -Version 13.0.0
<PackageReference Include="UmbracoMongoSmsDataServices" Version="13.0.0" />
<PackageVersion Include="UmbracoMongoSmsDataServices" Version="13.0.0" />Directory.Packages.props
<PackageReference Include="UmbracoMongoSmsDataServices" />Project file
paket add UmbracoMongoSmsDataServices --version 13.0.0
#r "nuget: UmbracoMongoSmsDataServices, 13.0.0"
#:package UmbracoMongoSmsDataServices@13.0.0
#addin nuget:?package=UmbracoMongoSmsDataServices&version=13.0.0Install as a Cake Addin
#tool nuget:?package=UmbracoMongoSmsDataServices&version=13.0.0Install as a Cake Tool
The appsettings.json file should contain your settings for your Twilio account
{
"SmsDataService": {
"UseUmbracoLogsAsSmsInboxInNonProd": true,
"Twilio": {
"AccountSid": "AC863c300bf379c5b3d6365cbba1d73e15",
"AuthToken": "7203dbcbf6fe33040b7f51a8b3daf950",
"ServiceSid": "77dAbbe22d1fa8V2ed9dd9de555cd3ab50",
"RegisteredSenderPhoneNumber": "+45999999"
}
}
}
Sample code
using UmbracoMongoSmsDataServices;
IEnumerable<CountryPhoneCodeItem> CountryPhoneCodes = SmsDataService.GetAllCountryPhoneCodes.OrderBy(cpc => cpc.CountryCode);
MobileNumber mobileNumber = SmsServices.FormatedMobileNumber("45", "99945349"); // For an Danish mobile number.
SmsDataService.SmsServices.First().SendOTP(
mobileWithCountryCode: mobileNumber,
languageISOCode: "en");
SmsDataService.SmsServices.First().VerifyOTP(
mobileWithCountryCode: mobileNumber,
OTP: "848333"));
SmsDataService.SmsServices.First().SendSMS(mobileNumber, "Hello World!");
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on UmbracoMongoSmsDataServices:
| Package | Downloads |
|---|---|
|
UmbracoMongoContactNumber
This package gives Umbraco editors to have the pleasure of using a property editor that is specific to phone numbers with their respective country phone codes etc, the database storing country phone code data is in MongoDB. |
|
|
UmbracoCountryPicker
... |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 13.0.0 | 350 | 12/16/2023 |
| 12.0.1 | 409 | 7/2/2023 |
| 12.0.0 | 348 | 7/1/2023 |
| 7.0.0 | 468 | 5/13/2023 |
| 6.0.0 | 854 | 10/12/2022 |
| 5.0.1 | 1,868 | 9/25/2022 |
| 5.0.0 | 1,050 | 9/24/2022 |
| 4.0.0 | 624 | 8/15/2022 |
| 3.0.2 | 620 | 8/15/2022 |
| 3.0.1 | 778 | 7/30/2022 |
| 3.0.0 | 1,045 | 7/24/2022 |
| 2.0.1 | 613 | 7/23/2022 |
| 2.0.0 | 597 | 7/23/2022 |
| 1.0.0 | 594 | 7/23/2022 |