Digitalsmith.ReCaptcha
1.0.0.2
dotnet add package Digitalsmith.ReCaptcha --version 1.0.0.2
NuGet\Install-Package Digitalsmith.ReCaptcha -Version 1.0.0.2
<PackageReference Include="Digitalsmith.ReCaptcha" Version="1.0.0.2" />
paket add Digitalsmith.ReCaptcha --version 1.0.0.2
#r "nuget: Digitalsmith.ReCaptcha, 1.0.0.2"
// 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
Encapsulates Google ReCaptcha functionality for ASP.Net MVC
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- Microsoft.AspNet.Mvc (>= 4.0.30506)
- Newtonsoft.Json (>= 6.0.0)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0.2 | 133 | 3/8/2015 |
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"/>