【问题标题】:What CAPTCHA system is compatible with ASP.NET MVC? [closed]什么 CAPTCHA 系统与 ASP.NET MVC 兼容? [关闭]
【发布时间】:2010-09-20 12:13:03
【问题描述】:

什么CAPTCHA系统兼容ASP.NET MVC?有什么好的例子吗?

【问题讨论】:

标签: asp.net-mvc captcha


【解决方案1】:

Try this post

没有耐心看文章的可以在这里找到源码:zip file

【解决方案2】:

使用 ASP.NET MVC 编写的 Stack Overflow 使用 reCAPTCHA。您可以通过 Digitizing Books One Word at a Time 了解更多关于 reCAPTCHA 的信息,甚至可以在 PDC 2008 的演讲中通过 watch Jeff Atwood talk about reCAPTCHA within Stack Overflow 了解更多信息。

【讨论】:

    【解决方案3】:

    查看RecaptchaMvc。它是一个使用 reCAPTCHA 服务和 ASP.NET MVC 的框架。

    【讨论】:

    • 您介意分享这几行代码吗?
    【解决方案4】:

    这是great tutorial on using reCaptcha in MVC,适用于当前最新版本。

    【讨论】:

    • 这是一个很好的教程。我以此为基础创建了自己的 HTML Helper。我唯一不喜欢我的解决方案是我将验证码是有效值分配给 ActionFilter 中的 ViewBag,然后在 Controller Action 中检查它。我希望它足以用 ActionFilter 属性来装饰动作。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-10-14
    • 1970-01-01
    • 1970-01-01
    • 2015-08-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多