BotDetect ASP.NET CAPTCHA Deployment Packages (BotDetect v3.0; deprecated)

The paid version available for purchase are packaged, used and deployed in the same way.

BotDetect ASP.NET CAPTCHA Installation Package Contents

The BotDetect ASP.NET Captcha installation package supports .NET framework versions 2.0 or newer, and all versions of IIS since 5.0 (included with Windows 2000).

By default, the BotDetect ASP.NET Captcha installs to c:\Program Files (x86)\Lanapsoft\BotDetect 3 CAPTCHA Component\Asp.Net\.

The installation detects installed .NET framework versions and allows you to select which related BotDetect files will be installed. .NET framework version-specific files are kept in the v2.0, v3.5, v4.0, v4.5, etc. installation subfolders (refered to as <DOTNETVERSION> in further text).

The BotDetectSounds installation subfolder contains the default audio Captcha pronunciation packages.

The <DOTNETVERSION>\Config installation subfolder contains sample configuration files for global BotDetect deployment.

The <DOTNETVERSION>\WebApp installation subfolder contains BotDetect ASP.NET code samples.

The <DOTNETVERSION>\Troubleshooting installation subfolder contains files used for BotDetect built-in troubleshooting.

BotDetect ASP.NET CAPTCHA Assembly Deployment

BotDetect Captcha functionality is implemented in .NET assemblies you can simply reference in your .NET applications. It's simplest to keep a copy of the BotDetect assemblies in your application's Bin folder, and deploy them with your application.

Basic Captcha functionality and the ASP.NET WebForms Captcha control are kept in the <DOTNETVERSION>\BotDetect.dll assembly. When adding Captcha protection to ASP.NET WebForms applications, this is the only assembly you need to reference and deploy.

ASP.NET MVC Captcha classes are kept in the <DOTNETVERSION>\BotDetect.Web.UI.Mvc.dll assembly. They are kept in this separate assembly to avoid introducing ASP.NET MVC references to non-MVC applications. When adding Captcha protection to ASP.NET MVC applications, you need to reference and deploy both the base BotDetect assembly and the specialized ASP.NET MVC Captcha assembly.

While application-specific Bin-deployment is the simplest option, it is also possible to use BotDetect from the GAC and share it between all applications on the server. This option is explained in the BotDetect ASP.NET Captcha global deployment how to guide.

BotDetect SharePoint Captcha Feature Deployment

We have created the BotDetect SharePoint CAPTCHA Feature, built upon the BotDetect ASP.NET Captcha Control which prevents automated submissions of ASP.NET forms using Captcha images.

This feature comes with a functional SharePoint Captcha field that enables SharePoint administrators and power users to easily add Captcha functionality to their forms for a SharePoint list.

You might also be interested in some additional SharePoint related BotDetect Captcha downloads: a basic sample with our SharePoint Captcha Feature used in SharePoint 2013 WebPart which displays a Captcha test and checks that user input matches the displayed Captcha code. There is an equivalent sample with our SharePoint Captcha Feature used in SharePoint 2010 WebPart.

BotDetect ASP.NETCAPTCHA Audio Localizations Deployment

BotDetect supports Captcha localizations page.

Deploying these localized pronunciation files is as easy as copying the downloaded .bdsp files for the locales you want to support to the bin\BotDetectSounds subfolder of your application.

You can also use a different folder to keep .bdsp files (for example, deploy the pronunciation files once and share them between all applications running on the same server). You just have to specify the desired location in the make sure it can be read by the IIS worker process running your application.

BotDetect ASP.NET CAPTCHA Code Samples Deployment

The BotDetect ASP.NET Captcha installation package also gives you the option to install a number of Captcha ASP.NET code samples for each .NET framework version. If IIS is enabled on the development machine, the samples will automatically be deployed and will be accessible from the BotDetect Start Menu folder (Start -> Programs -> Lanapsoft -> BotDetect 3 CAPTCHA Component -> ASP.NET -> ASP.NET <DOTNETVERSION> Samples -> Run .NET <DOTNETVERSION> Samples).

The BotDetect demos allow you to experiment with BotDetect options, while the code samples contain ASP.NET Captcha sample code which might be useful when adding and configuring BotDetect Captcha protection on your ASP.NET forms.

Typically, you will only deploy the BotDetect samples on your development machines, and skip them when installing BotDetect on your servers.

Deploying BotDetect ASP.NET CAPTCHA Updates

When updating BotDetect to a newer version, you have to copy the new BotDetect assemblies to your application. Depending on which type of ASP.NET project does your application use, you might need to update project references as well. For example, Web Site projects will automatically be recompiled when you place the new assemblies in their Bin folder, while Web Application projects will require manual re-compilation and re-deployment with the new assemblies.

If you use BotDetect from the GAC or have registered any BotDetect elements (such as the BotDetect config section) using fully-qualified names, you should also update the assembly version number to reflect the changes.

New Captcha assemblies are usually in-place replacements of the old ones, as far as your application source is concerned. If there are any version-specific instructions you should be aware of, they will be listed in the BotDetect ASP.NET migration guide along with the new version release notes.


Please Note

The information on this page is out of date and applies to a deprecated version of BotDetect™ CAPTCHA (v3.0).

An up-to-date equivalent page for the latest BotDetect Captcha release (v4) is BotDetect v4 Captcha documentation index.

General information about the major improvements in the current BotDetect release can be found at the What's New in BotDetect v4.0 page.