在iTextSharp的天青与创建PDF [英] Creating PDFs in iTextSharp with Azure

查看:146
本文介绍了在iTextSharp的天青与创建PDF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我期待使用iTextSharp的在我的MVC 3应用程序中创建PDF文件,我将使用Azure上。我想知道的是,这将创建一个问题,它的Azure支持此功能。

I am looking to use itextSharp to create PDFs in my MVC 3 application, and I will be using Azure. What I would like to know is will this create a problem and does Azure support this function.

推荐答案

您可以pretty你要多运行任何在蔚蓝所以它不会是来自未来的一个问题。要记住的最重要的事情是,你可能不希望在一个Web角色执行这样一个沉重的操作。辅助角色是这种类型的任务更适合。你可以设置在您使用的Azure队列请求PDF作业和辅助角色的系统读取队列,并运行这些作业。你不应该有这种做法有任何问题。退房的Azure工具包,让你开始: HTTP://azuretoolkit.$c$cplex.com

You can pretty much run anything you want in azure so it wont be a problem from that prospective. The biggest thing to remember is that you probably won't want to perform such a heavy operation in a web role. A worker role is much better suited for this type of task. You could setup a system where you use Azure queues to request PDF jobs and the worker role reads the queue and runs these jobs. You shouldn't have any problem with that approach. Check out the Azure Toolkit to get you started: http://azuretoolkit.codeplex.com

这篇关于在iTextSharp的天青与创建PDF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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