I used captcha in mvc 4.0 application and my reference : Asp.Net MVC CAPTCHA
but it implements base on mvc 2.0 it shows an image but in the controller I don't have any OnPreAction method I replace it with OnAuctionExcuting but there is no MethodInfo in it. how I can update code to run on mvc 3.0 or 4.0 ?
Just use Nuget to get the Recaptcha package, then follow this:
http://www.tkglaser.net/2011/10/google-recaptcha-in-aspnet-mvc-3-using.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With