Use Google Re-CAPTCHA in Asp.net with it’s validation

In this article we teaches you the step by step process that how we can add the ReCAPTCHA provided by Google in Asp.net along with it’s Validation. As malware protection is very much needed in our webpages , So recaptcha is very much useful for this. A CAPTCHA is a program that protects websites against bots by generating and grading tests that humans can pass but current computer programs cannot.

Untitled-3 copy

Description :- The concept is simple as mentioned below. 

Step 1 : Get Public and Private Key from Google Recaptcha by Signing with your gmail account.

Step 2 : Copy the Private and Public key Somewhere in the notepad.

Step 3 : Add Google Recaptcha’s .dll file. Download it from the below link:-

Download Google Recaptcha’s .dll file

Step 4 : Add The Directive for the Google recaptcha in .aspx file.

Untitled-1 copy

Step 5 : Add the Recaptcha code where you want to place the google recaptcha.

Untitled-2 copy

Step 6 : Enter the Private and Public Key Copied in Step 2.

Step 7 : Apply validation on Recaptcha. For wrong input, display the error message.

Download Asp.net Complete Code

Watch out this video for Full tutorial:-

If you like our work, you can appreciate by leaving your comments.

 

Leave a Reply