var client = new TwilioRestClient(ConstantKeys.AccountSid,ConstantKeys.AuthToken); // instantiate a new Twilio Rest Client
var messageCallBack = client.SendMessage(ConstantKeys.SmsEnabledTwilioNumber, mobileNumber, smsMessage);
Above code snippet is working fine on localhost but when we publish and try to use the same on live site we are getting a 500 error.We are using windows azure for hosting our website.It doesn't reach the first line of the above code on production.Can you tell me why ? Any help would be highly appreciated.
Note :I have checked the dlls on published version.It's having below dlls. Twilio.Api.dll and RestSharp.dll
Site link : The Twilio C# Helper Library