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.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
1,242 questions
Developer technologies | .NET | Other
Developer technologies | Visual Studio | Other
{count} votes

Accepted answer
  1. ajkuma 28,036 Reputation points Microsoft Employee Moderator
    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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.