保存我的ASP.NET MVC页的PDF [英] Save my ASP.NET MVC page as pdf

查看:206
本文介绍了保存我的ASP.NET MVC页的PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何拯救我的ASP.NET MVC页面PDF?

How can i save my ASP.NET MVC page as PDF?

推荐答案

据你想要的东西,是非常容易使用。看看 https://github.com/andyhutch77/MvcRazorToPdf

It you want something that's very easy to use. Take a look at https://github.com/andyhutch77/MvcRazorToPdf

试过了,在我的项目进行测试。只是阅读的文档。这是因为1那么简单,2,3:)

Tried and tested in my projects. Just read the documentation. It's as easy as 1, 2, 3. :)

如果您遇到了一些问题,去他们的GitHub页面,点击标签的问题,也许大家的一些问题已经得到解决那里。

If you encounter some issues go to their github page and click the Issues tab, maybe some of your questions are already resolved there.

P.S。

有些需要一个可执行程序运行时,您的应用程序部署到Azure,因为Azure不支持exe文件(我猜安全目的)将无法正常工作的PDF库,否则你只会创建一个webjob为exe文件。

Some of the PDF libraries that require an executable program to run will not work when your app is deployed to Azure because Azure doesn't support exe files (I guess for security purposes) else you'll create a webjob just for the exe file.

这篇关于保存我的ASP.NET MVC页的PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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