/
Web Client - Installation Guide

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:

  1. Open Control Panel

  2. Go to Programs and Features

  3. Click on Turn Windows features on or off in the left side of the window

  4. 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

  1. Download the installation zip file from the Perfion Knowledge Base

  2. MAKE SURE to right-click the downloaded zip file, choose Properties, and Unblock It before extracting all files.

Unpack the installation zip file

  1. 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

  1. Open IIS Manager.

  2. Right-click on Sites in the Connections panel and select Add Website.

  3. Use the following settings:

    1. Set the Site name to PerfionWebClient

    2. Set the Physical path to where you placed the folder PerfionWebClient, it could be C:\inetpub\Perfion\PerfionWebClient

    3. Set IP address, Port, and Hostname to relevant local settings

  4. Click OK to create the website.

Add PerfionAPIService to the site

 

  1. Expand Sites and right-click PerfionWebClient and chose to Add Application.

  2. Set the Physical path to where you placed PerfionAPIService, it could be C:\inetpub\Perfion\PerfionAPIService

  3. Click OK

Add PerfionClientAPI to the site

  1. Expand Sites and right-click PerfionWebClient and chose to Add Application.

  2. Set the Physical path to where you placed PerfionClientAPI, it could be C:\inetpub\Perfion\PerfionClientAPI

  3. Click OK

The Perfion Web Client has now been installed and the result looks like this:

 

 

 

Create Cache folder for images and files

  1. Go to folder C:\inetpub\PerfionWebClient\Perfion

  2. Create a folder called Cache

  3. Right-click on Cache folder and choose Properties

  4. 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

  1. Start Windows Explorer and go to C:\inetpub\Perfion\PerfionAPIService

  2. Create a copy - in the same folder - of Web.config.example and name the copy Web.config

  3. Open Web.config with a text editor

  4. 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