跳至页脚内容

如何在ASP.NET C#中在新窗口中打开PDF | IronPDF

Letting users open a generated PDF in a new tab is a small touch that makes a web app feel finished.

This video shows how to generate, serve, and display PDF documents directly from an ASP.NET application, so a document opens in a new browser tab or window instead of forcing a manual download. It covers creating the PDF dynamically from a .NET application, streaming it straight to the browser through the HTTP response, and setting things up so the file renders inline. The result is a smoother viewing experience for invoices, receipts, and reports, and the same approach fits any ASP.NET PDF workflow built with IronPDF.

相关视频

准备开始了吗?
Nuget 下载 20,296,129 | 版本: 2026.7 刚刚发布
Still Scrolling Icon

还在滚动吗?

想快速获得证据? PM > Install-Package IronPdf
运行示例看着你的HTML代码变成PDF文件。

钢铁支援团队

我们每周 5 天,每天 24 小时在线。
聊天
电子邮件
打电话给我