License requirement for windows service that hosts a blazor web site with Telerik controls

0 Answers 26 Views
General Discussions Grid
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Joel asked on 13 Jan 2026, 03:16 PM

My project is a windows service that hosts a blazor web site and api.  When deployed using an MSI, Telerik says it is not licensed.  What must be done with the license file to ensure it is registered?

            int portNumber =
                builder.Configuration.GetValue<int>(
                    "Kestrel:Startup:Port");

            builder.Host.UseWindowsService();
            builder.WebHost.UseKestrel(options =>
            {
                options.Listen(IPAddress.Loopback, portNumber);
            });

Dimo
Telerik team
commented on 16 Jan 2026, 02:38 PM

Hi Joel,

Can you please provide a small and simple test app together with instructions on how to deploy and run it? I tried creating one with the help of this article, but didn't succeed.

Another thing that you can do is obtain runtime Telerik licensing diagnostic data. This may be faster and potentially sufficient:

  1. Call TelerikLicensing.EnableDiagnostics(); very early in the app life cycle, for example, in Program.cs.
  2. After the UI and the Telerik license banner shows, collect and save TelerikLicensing.Diagnostics, for example, in a file.
  3. Send us the file.

Thank you in advance!

using Telerik.Licensing;

// Call as early as possible, e.g. in Program.cs
TelerikLicensing.EnableDiagnostics();

// Get this later, e.g. in a Razor file
string telerikLicensingDiagnostics = TelerikLicensing.Diagnostics;

No answers yet. Maybe you can help?

Tags
General Discussions Grid
Asked by
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
Share this question
or