Configuration

Server configuration

Http

You can edit the address on which the Web app will be running. To do so open the appsettings.json file, which can be found in your XRCenter directory.

It should look like this :

{
    "Logging": {
        "LogLevel": {
            "Default": "Warning"
        }
    },
    "AllowedHosts": "*",    
    "Kestrel": {     
        "Endpoints": {       
            "Http": {         
                "Url": "http://*:9227"
            }
        }
    }
}

You can edit the port directly in the json : "Url": "http://*:[port]"

Https

If you want to enable https, you must edit the appsettings.json file in the following way:

{
    "Logging": {
        "LogLevel": {
            "Default": "Warning"
        }
    },
    "AllowedHosts": "*",
    "Kestrel": {     
        "Endpoints": {       
            " Https ": {         
                "Url": "http://*:9227",
                "Certificate": {   
                    "Path": "<path to .pfx file>", 
                    "Password": "<certificate password>"  
                }
            }
        }
    }
}  

You can configure multiple endpoints. Do not forget to remove the Http endpoint if you want to enable Https.

First start

XRCenter works as a service, to install it, you have to execute XRCenterInstallService.bat (XRCenterUninstallService.bat to uninstall).
Once installed, it will automatically start when your computer starts up.

It is still possible to run XRCenter as an executable using XRCenterConsole.bat.

By default, XRCenter will be hosted on : http://[your PC address]:9227.
Use your internet browser to navigate to http://localhost:9227/login.html. If you see a login page, you are good to go. Otherwise, something went wrong. See the log for more details.

Firefox and Chrome are recommended, it is currently impossible to load data in XRCenter using Edge.

XR Center configuration

In order to use XRCenter, you need to set up an admin account. Visit /setup.html to begin configuring XRCenter. (If you did not edit base configuration, the link should be http://localhost:9227/setup.html).

You will have to choose an administrator username and password. Make sure to keep these at hand.

XRCenter Data Path

XRCenter will store all data within a sub folder named "XRCenterData", which can be found at the following path: %appdata%/XRCenter/XRCenterData/

License Server URL

For licensing, there are two options. You can use a local file licence, and in this case, you simply have to place your licence file in the same directory as XRCenter.exe. Or you can use a server licence. In this case, you have to enter the IP and the port of the server (Should look like 192.0.0.0@[port]) in the server license page setup when prompted by XRCenter (or access it using http://localhost:9227/license.html).

When you are done, click on Setup XRCenter. You can now click on Go To Main Page to be redirected to the DashBoard.