Novi.ElmahToSlack 1.1.0.26913

A simple extension to elmah to send error notifications to Slack after writing to SQL Server.

Install-Package Novi.ElmahToSlack -Version 1.1.0.26913
dotnet add package Novi.ElmahToSlack --version 1.1.0.26913
<PackageReference Include="Novi.ElmahToSlack" Version="1.1.0.26913" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Novi.ElmahToSlack --version 1.1.0.26913
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Novi.ElmahToSlack, 1.1.0.26913"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Novi.ElmahToSlack as a Cake Addin
#addin nuget:?package=Novi.ElmahToSlack&version=1.1.0.26913

// Install Novi.ElmahToSlack as a Cake Tool
#tool nuget:?package=Novi.ElmahToSlack&version=1.1.0.26913
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Novi.ElmahToSlack

A simple extension to elmah to send error notifications to Slack after writing to SQL Server.

What's this about?

We decided we wanted to send ourselves Slack messages whenever our friend Elmah wrote to the SQL database. This little derivative will do just that.

Configuration

Typically, your elmah configuration looks something like this:

<elmah>
    <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="DefaultConnection" />		
</elmah>

To use this version, you'll need a few more attributes on the errorLog element, and specify this assembly instead:

<elmah>
    <errorLog type="Novi.ElmahToSlack.SqlPlusSlackErrorLog, Novi.ElmahToSlack" 
    connectionStringName="YourConnectionName" 
    webHookUri="https://hooks.slack.com/services/YourWebHookEndpoint" 
    userName="The user or bot you want to post under" 
    channel="the #channel to post to" />
</elmah>

Check the Slack documentation for setting up a web hook.

Novi.ElmahToSlack

A simple extension to elmah to send error notifications to Slack after writing to SQL Server.

What's this about?

We decided we wanted to send ourselves Slack messages whenever our friend Elmah wrote to the SQL database. This little derivative will do just that.

Configuration

Typically, your elmah configuration looks something like this:

<elmah>
    <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="DefaultConnection" />		
</elmah>

To use this version, you'll need a few more attributes on the errorLog element, and specify this assembly instead:

<elmah>
    <errorLog type="Novi.ElmahToSlack.SqlPlusSlackErrorLog, Novi.ElmahToSlack" 
    connectionStringName="YourConnectionName" 
    webHookUri="https://hooks.slack.com/services/YourWebHookEndpoint" 
    userName="The user or bot you want to post under" 
    channel="the #channel to post to" />
</elmah>

Check the Slack documentation for setting up a web hook.

Release Notes

Initial release.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0.26913 6,799 12/13/2017
1.0.1.27228 2,860 1/24/2017
1.0.0.17282 2,194 1/20/2017