Thanks Jan_blaha :)
eshan1987
@eshan1987
Posts made by eshan1987
-
jsreport on my .net core service
Hi,
I'm using jsreport in .net core 2 web API project and I've installed nuget jsreport packages (jsreport.AspNetCore, jsreport.Binary, jsreport.Local). Also below is the my code sample and planning to host this on Azure,//Injected
services.AddJsReport(new LocalReporting().UseBinary(JsReportBinary.GetBinary()).AsUtility().Create());//In the controller
var report = await _jsReportMVCService.RenderAsync(new RenderRequest()
{
Template = new Template
{
Content = htmlStr,
Engine = Engine.None,
Recipe = Recipe.PhantomPdf,
Phantom = new Phantom() { Orientation = PhantomOrientation.Landscape }
}
});All I want to know is, what is it meant by max 5 templates? Is that something that I can only generate 5 PDF docs using this library? Please enlighten me on this I'm new to this jsreport thing.