Generate.Recaptcha
1.0.0
Generate the recaptcha for your form and validated it.
1-create Account in google recaptcha
2-get publickey/privatekey
3-set key in webconfig : ReCaptchaPrivateKey / ReCaptchaPublicKey
4- add "@using GenRecaptcha" in your View
5- add htmlhelper in the view:
5-1- @Html.recaptcha()
5-2- @Html.ValidationMessage("ReCaptcha")
6- add attribute in the controller to validate when submit "[recaptcha]"
7- Validate using modelstate.isvalid in the controller
Install-Package Generate.Recaptcha -Version 1.0.0
dotnet add package Generate.Recaptcha --version 1.0.0
<PackageReference Include="Generate.Recaptcha" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Generate.Recaptcha --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Release Notes
First release
Dependencies
This package has no dependencies.
Used By
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 | 1,063 | 9/21/2016 |