Google ReCaptcha for Asp Net, simplified
In essence, it allows you to focus on your code or content - instead of on deleting spam. RadCaptcha and 90+ other controls are part of UI for ASP.NET AJAX, a comprehensive toolset taking care of the common functionality of your application, while leaving you with more time to work on its business logic.
Installation
![New New](http://3.bp.blogspot.com/-1z3o0zby_Qc/VgOl5fIWXOI/AAAAAAAAIC4/MnAaQ_Dv_oQ/s1600/OP+-+Google+Recaptcha+I+am+not+a+Robot+2.png)
Nuget Url:https://www.nuget.org/packages/ReCaptcha-AspNet
Configuration
Get your secret and public keys on https://www.google.com/recaptcha/admin
Add to you App/Web.config inside
Optional if you want to alter the default language of the Captcha (Get the language code on ReCaptcha site: https://developers.google.com/recaptcha/docs/language)Or you can use value 'Auto' and it will get the Language from System.Thread.CurrentCulture
Or via C# code:It's only needed to call it once, a good place to put this is at Application_Start() function
How to use
Client Side (v2):
Inside your form
Optional if you want to override your configured default language:
Client Side (Invisible):
Inside your form
Optional if you want to override your configured default language:
Server Side:
![Google Captcha Code In Asp.net Google Captcha Code In Asp.net](/uploads/1/2/3/7/123750556/321503224.png)
Inside your controller function or in a filter
Optional: Proxy
You may use a Proxy to send user Response to ReCaptcha Server
May throws the following exception, if the secret key is invalid, or you pass a invalid user response as the ValidateCaptcha parameter:
It can also be called async: