Click here to Skip to main content
15,882,113 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to implement captcha verification in angular 8 with back-end verification in dot-net core api v3.1

What I have tried:

i tried using BotDetect [https://captcha.com/asp.net-captcha.html?utm_source=nuget&utm_medium=nuget&utm_campaign=4.4.2.0] but the it supports 2.x and the implementation is not COMPLETE!
i got errors while trying to implement.

Anyone can share a working example?
Posted
Updated 31-May-20 3:26am
v3

1 solution

Have you tried working with the following block of code found on
BotDetect CAPTCHA Angular Module (TypeScript: Angular 2/4/5/6/7/8+)[^]
C#
export class YourFormWithCaptchaComponent {
// uncomment the line bellow if you use Angular 2/4/5/6/7
// @ViewChild(CaptchaComponent) captchaComponent: CaptchaComponent;

// uncomment the line bellow if you use Angular 8
//@ViewChild(CaptchaComponent, { static: true }) captchaComponent: CaptchaComponent;
 
Share this answer
 
Comments
_ProgProg_ 31-May-20 17:04pm    
Thanks a lot. I will mark this as the right answer.
Do you have a working example with google reCaptcah?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900