使用ASP .NET Core呈现.rdlc报告 [英] Rendering .rdlc reports with ASP .NET Core
问题描述
是否可以使用ASP.NET Core呈现.rdlc
报告?目前,只有当我针对.NET Framework而不是.NET Core时,这才似乎可行.
Is it possible to render .rdlc
reports with ASP.NET Core? Currently this only seems to be possible if I target the .NET Framework as opposed to .NET Core.
我不需要报告查看器,我只需要将.rdlc
报告的结果呈现为字节数组.
I don't need a report viewer I just need to render the results of an .rdlc
report as a byte array.
推荐答案
如果要使用rdlc报告创建pdf/excel/word,建议您使用AspNetCore.Reporting库.这是开源的,并且是一个nuget包.您可以将其集成到.NET Core API或.NET Core Azure函数中.您可以生成一个字节数组,将其转换为基数为64的字符串,然后将其检索到客户端.有关评论链接的更多信息.
If you want to create pdf/excel/word using rdlc report I recommend you can use AspNetCore.Reporting library. This is open source and comes as a nuget package. you can integrate this in your .NET Core API or .NET Core Azure function. You can generate a byte array convert it to base 64 string and retrieve that to your client side. More on the link in the comment.
这篇关于使用ASP .NET Core呈现.rdlc报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!