The Captcha Provider
This article explains how to setup the server-side provider for the Telerik UI Captcha for ASP.NET Core. The provider generates and validates CAPTCHAs via helper classes and methods.
Setup
The server-side Telerik UI Captcha provider comes with the Telerik.Web.Captcha NuGet package. To install the package:
- Right-click the project and select Manage NuGet Packages...
- Make sure that the private Telerik UI NuGet feed is configured.
- Search for and install the Telerik.Web.Captcha NuGet package.
In the C# backend file or controller, add references to the following namespaces:
using System.IO;
using System.Drawing.Imaging;
using Newtonsoft.Json;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Telerik.Web.Captcha;
For more information about the usage and integration of the Captcha provider in an ASP.NET Core application, see the Validation article.