Posted by a ceTe Software moderator - Commonly asked question
Hi,
The simplest way to license an ASP.NET Core application is by calling the Document.AddLicense static method with application starts up. A good place is in the constructor for the Startup class or inside the Configure(IApplicationBuilder app, IHostingEnvironment env) method.
Startup Constructor:
public Startup(IConfiguration configuration)
{
Configuration = configuration;
ceTe.DynamicPDF.Document.AddLicense("License Key Goes Here");
}
Or Configure method:
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
ceTe.DynamicPDF.Document.AddLicense("License Key Goes Here");
// Remainder of method
}
You can retrieve your license key from our Customer Area using your serial number.
Customer Area
Thanks,
ceTe Software Support Team