Search results
PDF

Embedded reporting tools online licensing overview

Starting with the version 2.x , Syncfusion introduced a new licensing system for the Bold Reports. You have to include the license token in your projects in order to use the Bold Reports assemblies. Note that the license token is different from the setup unlock key and that needs to be generated separately from the Bold Reports website. The below licensing error will be displayed 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 to generate Bold Reports online license token

License tokens can be generated from the Downloads section of the Bold Reports site.

Bold Reports license tokens are version specific. So, you should use the corresponding version license tokens in the projects.

How to register the Bold Reports online license token

The generated online license tokens is just a string that needs to be registered before any Bold Reports control is initiated. The following code is used to register the license.

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

ASP. NET

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

To register license quickly for ASP.NET application, you can check on this 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 online license token in Application_Start method of Global.asax.cs

To register license quickly for ASP.NET MVC application, you can check on this 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 online license token in Configure method of Startup.cs

To register license quickly for ASP. NET Core application, you can check on this 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 online license token in App constructor of App.xaml.cs in C#. If App constructor 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 license quickly for WPF application, you can check on this video:

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

UWP

Register the online license token in App.xaml.cs constructor before InitializeComponent() in C#. If App constructor 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 license quickly for UWP application, you can check on this video:

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

Blazor

For Server side application. Register the online license token in Configure method of Startup.cs

To register license quickly for Blazor application, you can check on this 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");
    });
}