BotDetect CAPTCHA ASP.NET How To Guides
This page contains an overview of all currently available BotDetect ASP.NET Captcha How To guides.
BotDetect CAPTCHA ASP.NET Integration
First Time Here?
Check the BotDetect Developer Crash Course for key integration steps.
There are several How To guides explaining BotDetect Captcha integration in different kinds of ASP.NET applications (Web Forms, MVC and SharePoint).
ASP.NET Web Forms CAPTCHA Integration
BotDetect ASP.NET Captcha protection can be added to your ASP.NET Web Forms applications using the default BotDetect:Captcha custom Web Control. When adding BotDetect Captcha protection to an ASP.NET Web Forms application:
- First, Reference the BotDetect.dll assembly.
- Then, you can add Captcha protection to selected ASP.NET forms in the application.
- Finally, configure your ASP.NET application to use BotDetect Captcha.
ASP.NET MVC CAPTCHA Integration
BotDetect ASP.NET Captcha protection can be added to your ASP.NET MVC applications using the MvcCaptcha class, a BotDetect HtmlHelper and a custom ActionFilterAttribute implemented in the BotDetect.Web.UI.Mvc.dll assembly.
- Configure your ASP.NET MVC application to use BotDetect
- Add Captcha validation to a MVC Controller action
SharePoint CAPTCHA Integration
BotDetect ASP.NET Captcha protection can be added to your SharePoint pages using the BotDetect:Captcha custom Web Control. For demonstration purposes, this How To guide shows the steps required to create a simple SharePoint Web Part displaying the Captcha test and checking that user input matches the displayed Captcha code.
- Create a SharePoint Web Part using BotDetect Captcha protection
- Configure your SharePoint Server to enable BotDetect Captcha
- Add the Web Part using BotDetect Captcha protection to a SharePoint page
- (Optional) Configure BotDetect SharePoint Captcha settings
Custom Ajax CAPTCHA Integration
After protecting your ASP.NET form with BotDetect Captch validation, you can improve the user experience by allowing asynchronous Captcha validation. That way users get faster feedback when they enter an incorrect Captcha code, without affecting the rest of the page.
- Ajax Captcha Validation Basics
- Call BotDetect Built-In Ajax Captcha Validation
- Implement the Asynchronous Captcha Validation Workflow
BotDetect CAPTCHA ASP.NET Configuration
BotDetect ASP.NET Captcha allows detailed customization of many Captcha properties, both through the custom <botDetect> configuration section and application source code.
- BotDetect Captcha configuration mechanisms
- BotDetect Captcha internationalization
- BotDetect Captcha code settings
- BotDetect Captcha image settings
- BotDetect Captcha sound settings
- BotDetect Captcha reloading settings
- BotDetect Captcha web settings
BotDetect CAPTCHA ASP.NET Deployment
The usual BotDetect ASP.NET Captcha deployment procedure involves copying the BotDetect assembly and pronunciation sound packages to the Bin folder of each ASP.NET application using BotDetect Captcha protection. If you have multiple applications using BotDetect running on the same server, there are two levels of global deployment available:
- Deploying BotDetect Captcha to the .NET Global Assembly Cache allows you to reference required BotDetect files from a central location, instead of deploying them to the
Binfolder of each individual application. - Modifying the global server configuration to include BotDetect Captcha allows you to add all required BotDetect configuration elements once per server, instead of modifying the
web.configfile of each individual application.
BotDetect CAPTCHA ASP.NET Troubleshooting
For troubleshooting purposes, BotDetect ASP.NET Captcha allows detailed logging of Captcha events and errors. The default BotDetect logging provider is based on the open source log4net project. When using BotDetect Captcha troubleshooting:
- There are several BotDetect Captcha troubleshooting files that need to be deployed with your application.
- There are additional BotDetect Captcha troubleshooting configuration changes that have to be made to your application configuration.
- You should review the general BotDetect Captcha troubleshooting guidelines to ensure you're using the troubleshooting approach that fits the problem you are trying to diagnose.
Current BotDetect Versions
- BotDetect PHP CAPTCHA v3.0.Alpha12012–02–06
- BotDetect ASP.NET CAPTCHA v3.0.92011–11–21
- BotDetect ASP Classic CAPTCHA v3.0.92011–11–21




