EVO HTML to PDF Converter

Install EVO PDF Server in an IIS ASP.NET Web Application

EVO PDF Client for .NET Documentation

When the HTML to PDF Server runs in an IIS ASP.NET Web Application it can be accessed through an URL.

The IIS ASP.NET Web Application can be found in 'Server\IIS\HTTP_WebApp' folder of the location where you extracted the Zip archive of the software. The folder contains the source project in 'Src' subfolder.

Installing the IIS ASP.NET Web Application

The Visual Studio Solution for IIS ASP.NET Web Application there is in 'Server\IIS\HTTP_WebApp\Src' folder.

Before publishing the service you can set in the 'Web.config' configuration file various options like a service password or the maximum number of conversions running at the same time.

To build the IIS ASP.NET Web Application from Visual Studio, open the 'EvoHtmlToPdfWebService.sln' solution in Visual Studio, right click on 'EvoHtmlToPdfWebService' project and choose 'Build' option from the contextual menu.

To install the application in IIS open the IIS Manager and right click on the website under which you want to publish the application and from contextual menu choose 'Add Application'. In the popup panel you can set the application 'Alias' and the 'Physical path' which should be the full path of the project folder 'Server\IIS\HTTP_WebApp\Src'

The application can be accessed in a browser at an URL like http://website/app_alias. You can use this URL to connect the client library to service in our demo applications and in your applications.

HTML to PDF Server Configuration Options

Before publishing the service you can set in the 'Web.config' configuration file various options like a service password or the maximum number of conversions running at the same time. The configuration options are listed below.

  • Distributed Option - This option is false by default and it can be enabled to run each conversion in a separate process. It offers more isolation between parallel conversions but it can be slower.

  • MaxConcurrentClients Option - This option has value 12 by default and it indicates how many conversions are running in parallel. If the maximum number of parallel conversions was reached the subsequent conversion are queued until an execution slot becomes available.

  • ServicePassword Option - This option is empty by default and it can be set with a password string to be verified by the service before accepting a conversion request.

  • Impersonation Options - The ImpersonationUsername, ImpersonationPassword, ImpersonationDomain and ImpersonationLogonMode options are empty by default and they can be used to run the service under a specific user account on the hosting Windows machine.

Uninstallation

You can remove the IIS ASP.NET Web Application from IIS Manager by right clicking on the application and choosing 'Remove' option from contextual menu.