16

What CAPTCHA system is compatible with ASP.NET MVC? Are there any good examples out there?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
David P
  • 3,604
  • 3
  • 37
  • 54
  • NuGet **Google reCAPTCHA V2** for MVC 4 and 5 - [NuGet Package](https://www.nuget.org/packages/reCAPTCH.MVC/) - [Demo And Document](http://recaptchamvc.apphb.com/) – Sender Jun 16 '15 at 13:50

4 Answers4

14

This is a great tutorial on using reCaptcha in MVC and works with the currently newest release.

Eduardo Molteni
  • 38,786
  • 23
  • 141
  • 206
Jedidja
  • 16,610
  • 17
  • 73
  • 112
  • This was a good tutorial. I used this as the basis of creating my own HTML Helper. The only thing I don't like about my solution is that I assign the captcha is valid value to the ViewBag in the ActionFilter and then examine it in the Controller Action. I would like it to be enough to decorate the action with the ActionFilter attribute. – Umar Farooq Khawaja Sep 20 '11 at 18:31
5

Try this post

Source code can be found here if you don't have the patience to read the article: zip file

Kristian
  • 733
  • 1
  • 6
  • 11
  • Newest article and code here: http://nickberardi.com/actionfilterattribute-aspnet-mvc-captcha/ http://coderjournal.com/uploads/2008/03/mvc-preview-2-captcha1.zip – NoOne Oct 05 '15 at 19:16
5

Stack Overflow, which is written using ASP.NET MVC, uses reCAPTCHA. You can find out more about reCAPTCHA at Digitizing Books One Word at a Time and even watch Jeff Atwood talk about reCAPTCHA within Stack Overflow during his talk at PDC 2008.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Jared
  • 8,390
  • 5
  • 38
  • 43
3

Check out RecaptchaMvc. It's a framework that uses the reCAPTCHA service and ASP.NET MVC.

awilinsk
  • 2,054
  • 6
  • 31
  • 50