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);
});
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:
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;