Add Google reCaptcha in Asp.Net Page

Step 1:- Create a webpage

Step 2:- Download reCaptcha from given link and save it on your local system.

Step 3:- Now click on Add Reference… and select recently downloaded reCaptcha.dll file.

Step 4:- Now write down the following code where you want to add Google reCaptcha.







Step 5:-To validate the reCaptcha, write down the following code in .cs file


if (Page.IsValid)


   // Write your code here when captcha successfully validated.




    // Write your error code here when captcha not successfully validated.


Now Google reCaptcha successfully added on your aspx page.

Leave Comment