Digitalsmith.ReCaptcha 1.0.0.2

Encapsulates Google ReCaptcha functionality for ASP.Net MVC

Install-Package Digitalsmith.ReCaptcha -Version 1.0.0.2
dotnet add package Digitalsmith.ReCaptcha --version 1.0.0.2
<PackageReference Include="Digitalsmith.ReCaptcha" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Digitalsmith.ReCaptcha --version 1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Server-Side Validation can be done by calling await CaptchaVerification.Verify() (yes, it's asynchronous)

Client Side Validation can be included by inserting the following into your form:

       <script src="@(CaptchaVerification.ReCaptchaJavascript)" async defer></script>

       @Html.ReCaptcha()

The ReCaptcha extension method has several optional parameters to allow flexibility in rendering the ReCaptcha control.

** Configuration:
Make sure you register with Google ReCaptcha for your site and add the Secret and Site Key to your web.config using the following AppSettings:

   <add key="recaptcha:Secret" value="Secret Here"/>
   <add key="recaptcha:SiteKey" value="SiteKey Here"/>

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0.2 1,428 3/8/2015