Select Tools | NuGet Package Manager | Package Manager Console in the Visual Studio main menu and execute the following command:
Install-Package Logify.Alert.Web
Modify the application's Web.config file:
<configuration>
<configSections>
...
<section name="logifyAlert" type="DevExpress.Logify.WebLogifyConfigSection, Logify.Alert.Web"/>
</configSections>
<system.webServer>
<modules>
...
<add name="Logify.Alert.Web" type="DevExpress.Logify.Web.AspExceptionHandler, Logify.Alert.Web" preCondition="managedHandler"/>
</modules>
</system.webServer>
<logifyAlert>
<apiKey value="SPECIFY_YOUR_API_KEY_HERE"/>
...
</logifyAlert>
</configuration>
Select Tools | NuGet Package Manager | Package Manager Console in the Visual Studio main menu and execute the following command:
Install-Package Logify.Alert.Web
Modify the application's Web.config file:
<configuration>
<configSections>
...
<section name="logifyAlert" type="DevExpress.Logify.WebLogifyConfigSection, Logify.Alert.Web"/>
</configSections>
<system.webServer>
<modules>
...
<add name="Logify.Alert.Web" type="DevExpress.Logify.Web.AspExceptionHandler, Logify.Alert.Web" preCondition="managedHandler"/>
</modules>
</system.webServer>
<logifyAlert>
<apiKey value="SPECIFY_YOUR_API_KEY_HERE"/>
...
</logifyAlert>
</configuration>
Add the following code to the end of the Register() method declared in the application's WebApiconfig.cs file:
public static class WebApiConfig {
public static void Register(HttpConfiguration config) {
//...
config.Filters.Add(new DevExpress.Logify.Web.WebApiExceptionHandler());
}
}