Installing FastClose Server in IIS

Install of FastClose Server in Internet Information Services (IIS)

Introduction

FastClose Server is written in ASP.NET Core, currently v6.0. The instructions listed below aren’t the only way to configure FastClose in IIS, but they are the steps which we have tested. You could create a separate website with a different port number rather than using the default website, it’s completely up to you.

Installing FastClose Server under IIS is optional: the installation includes a built-in web server, so can simply run as a Windows service, and many of our customers are happy with this. Only install under IIS if you require TLS for https connections, for example.

Prerequisites

IIS and Roles

To run FastClose server inside IIS you should Install IIS Server and IIS Manager on the server.

The following roles/services are also required: WebSocket Protocol, Dynamic Content Compression, Windows Authentication:

The steps to add those roles are below:

In Server Manager, click the Manage menu, and then click Add Roles and Features.

In the Add Roles and Features wizard, click Next. Select the installation type and click Next. Select the destination server and click Next.

On the Server Roles page, expand Web Server (IIS), expand Web Server

Select or enable:

When completed, verify that IIS is installed and running by visiting http://localhost

ASP.NET Core Runtime

Then install Microsoft’s ASP.NET Core Runtime 6.0.x Windows Hosting Bundle from Download .NET 6.0.

17dd4e1c-6569-4f2d-a27d-d7094e985ef1

IIS must be installed before installing the ASP.NET Core Runtime

FastClose Server Install

Double click the FastClose Server installer. You can either install to:

a59f3022-9f1a-4058-92cd-5cd984f1b13b

Configure the App Settings

In Windows Explorer, browse to the FastClose Server install folder selected above. Edit the file appsettings.customer.json using Notepad, run as administrator. If this file does not exist, create it by copying and renaming the file appsettings.customersettings.json.

Within the file, change the setting IsHostedByIIS from false to true and save it.

{
...
"AuthenticationOptions": {
...
"IsHostedByIIS": true
}
}

IIS Configuration

Create IIS Website

Note that the Physical Path should match the install location you specified when installing FastClose Server e.g. [DriveLetter]:\inetpub\wwwroot\FastClose or [DriveLetter]:\Program Files\FastClose\FastCloseServer.

The Port can be any value you want that is available on your web server but 5101 is the convention for FastClose.

You can use https instead of http if you have a suitable certificate registered on the web server. You may need to specify a host name which matches the certificate.

Adding Windows Authentication

Although you may not use Windows Authentication it is required to be available for the Server to run.

Double-click on the Authentication in IIS Manager.

71359e72-e649-481a-8b57-dc506852a49a

You should see at least 2 options: Anonymous Authentication and Windows Authentication.

Ensure both are set to Enabled.

The following image shows the correct configuration in IIS with Windows authentication.

8d2d9ff5-7a2c-43dd-9d8e-cfc68d67b7fd

Permissions

If you installed FastClose Server anywhere other than in [DriveLetter]:inetpub\wwwroot, then you will have to set Read and Execute permissions on the folder for the IIS_IUSRS user.

Click "Edit..." and then "Add..."

cc979e72-8379-44af-9af8-bfd5bab1f3e8

Add IIS_IUSRS and ensure it has "Read & Execute" permission.

50554353-5c4a-4ddc-8767-27ca2c29d4f2

Testing

44930227-47ee-4f83-8e17-483ba507e3ff

There may be a message stating the the repository requires upgrading. If so, click the link and then click the “Upgrade Repository” button.

Once the repository is upgraded, you can log in with the Administrator user. The default password is supplied separately and we recommend changing this as soon as possible.

Completing the Install - Clients, Templates and Firewalls

As your desired port is not usually open, it will probably be necessary to open it on the server firewall.

It is also necessary to install the templates, and desktop clients on user machines.

Instructions as to how to do all of this can be found in the standard installation instructions here.