Posts

Showing posts from March, 2021

Add Google reCAPTCHA v2 to ASP.Net Website

Image
The official document to add google reCAPTCHA v2 to the asp.net website is here:   https://developers.google.com/recaptcha/docs/display A good article to follow is here: https://www.c-sharpcorner.com/article/integration-of-google-recaptcha-in-w After registering the  reCAPTCHA keys from here: https://www.google.com/recaptcha/admin Step 1- Add following code to the aspx file to show the reCAPTCHA control:         <div class="form-item" id="divRecaptcha" runat="server">                 <div class="slickbutton clearfix" style="margin:5px auto;width:100%;text-align:center;">                     <div data-theme="light" class="g-recaptcha" data-sitekey="sample public key"></div>                 </div>            </div>            <sc...