Setting up an SMS account

The ASP.NET Core web application project templates provide a boilerplate of all the authentication mechanisms that you wanted to implement, which is provided in ASP.NET. It's a good choice to use the Web application project template and tweak based on your requirement.

AuthMessageSender is the main class that implements the interfaces, IEmailSender and ISMSSender, used to send SMS and e-mail. Specify the following code in the SendSMSAsync method that uses the Twilio API:

    string AccountSid = "AC5ef872f6da5a21de157d80997a64bd33"; 
string AuthToken = "[AuthToken]";
var twilio = new TwilioRestClient(AccountSid, AuthToken);
return Task.FromResult(0);
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.129.26.185