Install ReCaptcha to Umbraco V7

I would like to install ReCaptcha to our Umbraco Version 7. But I can’t seem to find the correct approach. Basically I want to add the captcha element inside my custom form (not the Umbraco Form). Is there a way to do it? It seems the approach of adding the Recaptcha is not the same as how you add it in PHP application. How should I do this in Umbraco?

AddRazorRuntimeCompilation not working when working directory is changed

I’m using newest .Net 5 RC2. For some reason when I run debug, working directory is set to project directory, not “binDebugnet5.0-windows”. That causes some problems because I use some shared files from other projects (they are all copied into one folder on build) so it’s important for me to have working dir in $(TargetDir). I tried to achieve it with 2 ways:

How to authorize user’s role in client side of blazor wasm?

Environments Asp.Net Core 5.0 Blazor WebAssembly App (Asp.Net Core Hosting) Asp.Net Core Identity (with Identity Server 4) Problem I want to use Role-based authorization between Server side and Client side. I can login correctly and UserManager.IsInRoleAsync(user, “admin”) returns True in the Server side. But neither @attribute [Authorize(Roles = “admin”)] nor <AuthorizeView Roles=”admin”> doesn’t work in … Read more