Documentation Center

Installing 51Degrees module in Web application in 2013 SP1 and Web 8 (.NET)

Run a PowerShell script to add the 51Degreees module to the Web application.

Before you begin

Make sure you are running the PowerShell script from a machine that has access to your Content Data Store database, for example the machine that hosts the SDL Digital Experience Accelerator Web application.

Procedure

  1. Open a PowerShell command prompt in Run as administrator mode.
  2. Go to modules\51Degrees\ folder and run the following command:
    & '.\web-install.ps1' -distDestination "C:\inetpub\wwwroot\My-site\"
    ParameterDescritpion
    -distDestinationThe location of your site directory.
    -datasetPathThe file system path of the data set file for device detection.

What to do next

Once you have installed the 51Degrees module, DXA will check for the Lite data set in your environment, and download it if it is missing. This happens with the first request made to the website. As a result, the first request to the website is blocked until the Lite data set is downloaded. To avoid this, you can configure the service autostart provider to trigger the Lite data set download on the web application startup. See Enabling 51 Degree's Lite data set download on web application startup (.NET).