Collapse

Embedded reporting tools online licensing overview

To use Bold Reports® Embedded Reporting tools from version 2.x, generate an online license token and register it in your projects before you use the Bold Reports® assemblies. Syncfusion® introduced this licensing system for Bold Reports® starting with version 2.x. The license token is different from the setup unlock key, and you must generate it separately from the Bold Reports® website. The following licensing error appears if the license token is missing in your projects.

This application was built using a trial version of Bold Reports®. Please include a valid license to permanently remove this license validation message. You can also obtain a free 30 day evaluation license to temporarily remove this message during the evaluation period.

How do I generate an online license token?

You can generate Bold Reports® online license tokens from the Downloads & key/Claim License Key section of the Bold Reports® site.

Bold Reports® license tokens are version specific, so use the license token for the matching version in your projects.

How do I register the online license token?

To register the Bold Reports® online license token, call RegisterLicense with the token before any Bold Reports® control is initialized. The generated online license token is a string. Use the following code to register the license.

Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR ONLINE LICENSE TOKEN");

ASP. NET

Register the Bold Reports® online license token in the Application_Start method of Global.asax.cs/Global.asax.

To register the license quickly in an ASP.NET application, watch the following video.

void Application_Start(object sender, EventArgs e)
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR ONLINE LICENSE TOKEN");
    // Code that runs on application startup
    RouteConfig.RegisterRoutes(RouteTable.Routes);
    BundleConfig.RegisterBundles(BundleTable.Bundles);
}

ASP. NET MVC

Register the Bold Reports® online license token in the Application_Start method of Global.asax.cs.

To register the license quickly in an ASP.NET MVC application, watch the following video.

void Application_Start(object sender, EventArgs e)
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR ONLINE LICENSE TOKEN");
    // Code that runs on application startup
    RouteConfig.RegisterRoutes(RouteTable.Routes);
    BundleConfig.RegisterBundles(BundleTable.Bundles);
}

ASP. NET Core

Register the Bold Reports® online license token in the Configure method of Startup.cs.

To register the license quickly in an ASP.NET Core application, watch the following video.

public void Configure(IApplicationBuilder app, IWebHostEnvironment env, ILoggerFactory loggerFactory)
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR ONLINE LICENSE TOKEN");
    loggerFactory.AddConsole(Configuration.GetSection("Logging"));
    loggerFactory.AddDebug();
}

WPF

Register the Bold Reports® online license token in the App constructor of App.xaml.cs in C#. If the App constructor is not available in App.xaml.cs, create the App() constructor in App.xaml.cs and register the online license token inside the constructor.

To register the license quickly in a WPF application, watch the following video.

public partial class App : Application
{
    public App()
    {
        //Register Bold license
        Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR ONLINE LICENSE TOKEN");
    }
}

UWP

Register the Bold Reports® online license token in the App.xaml.cs constructor before InitializeComponent() in C#. If the App constructor is not available in App.xaml.cs, create the App() constructor in App.xaml.cs and register the online license token inside the constructor.

To register the license quickly in a UWP application, watch the following video.

public App()
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR ONLINE LICENSE TOKEN");
    this.InitializeComponent();
    this.Suspending += OnSuspending;
}

Blazor

For a Server side Blazor application, register the Bold Reports® online license token in the Configure method of Startup.cs.

To register the license quickly in a Blazor application, watch the following video.

public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
    //Register Bold license
    Bold.Licensing.BoldLicenseProvider.RegisterLicense("YOUR ONLINE LICENSE TOKEN");
    if (env.IsDevelopment())
    {
        app.UseDeveloperExceptionPage();
    }
    else
    {
        app.UseExceptionHandler("/Error");
        // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
        app.UseHsts();
    }

    app.UseHttpsRedirection();
    app.UseStaticFiles();

    app.UseRouting();

    app.UseEndpoints(endpoints =>
    {
        endpoints.MapControllers();
        endpoints.MapBlazorHub();
        endpoints.MapFallbackToPage("/_Host");
    });
}

Frequently asked questions

Are Bold Reports® online license tokens version specific?

Yes. Bold Reports® license tokens are version specific, so use the license token for the matching version in your projects.

Is the online license token the same as the setup unlock key?

No. The Bold Reports® license token is different from the setup unlock key, and you must generate it separately from the Bold Reports® website.

When should I register the Bold Reports® online license token?

Register the online license token before any Bold Reports® control is initialized, for example in the Application_Start method for ASP.NET or the Configure method of Startup.cs for ASP.NET Core.