3 Star 4 Fork 1

徐振强/FastReport

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

How to use FastReport.Web for Core

  1. Add FastReport.Web as nuget dependency in your ASP.NET Core project:
<PackageReference Include="FastReport.Web" Version="*" />
  1. Register FastReport.Web in the Configure method of your Startup class:
public void Configure(IApplicationBuilder app, IHostingEnvironment env)
{
    ...
    app.UseFastReport();
    ...
}
  1. Create WebReport object and render it in your view file:
public IActionResult Index()
{
    var webReport = new WebReport();
    webReport.Report.Load("path/to/report.frx");

    return View(webReport);
}
@model FastReport.Web.WebReport

<div>
    @await Model.Render()
</div>

Browsers support

FastReport.Web for Core supports latest versions of Chrome, Firefox, Safari, Opera and Edge browsers.

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xu_zhen_qiang/FastReport.git
git@gitee.com:xu_zhen_qiang/FastReport.git
xu_zhen_qiang
FastReport
FastReport
master

搜索帮助