/Spectaris

An experiment in IIS request instrumentation.

Primary LanguageC#MIT LicenseMIT

Spectaris

AppVeyor License

An experiment in IIS request instrumentation.

Usage

Built releases can be downloaded from the releases page.

The easiest way to use the module is to install it into the GAC, from there we can register the module with IIS to be included across all sites running. The install-module.ps1 script can be used for this purpose. For example, in PowerShell:

# Download the installer:
Invoke-WebRequest https://raw.githubusercontent.com/Silvenga/Spectaris/master/install-module.ps1 -OutFile install-module.ps1

# Download the module (in this case, version 1.0.0):
Invoke-WebRequest https://github.com/Silvenga/Spectaris/releases/download/1.0.0/Spectaris.dll -OutFile Spectaris.dll

# Install the module to instrument managed requests (an absolute path is required):
./install-module.ps1 -Assembly (Resolve-Path .\Spectaris.dll).Path -ManagedOnly

Note that all the IIS worker processes must be restarted for the module to be loaded.

Requirements

  • Tested under IIS 10.
  • Requires at least 4.6.2 to be installed.
  • Only the integrated pipeline mode is supported.