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

查看:52
本文介绍了使用 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 函数中.您可以生成一个字节数组,将其转换为 base 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天全站免登陆