Click or drag to resize
Pdf Library for .NET
Deployment

To deploy a project using Select.Pdf, simply include Select.Pdf.dll along with your project. There are no additional setups or configurations needed either on your server or your client's machine.

If the html to pdf feature is used in your project, an additional file is need (Select.Html.dep). This file needs to be deployed in the same folder with Select.Pdf.dll. Alternatively, the path to Select.Html.dep can be specified using the HtmlEngineFullPath property of the GlobalProperties class. Do not forget to include the full file name (Select.Html.dep) with it.

Important note Important

Full trust is required on the deployment machine. SelectPdf.Pdf makes numerous native API calls, thus it requires full trust to run.

GAC Installation

If you plan to install Select.Pdf into GAC, the only dll that needs to be added to GAC is Select.Pdf.dll.

Important note Important

In the case of GAC installation, if the html to pdf converter is used, the full path to Select.Html.dep must always be specified in code using the HtmlEngineFullPath property of the GlobalProperties class. Do not forget to include the full file name (Select.Html.dep) with it.

Deployment to a Shared Hosting Environment

If you plan to deploy Select.Pdf to a shared hosting environment, please check with your hosting company whether they support full trust. SelectPdf.Pdf makes numerous native API calls, thus it requires full trust to run. If your hosting company cannot grant full trust to your site, you may need to consider moving your site to a dedicated or virtual server.

Deployment to Windows Azure

If you plan to deploy Select.Pdf to Windows Azure, make sure you deploy to a Cloud Service or a Virtual Machine. Due to some security restrictions, Select.Pdf does not support Windows Azure WebSite execution mode. To resolve the issue, you can either deploy your site to a Cloud Service or a Virtual Machine, or isolate the PDF related feature into a separate Web Service that runs on a different server (either on a Windows Azure Cloud Service/Virtual Machine, or a dedicated server hosted elsewhere), then call the web service from your Windows Azure WebSite.

See Also