DrawingCaptcha 1.0.22
dotnet add package DrawingCaptcha --version 1.0.22
NuGet\Install-Package DrawingCaptcha -Version 1.0.22
<PackageReference Include="DrawingCaptcha" Version="1.0.22" />
<PackageVersion Include="DrawingCaptcha" Version="1.0.22" />
<PackageReference Include="DrawingCaptcha" />
paket add DrawingCaptcha --version 1.0.22
#r "nuget: DrawingCaptcha, 1.0.22"
#addin nuget:?package=DrawingCaptcha&version=1.0.22
#tool nuget:?package=DrawingCaptcha&version=1.0.22
Drawing Captcha Umbraco Integration
This is the NuGet package for .NET 8 .NET Core applications, primarily written to extend the Umbraco Forms Integration. You can find the package on NuGet.
Installation
Once the NuGet package is installed, the package source will be copied to ~/App_Plugins/Drawing_Captcha/
.
Setup
Script Integration
After installation, implement the script that triggers the drawing captcha attributes. It is recommended to place this script in the base page view to ensure it is rendered after the form:
<script src="~/App_Plugins/Drawing_Captcha/captcha.js" onload="initializeCaptcha()"></script>
Example integration in a Razor view:
@using System.Globalization
@inherits UmbracoViewPage<IBasePage>
@using Microsoft.Extensions.Configuration
@inject IConfiguration Configuration
@inject Microsoft.AspNetCore.Http.IHttpContextAccessor HttpContextAccessor
<!DOCTYPE html>
<html>
<head>
</head>
<body>
@await Html.PartialAsync("Partials/Header")
@RenderBody()
@await Html.PartialAsync("Partials/Footer")
<script src="~/App_Plugins/Drawing_Captcha/captcha.js" onload="initializeCaptcha()"></script>
</body>
</html>
Configuration
Ensure your API key and server are configured in appsettings.json
:
"Forms": {
"FieldTypes": {
"DrawingCaptcha": {
"APIKey": "yourapikey",
"Server": "https://yourdrawingcaptchainstance.com/"
}
}
}
You can obtain an API key by creating a company account if you haven't done so already. Make sure to allow the origin that will be using the drawing captcha.
API Key Management
Navigate to drawing-captcha > api-keys to create a new API key.
Create an API key:
Umbraco Backoffice Integration
After setting up the configuration, navigate to the Umbraco Forms backoffice. You should see the extended field type added by the package, indicating that the drawing captcha is active.
Here you can see that the drawing captcha is active:
Additional Resources
License
This project is licensed under the MIT License.
Contact
For issues or contributions, please visit the GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net8.0
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Umbraco.Cms (>= 13.5.2)
- Umbraco.Cms.Core (>= 13.5.2)
- Umbraco.Cms.Infrastructure (>= 13.5.2)
- Umbraco.Cms.Web.Common (>= 13.5.2)
- Umbraco.Forms (>= 13.2.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.22 | 144 | 3/31/2025 |
1.0.21 | 134 | 3/31/2025 |
1.0.20 | 143 | 3/31/2025 |
1.0.19 | 138 | 3/31/2025 |
1.0.18 | 118 | 3/28/2025 |
1.0.17 | 450 | 3/26/2025 |
1.0.17-Alpha | 466 | 3/25/2025 |
1.0.16 | 466 | 3/25/2025 |
1.0.15 | 405 | 3/24/2025 |
1.0.14 | 138 | 3/19/2025 |
1.0.13 | 139 | 3/19/2025 |
1.0.12 | 131 | 3/19/2025 |
1.0.11 | 136 | 3/19/2025 |
1.0.10 | 135 | 3/19/2025 |
1.0.9 | 137 | 3/19/2025 |
1.0.7 | 145 | 3/19/2025 |
1.0.6 | 133 | 3/19/2025 |
1.0.5 | 141 | 3/19/2025 |
1.0.4 | 136 | 3/19/2025 |
1.0.3 | 133 | 3/19/2025 |
1.0.2 | 139 | 3/19/2025 |
1.0.1 | 140 | 3/19/2025 |
1.0.0 | 133 | 3/18/2025 |