Interacting SQL Server database via SMS in ASP.Net - c#

I am working on an B2B ASP.Net app, where I am targeting people having mobile phone. I want to know if i can use my sms gateway two way , for both sending and receiving msgs. I havent used sms gateway earlier.
I want such a gateway that i can send and process messages automatically via my app.
Thanks
Amit

Checkout Twilio
It's a great service that allows you to send/receive SMS via it's API ... see here

Related

Azure service to send SMS and Email notifications

I have mainly worked in AWS and there is AWS SNS which can send SMS and email notifications. The alternative in Azure appears to be Azure Notification Hub, which cannot do this. Apparently it only sends push notifications.
Is there a service that I could use to implement SMS and Email notifications (including email templates) in Azure?
Azure Communication Services are cloud-based services with REST APIs and client library SDKs available to help you integrate communication into your applications. You can add communication to your applications without being an expert in underlying technologies such as media encoding or telephony.
From: What is Azure Communication Services?
Azure Communication Services provides quite a few options, among which are chat, email and SMS.
There are decent articles on how you can Send an SMS message or Send an email.
EDIT:
Azure Logic Apps is a cloud platform where you can create and run automated workflows with little to no code. By using the visual designer and selecting from prebuilt operations, you can quickly build a workflow that integrates and manages your apps, data, services, and systems.
So Logic Apps is not a service to send SMS or email. Logic Apps is a low-code platform that enables you to very easily call a service that sends an SMS or an email. And one such service could be Twilio, since ...
Twilio powers personalized interactions and trusted global communications to connect you with customers.
Of course there are other providers, too, like MessageBird, Spryng, CM.com and more.
for sms/emails try Azure Communication Services: https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/sms/send?tabs=windows&pivots=platform-azcli
For email notifications only you have also different choices. You can buy "kiosk" from 365 business licence, so you can create account only for this licence in your tenant, send email from code is standard smtp approach. For templating you can use whatever you want, as you can send html message loaded for example from resx file. You can also use service nammed SendGrid from Twilio. I recomend using SendGrid, only if there are really plenty of emails.

How do I broadcast an event from a Laravel based server to .net C# based client?

I am developing a Laravel REST API based server with MySQL DB and client is in .net C#. I want to know how to broadcast event from Laravel to C# client. I know one option is to use Pusher but its free version is limited.
I want to know if we can use Redis, if yes then how to use it in C# (.net) client to get the broadcasted message/event.
You can use concept of webhooks. For example : If an activity X occurs at the server end, it will send a post request to the C# web client on a pre-specified url. Then the client can handle that post request and perform actions on it's own.
Now, if you are looking for a very quick open-source realtime event broadcasting, you can check out apache kafka or rabbitmq etc.

Send SMS from desktop application

How should I proceed? I found nothing useful googling it but some really expensive programs to connect a cell phone to the pc and use it to send the messages.
I'm willing to pay for the service and the messages will be sent to Israel and US.
I'm using C# but I'm willing to use any language.
Cheers!
The easiest way to do it is with Twilio. You can get it set up in a matter of minutes. Check out my answer Sending SMS from asp.net website for an example program of just how easy it is to send SMS with Twilio and C#.
You want to use an sms gateway that has an API. The most likely will be a REST or SOAP API that you can consume from your app.
When you need to send an SMS invoke the gateway's send method.
The gateway you choose will be influenced by which country you're in and if you need to send international sms.
As a reference we use SMS Global for AU message sending via their API, which can serve as an example of the type of thing you could expect:
http://www.smsglobal.com/en-au/technology/developers.php
Yea, for an actual sms message you will have to buy some hardware or software. A free alternative is to use sms gateways, http://en.wikipedia.org/wiki/List_of_SMS_gateways. You can send an email to 1234567890#vmoboile.ca and virgin mobile will forward that email as a text message to #1234567890. The limitation here is not every company offers this service (most major ones do) and you will have to know which company each number belongs to. Here is a list of sms gateways.
http://en.wikipedia.org/wiki/List_of_SMS_gateways
I have work on that purely through C#.
1st you need a sms modem, I live in Singapore and the vendor I got from resides in singapore too. But at home I did my own testing using my Nokia E63 handphone.
I don't have the coding at the moment, but I can tell you how to go about searching.
Using C#, I did a serial port connection (applicable too if using USB), send AT+ commands over to the modem, and the message will be sent.
To test if you phone is suitable, it can be done so using HyperTerminal. Connect your phone to the computer via the correct port and setting and send AT commands directly from there.
The best way to achieve this is to use an SMS gateway. An SMS gateway encapsulates the technicalities of interfacing with SMS carrier medium on one hand and on other hand it provides an interface for application level protocols like http, SMTP, ftp etc. to interact with it. For example, you can have a web application talking to the SMS Gateway over HTTP and the gateway on its other side will talk to the SMS centre over some proprietory protocol to send the SMS text received from the application. This way, the application need not know the low level protocols to send the SMSs.
You can lease a line to an SMS center (SMSC) if you need to send large number of bulk SMSs and configure your SMS gateway to use this lease line to send the msgs. But leasing a line is far more expensive. If you need to send small number of messages, then you can use your mobile phone in place of the leased line. Attach your mobile phone to your PC/Server and configure the Gateway to use your phone. You need to refer to your gateway documentation on interfacing your phone with the gateway. This is not very difficult but fairly simple.
There are lot of commercial gateways available in the market which can be used. But using an open source SMS gateway is a good option. You can use an open source gateway called - Kannel. Believe me, it is not very difficult to set it up and start using.

Sending SMS using free gateway

I just wanted to develop one web application which allows users to send an SMS to any mobile free of charge . I searched on the net and found many codes and articles and through those articles i came to know that for that kind of application, i required either of the
following things:
Web service (Third party web services that are free but not working or not delivering the sms)
GSM Modem ( I don't have any idea about this)
SMS Gateway ( I don't have any idea about plz suggest me a idea
An SMS gateway is basically an API (usually a webservice) which you can call to send the SMS's. If you're not going to send very high volumes I think this is the way to go.
Try something like: ZeepMobile
They seem to have a pretty good guide as to how a developer would go about using their API, which can easily be applied to most SMS APIs out there.
So who is going to pay for the SMS? If the user isn't, then either the receiver or yourself will have to - telco's don't carry SMS messages for free, and they charge each other termination fees when messages arrive on their network from another.

How can i send an SMS from .NET 1.1?

Duplicate
C# && SMS Tags
I am working in the .net framework 1.1 .. from my application i need to send a SMS to a mobile. Is it possible?
There are alot of SMS-gateway services for bulk-sms senders. All of them provide a (custom) API. Ususaly you just craft a special HTTP request. These API's can be used in any language, so .net as well.
Each carrier has its own rates, so do some price comparison. I don't know in which country you are (something Scandinavian?) so I cannot recommend anyone.
If you need to send a SMS to a phone, you'll probably need the services of a SMS gateway. However, if the volume of messages you need to send is not that high and you can foot the cost per SMS yourself, you could look at how to use your phone as a modem over USB or COM and send it the message that way.
You will need to use an HTTP API that will enable you to send sms from your application. Something like http://sms.yuboto.com/http-api

Categories