本文介绍了发送短信直通Asp.net Web应用程序:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从asp.net web应用程序发送短信?

How to send SMS from asp.net web application?

是不是需要购买任何供应商?

Is it require to buy any provider?

有没有可以发送短信的数量有限制吗?

Is there any limitation of number of SMS can be sent?

如果发送短信code写在不同的线程中,这样在任何异常情况下/延迟主线程不会受到影响?

Should sending SMS code be written in different thread so that in case of any exception/delay main thread will not be affected?

任何人都可以请提供code样品,以及它是如何工作的概念?

Can anybody please provide code sample as well as concept of how it works?

推荐答案

您将需要使用某种电话提供商来实现这一点。我个人的的忠实粉丝。他们是非常合理的价格,揭露一个,提供的的。 .NET尤其是有​​几个,包括官方的。

You will need to utilize some sort of telephony provider to achieve this. I personally am a big fan of Twilio. They are very reasonable rates and expose an API with language specific API wrappers. .NET in particular has several, including an official one.

code示例和演练,请。

Code samples and walkthroughs are available here.

对性能的影响是最小的,因为你根本构造被传递到Twilio端点的XML消息。繁重熄灭你的肩膀为传递和接收XML消息的更多的系统。

The performance impact is minimal, as you essentially construct an XML message that gets passed to a Twilio endpoint. The heavy lifting is off your shoulders as its more a system of passing and receiving XML messages.

希望帮助,这是一个非常简单的平台的工作。

Hope that helps, it is a very easy platform to work with.

这篇关于发送短信直通Asp.net Web应用程序:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 07:37