Running jsreport studio together with asp net core web app



  • Hi,

    I am trying out the new .net jsreport sdk v2 and can download the reports from my web app.

    When i was running the separate jsreport studio and using the .net client, I could run the studio on side with my web-app and make changes to the report template and then test it with the real data from my web app.

    With the new sdk, Is it possible to access the jsreport studio when the web app is running??

    I cannot access it at localhost:5488 . (my web app is running at localhost:2691).



  • Hi,

    you can run the jsreport web server within the web app using this code:

    var rs = new LocalReporting()
         .UseBinary(JsReportBinary.GetBinary())
         .AsWebServer()
         .Create();
    

    Calling AsWebServer makes sure jsreport runs as full web server on port 5488.
    Some more information can be found here
    https://jsreport.net/learn/dotnet-local#locally-stored-templates

    You may also like to watch the introduction video
    https://www.youtube.com/watch?v=qqTGQgkEHow&t=3s



  • Sorry for the very late reply. Thank you, it works perfect.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.