SMS and Call Integration in Asp.Net by Twilio API Services

SMS API integration by Twilio API

Twilio API is one of the best platforms for sending SMS and Automated calls through programming.

Twilio API has excellent documentation and it has a .net wrapper developed using RestSharp. Sample codes are also available.

One of our projects had a requirement to have SMS notification be sent to a customer, So we wanted to integrate SMS with Twilio API in the Microsoft Asp.net Project.

The only thing that we could not find is that our project Assembly needs to be installed in GAC (global assembly cache) and to install an assembly in GAC you must use a signed assembly.

Many tutorials on Google explain how to sign an assembly using an SN.exe tool or Visual Studio.

but out of the visual studio using the ASP.net approach is the most reliable and has worked for me always.

Note: Singing assembly using Visual Studio will only work when you own source code, or Twilio API is open source.

In the case of Twilio, API source code is available on [GitHub](https://github.com/twilio/twilio-csharp), but that doesn’t solve the problem.

You must make sure that the assembly that is referenced in the Twilio API Project is be Signed assembly.

So Now we will need a Signed RestSharp.dll Assembly.

The good news is that RestSharp is also available as open source package on [GitHub](https://github.com/restsharp/RestSharp) so all you have to do is First Create a signed assembly for RestSharp.

then reference signed assembly in the Twilio Project. and then build solutions in release mode.

that will output both signed assemblies in the Bin/release folder.

The following are ready-to-use signed assemblies:

Download Signed Twilio.Api.dll(https://res.cloudinary.com/satvasolutions-com/raw/upload/v1405571649/Twilio_Api_sccewh.zip)

Download signed RestSharp.dll(https://res.cloudinary.com/satvasolutions-com/raw/upload/v1405571649/RestSharp_jjudw4.zip)

We are at satva solutions company based in India.

We provide a total solution for API integration services for every business.

we provide cost-effective SMS and Call API integration services by Twilio.

get in touch for requirements of API integration services.

Article by

Chintan Prajapati

Chintan Prajapati is the Founder and CEO of Satva Solutions and a seasoned computer engineer with over two decades of experience in the software industry. His expertise spans Accounting & ERP Integrations, Robotic Process Automation, and the development of technology solutions built around leading ERP and accounting platforms with a particular focus on responsible AI and machine learning in fintech.Chintan holds a BE in Computer Engineering and carries an impressive roster of certifications, including Microsoft Certified Professional, Microsoft Certified Technology Specialist, Certified Azure Solution Developer, Certified Intuit Developer, Certified QuickBooks ProAdvisor, and Xero Developer.Over the course of his career, he has made a measurable impact on the accounting industry consulting on and delivering integration and automation solutions that have collectively saved thousands of man-hours. His writing aims to offer readers practical, insight-driven advice on harnessing technology to unlock greater business efficiency.When he steps away from the desk, Chintan can be found trekking through mountain trails or watching birds in the wild. Grounded in the philosophy of delivering the highest value to clients, he continues to champion innovation and excellence in digital transformation from his home base in Ahmedabad, India.