Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to create a pdf file in .net core. how can it be achieved in .net core?
Can we use rdlc report in .net core.

I am fresh developer.

Thanks,
Sameer

What I have tried:

Since i am new, I cannot figure out what to do.
Posted
Updated 7-Sep-22 2:22am

Maybe you can use one of these open-source-reporting-tools[^]
FastReport supports .NET Core and has a PDF plugin[^].
Also take a look at this CodeProject PDF File Writer C# Class Library[^]

Also see: GitHub - lkosson/reportviewercore: Recompilation of Microsoft.ReportViewer for .NET Core 3.1+[^]
 
Share this answer
 
v4
Comments
Sameer Farooqui 12-Sep-22 10:25am    
Thanks for sharing document. I am using PdfSharp to build pdf.

Can you please tell me how we can preview the pdf page with pdfsharp?

Thanks,
Sameer
RickZeeland 12-Sep-22 14:11pm    
Sorry, I don't have any experience with PdfSharp, only with the CodeProject PDF File Writer.
It is best to post this as a new question, probably other CP members know the answer.
Unfortunately, Microsoft have chosen not to support SQL Server Reporting Services in .NET Core.

If you already have an RDLC file, you might be able to use a third-party solution such as reportviewercore[^], as suggested in solution 1.

But if you're looking to generate a PDF file from scratch, I'd suggest using QuestPDF[^] instead.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900