New to Telerik UI for ASP.NET Core? Download free 30-day trial

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:

  1. Right-click the project and select Manage NuGet Packages...
  2. Make sure that the private Telerik UI NuGet feed is configured.
  3. 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.

See Also

In this article