MultiSms 1.0.4

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

// Install MultiSms as a Cake Tool
#tool nuget:?package=MultiSms&version=1.0.4                

Multi Sms Provider for .NET

Publish Version MultiSms on fuget.org Download License

Multi Sms Providers for .NET is a C# package designed to simplify the process of integrating multiple SMS service providers into your .NET application. The package is easy to use and includes support for various SMS providers such as Twilio, NetGSM, İleti Merkezi, JetSms, Mutlucell, Mas GSM and SmsVitrini.

📞 Providers

Install

Install NuGet\Install-Package MultiSms package using NuGet to get started.

Usage

Sms Service

  var _smsFactory = MultiSmsServiceFactory.Instance.UseOptions(options =>
  {
      options.DefaultOrginator = "test_orginator";
      options.DefaultProvider = NetGsmProvider.Name;
  })
  .UseNetGsm("test_username", "test_password", "test_orginator")
  .Create();

  var message = MessageBody.Compose()
      .To("+905325321221")
      .WithContent("test message")
      .Build();

  var result = await _smsFactory.SendAsync(message);

Dependency Injection

builder.Services.AddMultiSms(options =>
{
    options.DefaultProvider = NetGsmProvider.Name;
    options.DefaultOrginator = "test_orginator";
})
.UseNetGsm(
    username: "test_username"
    password: "test_password",
    orginator: "test_orginator"
);
public class NetGsmController : ControllerBase
{
    private readonly ILogger<NetGsmController> _logger;
    private readonly ISmsService _smsService;

    public NetGsmController(ILogger<NetGsmController> logger, ISmsService smsService)
    {
        _logger = logger;
        _smsService = smsService;
    }

    [HttpGet]
    public async Task<SendingResult> Send(CancellationToken cancellationToken)
    {
        var message = MessageBody.Compose()
            .To("+905325321221")
            .WithContent("test message")
            .Build();

        return await _smsService.SendAsync(message, cancellationToken);
    }
}
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (7)

Showing the top 5 NuGet packages that depend on MultiSms:

Package Downloads
MultiSms.NetGsm.Provider

Multi Sms Providers for .NET is a C# package designed to simplify the process of integrating multiple SMS service providers into your .NET application. The package is easy to use and includes support for various SMS providers such as Twilio, NetGSM, İleti Merkezi, JetSms, Mutlucell, Mas GSM and SmsVitrini.

MultiSms.IletiMerkezi.Provider

Multi Sms Providers for .NET is a C# package designed to simplify the process of integrating multiple SMS service providers into your .NET application. The package is easy to use and includes support for various SMS providers such as Twilio, NetGSM, İleti Merkezi, JetSms, Mutlucell, Mas GSM and SmsVitrini.

MultiSms.Twilio.Provider

Multi Sms Providers for .NET is a C# package designed to simplify the process of integrating multiple SMS service providers into your .NET application. The package is easy to use and includes support for various SMS providers such as Twilio, NetGSM, İleti Merkezi, JetSms, Mutlucell, Mas GSM and SmsVitrini.

MultiSms.SmsVitrini.Provider

Multi Sms Providers for .NET is a C# package designed to simplify the process of integrating multiple SMS service providers into your .NET application. The package is easy to use and includes support for various SMS providers such as Twilio, NetGSM, İleti Merkezi, JetSms, Mutlucell, Mas GSM and SmsVitrini.

MultiSms.JetSms.Provider

Multi Sms Providers for .NET is a C# package designed to simplify the process of integrating multiple SMS service providers into your .NET application. The package is easy to use and includes support for various SMS providers such as Twilio, NetGSM, İleti Merkezi, JetSms, Mutlucell, Mas GSM and SmsVitrini.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.4 538 3/21/2023
1.0.3 375 3/19/2023