Installing Azure.Communication.Sms package into my asp.net app

Lino Vlacic 41 Reputation points
2021-06-20T20:02:13+00:00

Hi,

I created a Communication Service in my Azure account, and was given a telephone number to use.
Now I want to use it in my asp.net app.

I want to send text messages to cell phones from my app. I understand I need to install Azure.Communication.Sms

I cannot find this package when using NuGet from within my asp.net app. How to I install this package?

Thank you for any help.

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,356 questions
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
676 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,595 questions
{count} votes

Accepted answer
  1. ajkuma 22,241 Reputation points Microsoft Employee
    2021-07-08T04:42:24.88+00:00

    To benefit the community. Posting our offline discussion.

    The underlying issue was resolved by upgrading to .NET Framework 4.6.1.

    Cause: SMS SDK is written in C# thus it does not support Visual Basic.
    Also, sending SMS message was not supported by the phone number that was initially used.

    Resolution: Wrote SMS send function in C# and added it to Visual Basic project as a module.
    Also, a toll-free number that can send & receive SMS message. was purchased.

    Yes, ACS doesn’t support visual basic directly, so the recommend option is to just using REST APIs.
    https://learn.microsoft.com/azure/communication-services/concepts/sdk-options

    For a reference, use the API call sample.

    Kindly be assured, your feedback has been cascaded to our product engineering team.

    0 comments No comments

0 additional answers

Sort by: Most helpful