使用ASP .NET Core呈现.rdlc报告 [英] Rendering .rdlc reports with ASP .NET Core

查看:1290
本文介绍了使用ASP .NET Core呈现.rdlc报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆