We are currently in the process of updating this sample template. If you are encountering any issues with the sample, please open an issue at github.com/twilio-labs/code-exchange/issues and we'll try to help you.
This demo application shows how to implement instant lead alerts using C# and ASP.NET MVC. Notify sales reps or agents right away when a new lead comes in for a real estate listing or other high value channel.
Implementations in other languages:
PHP | Java | Python | Ruby | Node |
---|---|---|---|---|
Done | Done | Done | Done | Done |
- .NET Framework
- A Twilio account - sign up
This application should give you a ready-made starting point for writing your own application. Before we begin, we need to collect all the config values we need to run the application:
Config Value | Description |
---|---|
Account Sid | Your primary Twilio account identifier - find this in the Console. |
Auth Token | Used to authenticate - just like the above, you'll find this here. |
Phone number | A Twilio phone number in E.164 format - you can get one here |
After the above requirements have been met:
- Clone this repository and
cd
into it
git clone git@github.com:TwilioDevEd/lead-alerts-csharp.git
cd lead-alerts-csharp
- Set your configuration variables
copy LeadAlerts.Web/Local.config.example LeadAlerts.Web/Local.config
See Twilio Account Settings to locate the necessary environment variables.
-
Build the solution
-
Run the application
-
Navigate to http://localhost:1547
That's it!
- The CodeExchange repository can be found here.
This template is open source and welcomes contributions. All contributions are subject to our Code of Conduct.
No warranty expressed or implied. Software is as is.