Nexmo Releases New Version of .NET Client Library

Published February 28, 2018 by Rabeb Othmani

Today, we are pleased to announce the release of the DotNet client library v3.0.0. In this release, we have fixed known issues and added new features to make interacting with Nexmo APIs smoother.

The Nexmo .NET client library is available via the NuGet Package Manager Console.

Hello client instancesđŸ‘‹

We wanted to give developers more control; that’s why we moved to instance-based methods, and we are deprioritising support for configuration via config files. This breaking change should solve the configuration issues developers had in the past.

Instead of using the good old ‘appsettings.json’:

Now, you can simply create a Nexmo Client instance and pass in credentials in the constructor. Sending SMS, for example, would look like this:

What’s the benefit of this? It allows you to load the configuration from wherever you want to. You’ll know the environments your app is running in, and we can’t possibly know all the possible places you want to store config. Again, we are giving you full control.

Support for more frameworks

With all the changes in the .NET world, support for new frameworks is a must. We have now added .NET Standard 2.0 and ASP.NET Core 2.0 to the list of targeted frameworks.

Help us

Whether you are one of our regular contributors or one of the users who keep giving us constructive feedback to make things better, thank you. Without you, we wouldn’t be able to release v3. So please keep giving us feedback and we will continue to implement new functionality and try to improve the experience for you.

Here’s the deal: Help us build a better library to serve the .NET community and we’ll send you swag as thanks.

Acknowledgements

The DotNet client library 3.0.0 was Rob‘s baby before Bibi joined the team. Many thanks to Rob for his amazing work.

Leave a Reply

Your email address will not be published.