Web Client - Installation Guide
The Perfion Web Client is a browser-based tool that enables users to manage Perfion items in a browser as an alternative to the Windows client.
This document explains how to install and configure the web client.
Prerequisites
System requirements
For details on system requirements for installing the Perfion Web Client application, please refer to System Requirements.
Enable the Internet Information Server on Windows
Before installing the Perfion Web Client, you must enable Internet Information Server (IIS) on the Windows operating system.
Please refer to the following guide on how to install https://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/.
Install Windows features for IIS
Open Windows feature by doing the following:
Open Control Panel
Go to Programs and Features
Click on Turn Windows features on or off in the left side of the window
Make sure these highlighted items are checked:
Installation
Installer
The installer installs all the necessary API’s and the web client.
It is possible to either install a new site or upgrade an existing site. When upgrading an existing site, you have the possibility to choose all your IIS sites, but it will fail if it is not a Perfion Web Client installed with this installer.
When installing a new site, you have the possibility to choose a different folder for the installation.
Installation settings
HTTPS: Enable or disable HTTPS
HTTP(S) Port: the port you want the application to run on
Certificate: Certificate for HTTPS
Hostname: Hostname you want the application to run on. Leave empty for localhost
Secure API: Enable or disable secure API
SQL Server: SQL server name (leave empty to use local data source)
Database name: Name of Perfion database (Can be chosen from a list of databases in the connection by pressing the tree dot button and opening the dropdown)
Username: Username for Perfion database connection
Password: Password for Perfion database connection
Perfion User: Admin user for Perfion
Perfion Password: Password for user
Manual installation
Follow these steps to install the Perfion Web Client manual.
Download the installation zip file
Download the installation zip file from the Perfion Knowledge Base
MAKE SURE to right-click the downloaded zip file, choose Properties, and Unblock It before extracting all files.
Unpack the installation zip file
Unpack the files from the installation .zip file. It contains three folders PerfionWebClient, PerfionAPIService, and PerfionClientAPI. Copy the folders and place them in the C:\inetpub directory(it can be advantageous to collect them in a folder called Perfion).
Create a new IIS website
Open IIS Manager.
Right-click on Sites in the Connections panel and select Add Website.
Use the following settings:
Set the Site name to PerfionWebClient
Set the Physical path to where you placed the folder PerfionWebClient, it could be C:\inetpub\Perfion\PerfionWebClient
Set IP address, Port, and Hostname to relevant local settings
Click OK to create the website.
Add PerfionAPIService to the site
Expand Sites and right-click PerfionWebClient and chose to Add Application.
Set the Physical path to where you placed PerfionAPIService, it could be C:\inetpub\Perfion\PerfionAPIService
Click OK
Add PerfionClientAPI to the site
Expand Sites and right-click PerfionWebClient and chose to Add Application.
Set the Physical path to where you placed PerfionClientAPI, it could be C:\inetpub\Perfion\PerfionClientAPI
Click OK
The Perfion Web Client has now been installed and the result looks like this:
Create Cache folder for images and files
Go to folder C:\inetpub\PerfionWebClient\Perfion
Create a folder called Cache
Right-click on Cache folder and choose Properties
Add the AppPool Group User PerfionWebClient and grant full control of the folder:
You must now proceed to configure the Perfion Web Client.
Configuration
Follow these steps to configure the Perfion Web Client.
PerfionAPIService - configure database connection
Start Windows Explorer and go to C:\inetpub\Perfion\PerfionAPIService
Create a copy - in the same folder - of Web.config.example and name the copy Web.config
Open Web.config with a text editor
Edit PerfionConn to match your Perfion database setup. Example:
<connectionStrings>
<add name="PerfionConn" connectionString="Data Source=(local);User ID=dbuser;Password=dbuser-password;Initial Catalog=perfion;PerfionUserID=admin;PerfionPassword=admin-password;PerfionLanguage=" />
</connectionStrings>
5. Save and close the file
PerfionAPIService - configure authentication (SecureAPIService)
The Perfion API supports either authenticated and unauthenticated requests. When authentication is enabled, the API executes queries in the context of the authenticated user. If authentication is disabled, the API will execute in the context of the user account specified in the ‘PerfionConn’ connection string (see above).
If authentication is enabled, and the API request does not include authentication, the API will reject the request with an error. For more information about how to authenticate, please refer to Authentication - Perfion Knowledge Base - Perfion Knowledge Base (atlassian.net).
Perfion strongly recommends that authentication is always enabled (‘SecureAPIService’ set to true)
To enable authentication, set Perfion.SecureApiService to true in the PerfionAPIService web.config file
<appSettings>
<!-- removed for brevity -->
<add key="Perfion.SecureApiService" value="true" />
<!-- removed for brevity -->
</appSettings>
PerfionClientAPI - configure database connection
6. Now go to C:\inetpub\Perfion\PerfionClientAPI
7. Create a copy - in the same folder - of Web.config.example and name the copy Web.config
8. Open Web.config with a text editor
9. Edit the