Creating PDFs in iTextSharp with Azure

雨燕双飞 提交于 2019-12-11 16:07:35

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/4224771/creating-pdfs-in-itextsharp-with-azure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!