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. There are many tutorials on Google that 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 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.

Get Free Quote

 

Article by

Chintan Prajapati

Chintan Prajapati, a seasoned computer engineer with over 20 years in the software industry, is the Founder and CEO of Satva Solutions. His expertise lies in Accounting & ERP Integrations, RPA, and developing technology solutions around leading ERP and accounting software, focusing on using Responsible AI and ML in fintech solutions. Chintan holds a BE in Computer Engineering and is a Microsoft Certified Professional, Microsoft Certified Technology Specialist, Certified Azure Solution Developer, Certified Intuit Developer, and Xero Developer.Throughout his career, Chintan has significantly impacted the accounting industry by consulting and delivering integrations and automation solutions that have saved thousands of man-hours. He aims to provide readers with insightful, practical advice on leveraging technology for business efficiency.Outside of his professional work, Chintan enjoys trekking and bird-watching. Guided by the philosophy, "Deliver the highest value to clients". Chintan continues to drive innovation and excellence in digital transformation strategies from his base in Ahmedabad, India.