Soenneker.TrustedForm.Blazor 11.0.477

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.TrustedForm.Blazor --version 11.0.477
                    
NuGet\Install-Package Soenneker.TrustedForm.Blazor -Version 11.0.477
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.TrustedForm.Blazor" Version="11.0.477" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.TrustedForm.Blazor" Version="11.0.477" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.TrustedForm.Blazor" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.TrustedForm.Blazor --version 11.0.477
                    
#r "nuget: Soenneker.TrustedForm.Blazor, 11.0.477"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.TrustedForm.Blazor@11.0.477
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.TrustedForm.Blazor&version=11.0.477
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.TrustedForm.Blazor&version=11.0.477
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.TrustedForm.Blazor

Loads ActiveProspect TrustedForm in Blazor and exposes recording, certificate URL, and finalization controls.

Installation

dotnet add package Soenneker.TrustedForm.Blazor

Registration

using Soenneker.TrustedForm.Blazor.Registrars;

builder.Services.AddTrustedFormInteropAsScoped();

Component usage

@using Soenneker.TrustedForm.Blazor
@using Soenneker.TrustedForm.Blazor.Options

<TrustedForm @ref="_trustedForm"
             Configuration="_configuration"
             OnLoad="OnTrustedFormLoaded">
    <label>
        Email
        <input name="email" type="email" />
    </label>
</TrustedForm>

@code {
    private TrustedForm? _trustedForm;

    private readonly TrustedFormConfiguration _configuration = new()
    {
        Sandbox = true,
        UseTaggedConsent = true
    };

    private async Task Submit(CancellationToken cancellationToken)
    {
        string? certificateUrl =
            await _trustedForm!.GetCertUrl(cancellationToken);

        // Submit the certificate URL with the lead data.
    }

    private Task OnTrustedFormLoaded() => Task.CompletedTask;
}

Use the exact certificate URL returned by GetCertUrl() when submitting the lead. OnLoad means the TrustedForm script initialized; it does not mean a certificate URL is already available.

Configuration

Sandbox should be enabled outside production. DisableRecording prevents automatic recording; call Start() or StartIfNotRunning() when consent has been obtained. Field overrides the generated hidden certificate-field name, and UseTaggedConsent enables TrustedForm's tagged-consent behavior.

var configuration = new TrustedFormConfiguration
{
    Debug = true,
    Sandbox = true,
    DisableRecording = true,
    UseTaggedConsent = true
};

Set IncludeForm = true only when the component should create its own form around ChildContent. Finalize() submits that internal form through a hidden button, so it requires IncludeForm; do not place another EditForm or HTML <form> inside it. When your application already owns the form, leave IncludeForm disabled and retrieve the certificate URL before normal submission.

ProblemDetails, ProblemDetailsChanged, and ProblemDetailsContent expose script-initialization failures. Avoid enabling Debug in production because browser-console output can reveal integration details.

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
11.0.525 38 11/19/2026
11.0.524 47 11/19/2026
11.0.523 43 11/19/2026
11.0.522 45 11/19/2026
11.0.521 46 11/19/2026
11.0.520 37 11/19/2026
11.0.518 47 11/18/2026
11.0.517 44 11/18/2026
11.0.516 46 11/18/2026
11.0.514 46 11/18/2026
11.0.513 52 11/17/2026
11.0.512 59 11/16/2026
11.0.511 63 11/16/2026
11.0.510 57 11/16/2026
11.0.509 57 11/15/2026
11.0.508 58 11/15/2026
11.0.507 54 11/15/2026
11.0.506 59 11/15/2026
11.0.505 57 11/15/2026
11.0.477 65 11/3/2026
Loading failed

Updated Multiple NuGet packages