Limiting number of calls to an ASMX Web Service

…衆ロ難τιáo~ 提交于 2019-12-04 19:06:19

ASMX web services have almost no extensibility. If you have any choice, you should use WCF.

You might be able to write a method to be called from each of your operations, that would look at the caller IP, check in a database, and throw a SoapFault if that IP has connected too much. That's about all there is, though. You might be able to do that from a SoapExtension, but you have to be very careful with those.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!