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.
#r "nuget: Digitalsmith.ReCaptcha, 1.0.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Digitalsmith.ReCaptcha as a Cake Addin
#addin nuget:?package=Digitalsmith.ReCaptcha&version=1.0.0.2

// Install Digitalsmith.ReCaptcha as a Cake Tool
#tool nuget:?package=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"/>

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0.2 4,276 3/8/2015